EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/parbase/FairParRootFileIo.h>
Public Member Functions | |
FairParRootFileIo () | |
FairParRootFileIo (Bool_t merged) | |
~FairParRootFileIo () | |
Bool_t | open (const Text_t *fname, Option_t *option="READ", const Text_t *ftitle="", Int_t compress=1) |
Bool_t | open (const TList *fnamelist, Option_t *option="READ", const Text_t *ftitle="", Int_t compress=1) |
void | close () |
void | print () |
FairParRootFile * | getParRootFile () |
void | readVersions (FairRtdbRun *) |
TList * | getKeys () |
Bool_t | check () |
void | cd () |
Bool_t | open (TFile *f) |
void | setMerging (Bool_t io) |
Public Member Functions inherited from FairParIo | |
FairParIo () | |
virtual | ~FairParIo () |
virtual FairDetParIo * | getDetParIo (const Text_t *) |
virtual void | setDetParIo (FairDetParIo *) |
virtual void | removeDetParIo (Text_t *) |
void | setInputNumber (Int_t) |
const char * | getFilename () |
virtual void | setDetParIo (Text_t *) |
void | setAutoWritable (Bool_t f=kTRUE) |
Bool_t | isAutoWritable () |
Protected Attributes | |
FairParRootFile * | file |
Bool_t | fMerging |
Protected Attributes inherited from FairParIo | |
TList * | detParIoList |
Bool_t | autoWritable |
TString | filename |
Private Member Functions | |
FairParRootFileIo (const FairParRootFileIo &) | |
FairParRootFileIo & | operator= (const FairParRootFileIo &) |
Definition at line 43 of file FairParRootFileIo.h.
View newest version in sPHENIX GitHub at line 43 of file FairParRootFileIo.h
FairParRootFileIo::FairParRootFileIo | ( | ) |
Definition at line 98 of file FairParRootFileIo.cxx.
View newest version in sPHENIX GitHub at line 98 of file FairParRootFileIo.cxx
FairParRootFileIo::FairParRootFileIo | ( | Bool_t | merged | ) |
Definition at line 110 of file FairParRootFileIo.cxx.
View newest version in sPHENIX GitHub at line 110 of file FairParRootFileIo.cxx
FairParRootFileIo::~FairParRootFileIo | ( | ) |
Definition at line 123 of file FairParRootFileIo.cxx.
View newest version in sPHENIX GitHub at line 123 of file FairParRootFileIo.cxx
References close().
|
private |
|
inlinevirtual |
Reimplemented from FairParIo.
Definition at line 66 of file FairParRootFileIo.h.
View newest version in sPHENIX GitHub at line 66 of file FairParRootFileIo.h
References FairParRootFile::cd(), and file.
|
inlinevirtual |
Reimplemented from FairParIo.
Definition at line 61 of file FairParRootFileIo.h.
View newest version in sPHENIX GitHub at line 61 of file FairParRootFileIo.h
References file, and FairParRootFile::IsOpen().
|
virtual |
Reimplemented from FairParIo.
Definition at line 240 of file FairParRootFileIo.cxx.
View newest version in sPHENIX GitHub at line 240 of file FairParRootFileIo.cxx
References FairParRootFile::Close(), FairParIo::detParIoList, and file.
Referenced by open(), and ~FairParRootFileIo().
TList * FairParRootFileIo::getKeys | ( | ) |
Definition at line 294 of file FairParRootFileIo.cxx.
View newest version in sPHENIX GitHub at line 294 of file FairParRootFileIo.cxx
References file, and FairParRootFile::GetListOfKeys().
FairParRootFile * FairParRootFileIo::getParRootFile | ( | ) |
Definition at line 275 of file FairParRootFileIo.cxx.
View newest version in sPHENIX GitHub at line 275 of file FairParRootFileIo.cxx
References file.
Bool_t FairParRootFileIo::open | ( | const Text_t * | fname, |
Option_t * | option = "READ" , |
||
const Text_t * | ftitle = "" , |
||
Int_t | compress = 1 |
||
) |
Definition at line 131 of file FairParRootFileIo.cxx.
View newest version in sPHENIX GitHub at line 131 of file FairParRootFileIo.cxx
References FairRuntimeDb::activateParIo(), close(), file, FairParIo::filename, fMerging, FairRuntimeDb::instance(), and FairParRootFile::IsOpen().
Referenced by FairAnaSelector::Init(), EicRunAna::Init(), PndGeoHandling::InitRuntimeDb(), open(), and EicRunSim::RunCoreStart().
Bool_t FairParRootFileIo::open | ( | const TList * | fnamelist, |
Option_t * | option = "READ" , |
||
const Text_t * | ftitle = "" , |
||
Int_t | compress = 1 |
||
) |
Definition at line 168 of file FairParRootFileIo.cxx.
View newest version in sPHENIX GitHub at line 168 of file FairParRootFileIo.cxx
References open().
Bool_t FairParRootFileIo::open | ( | TFile * | f | ) |
Open an existing root file for IO
Definition at line 224 of file FairParRootFileIo.cxx.
View newest version in sPHENIX GitHub at line 224 of file FairParRootFileIo.cxx
References FairRuntimeDb::activateParIo(), file, FairParIo::filename, FairRuntimeDb::instance(), and FairParRootFile::IsOpen().
|
private |
|
virtual |
Reimplemented from FairParIo.
Definition at line 255 of file FairParRootFileIo.cxx.
View newest version in sPHENIX GitHub at line 255 of file FairParRootFileIo.cxx
References FairParIo::detParIoList, and file.
|
virtual |
Reimplemented from FairParIo.
Definition at line 283 of file FairParRootFileIo.cxx.
View newest version in sPHENIX GitHub at line 283 of file FairParRootFileIo.cxx
References file, and FairParRootFile::readVersions().
|
inline |
Definition at line 74 of file FairParRootFileIo.h.
View newest version in sPHENIX GitHub at line 74 of file FairParRootFileIo.h
References fMerging.
|
protected |
Definition at line 46 of file FairParRootFileIo.h.
View newest version in sPHENIX GitHub at line 46 of file FairParRootFileIo.h
Referenced by cd(), check(), close(), getKeys(), getParRootFile(), open(), print(), and readVersions().
|
protected |
Definition at line 47 of file FairParRootFileIo.h.
View newest version in sPHENIX GitHub at line 47 of file FairParRootFileIo.h
Referenced by open(), and setMerging().