![]() |
Diana Software
|
TChain used in diana. More...
Public Member Functions | |
| QChain () | |
| constructor More... | |
| QChain (const char *treeName) | |
| constructor with treeName More... | |
| virtual | ~QChain () |
| destructor More... | |
| Int_t | Add (const char *filename, Long64_t nentries=kBigNumber) |
| const std::string & | GetSoftwareRevision () const |
| const std::string & | GetVersionTag () const |
| void | ResetLists () |
| TObjArray * | GetListOfAllLeaves () |
| TObjArray * | GetListOfAllBranches () |
| TList * | GetListOfAllAliases () |
| std::vector< QChain * > | GetFriends () |
Private Member Functions | |
| ClassDef (QChain, 4) | |
Private Attributes | |
| std::string | fSoftwareRevision |
| software version of first qtree More... | |
| std::string | fVersionTag |
| std::vector< QChain * > | fFriends |
| friend QChains More... | |
| TObjArray * | fAllLeaves |
| list of all leaves More... | |
| TObjArray * | fAllBranches |
| list of all branches More... | |
| TList * | fAllAliases |
| list of all aliases More... | |
TChain used in diana.
This class behaves exactly as a TChain and must be used in place of TChain in diana I/O. It handles QTrees named "qtree". It overloads the Add() method that handles file lists (.list files) and automatically create friend QChains of friend trees found in input files. Use this class also to load a single QTree from a file, so that its friend are loaded too.
| QChain::QChain | ( | ) |
constructor
Referenced by Add().
| QChain::QChain | ( | const char * | treeName | ) |
constructor with treeName
Definition at line 23 of file QChain.cc.
References fAllAliases, fAllBranches, fAllLeaves, fSoftwareRevision, and fVersionTag.
|
virtual |
| Int_t QChain::Add | ( | const char * | filename, |
| Long64_t | nentries = kBigNumber |
||
| ) |
Definition at line 50 of file QChain.cc.
References Add(), fFriends, fSoftwareRevision, fVersionTag, QBaseTree::GetSoftwareRevision(), QBaseTree::GetVersionTag(), QChain(), QFileList::Read(), and ResetLists().
Referenced by Add(), and ScanEvents().
|
private |
|
inline |
| TList * QChain::GetListOfAllAliases | ( | ) |
Definition at line 148 of file QChain.cc.
References fAllAliases, and fFriends.
Referenced by QGFileHandler::GetSetOfAliases(), and QGFileHandler::SetLowestStartTimeUnix().
| TObjArray * QChain::GetListOfAllBranches | ( | ) |
Definition at line 178 of file QChain.cc.
References fAllBranches, and fFriends.
Referenced by QRootFileReaderBase::GetBranches().
| TObjArray * QChain::GetListOfAllLeaves | ( | ) |
Definition at line 122 of file QChain.cc.
References fAllLeaves, and fFriends.
Referenced by QGFileHandler::GetSetOfLeaves(), and QGFileHandler::GetSetOfQVectorLeaves().
|
inline |
Definition at line 39 of file QChain.hh.
References fSoftwareRevision.
|
inline |
Definition at line 42 of file QChain.hh.
References fVersionTag.
| void QChain::ResetLists | ( | ) |
Definition at line 40 of file QChain.cc.
References fAllAliases, fAllBranches, and fAllLeaves.
Referenced by Add(), QRootFileReaderBase::GetBranches(), and ~QChain().
|
private |
list of all aliases
Definition at line 72 of file QChain.hh.
Referenced by GetListOfAllAliases(), QChain(), and ResetLists().
|
private |
list of all branches
Definition at line 69 of file QChain.hh.
Referenced by GetListOfAllBranches(), QChain(), and ResetLists().
|
private |
list of all leaves
Definition at line 66 of file QChain.hh.
Referenced by GetListOfAllLeaves(), QChain(), and ResetLists().
|
private |
friend QChains
Definition at line 63 of file QChain.hh.
Referenced by Add(), GetFriends(), GetListOfAllAliases(), GetListOfAllBranches(), GetListOfAllLeaves(), and ~QChain().
|
private |
software version of first qtree
Definition at line 59 of file QChain.hh.
Referenced by Add(), GetSoftwareRevision(), and QChain().
|
private |
Definition at line 60 of file QChain.hh.
Referenced by Add(), GetVersionTag(), and QChain().