Heavy ion Analysis Libriares
|
Public Member Functions | |
RootIOManager (TString name) | |
RootIOManager (InputDataInfo *info) | |
void | SetOutput (TString name) |
void | SetOutTreeName (TString name) |
Int_t | GetEntries () const |
Int_t | GetEntry (Int_t i, Int_t flag=1) |
virtual void | UpdateBranches () |
void | LockUnusedBranches () |
void | SetInChain (TChain *tempChain, Int_t ident=-1) |
void | FillTree () |
virtual void | CloseManager () |
Public Member Functions inherited from Hal::IOManager | |
IOManager (InputDataInfo *info) | |
Bool_t | Init () |
virtual void | SetField (MagField *field) |
virtual MagField * | GetField () const |
void | Register (const char *name, const char *folderName, TNamed *obj, Bool_t toFile) |
void | Register (const char *name, const char *Foldername, TCollection *obj, Bool_t toFile) |
BranchInfo::EFlag | GetBranchStatus (const char *BrName) |
virtual TObject * | GetObject (const char *BrName) |
void | ActivateBranch (TString brName) |
TString | GetSourceName () const |
std::vector< TString > | GetBranchNameList () |
void | PrintInfo () |
virtual TList * | GetBranchesList () const |
Int_t | GetNFiles () const |
std::vector< TString > | GetFilesNames (Int_t entry=0) const |
Int_t | GetFriendsLevel () const |
void | AddFile (TString name) |
void | AddFriend (TString friendName, Int_t level) |
TString | GetFirstDataFileName () const |
TString | GetFirstFriendFileName (Int_t level) const |
std::vector< TString > | GetFileNameList (Int_t level) const |
Static Public Member Functions | |
static std::vector< TString > | GetListOfBranches (TChain *chain, Bool_t friends) |
Protected Member Functions | |
void | PushTObject (TObject **obj) |
virtual void | RegisterInternal (const char *name, const char *folderName, TNamed *obj, Bool_t toFile) |
virtual void | RegisterInternal (const char *name, const char *Foldername, TCollection *obj, Bool_t toFile) |
TChain * | GetInChain () |
virtual Bool_t | InitInternal () |
Protected Member Functions inherited from Hal::IOManager | |
void | AddBranch (TString name, TObject *object, BranchInfo::EFlag flag) |
BranchInfo | FindBranch (TString name) const |
Additional Inherited Members | |
Protected Attributes inherited from Hal::IOManager | |
InputDataInfo * | fDataInfo = {nullptr} |
std::vector< Hal::BranchInfo > | fBranches |
Definition at line 26 of file RootIOManager.h.
Hal::RootIOManager::RootIOManager | ( | TString | name | ) |
name | file with data do not use this constructor |
Definition at line 35 of file RootIOManager.cxx.
Hal::RootIOManager::RootIOManager | ( | InputDataInfo * | info | ) |
|
virtual |
Definition at line 50 of file RootIOManager.cxx.
|
virtual |
close manager (close root file, write the tree with data)
Reimplemented from Hal::IOManager.
Definition at line 94 of file RootIOManager.cxx.
|
virtual |
|
virtual |
Implements Hal::IOManager.
Definition at line 48 of file RootIOManager.cxx.
|
virtual |
get entry from input root file
i | |
flag | - flag |
Implements Hal::IOManager.
Definition at line 99 of file RootIOManager.cxx.
|
inlineprotected |
Definition at line 42 of file RootIOManager.h.
|
static |
return list of branches in chain (for some reason root doesn't check the friend chains
chain | |
friends | if true return friend's branches |
Definition at line 115 of file RootIOManager.cxx.
|
protectedvirtual |
Implements Hal::IOManager.
Definition at line 39 of file RootIOManager.cxx.
|
virtual |
set to 0 status of unused branches
Reimplemented from Hal::IOManager.
Definition at line 106 of file RootIOManager.cxx.
|
protected |
add object to branches
Definition at line 104 of file RootIOManager.cxx.
|
protectedvirtual |
internal function for data registering
name | |
Foldername | |
obj | |
toFile |
Implements Hal::IOManager.
Definition at line 86 of file RootIOManager.cxx.
|
protectedvirtual |
Internal function for data registering
name | |
folderName | |
obj | |
toFile |
Implements Hal::IOManager.
Definition at line 82 of file RootIOManager.cxx.
|
virtual |
not used
tempChain | |
ident |
Implements Hal::IOManager.
Definition at line 90 of file RootIOManager.cxx.
|
inlinevirtual |
set name of the output file
name |
Reimplemented from Hal::IOManager.
Definition at line 60 of file RootIOManager.h.
|
inline |
set name of the output tree
Definition at line 64 of file RootIOManager.h.
|
virtual |