BOSS 7.1.1
BESIII Offline Software System
|
#include <RootInterface.h>
Public Member Functions | |
RootInterface (MsgStream log) | |
virtual | ~RootInterface () |
virtual StatusCode | finalize () |
virtual bool | checkEndOfTree () |
check if all the files is over 2005-11-28 | |
virtual bool | getENDFILE () |
virtual StatusCode | addInput (const std::string &treename, const std::string &file) |
add input tree to the list | |
virtual StatusCode | addOutput (const std::string &treename, const std::string &file, int splitx, int bufsize, int compression) |
add output tree to the list | |
virtual StatusCode | createBranch (const std::string &tree, const std::string &branch, const char *classname, void *addr, int &branchnr) |
create a branch in this tree | |
virtual StatusCode | setBranchAddress (const std::string treename, const std::string branchname, void *addr, int &nb) |
set branch address | |
virtual StatusCode | getBranchEntry (int nr, int entry, int &nb) |
get entry from this branch | |
virtual StatusCode | getBranchEntry (int nr, int entry, void *addr, int &nb) |
get entry from this branch with addr | |
virtual bool | getEOF () |
get EOF flag | |
virtual Int_t | getEntries () |
get nr of entries | |
virtual StatusCode | fillTrees () |
fill in all trees | |
virtual std::string | getCurrentFileName () |
virtual std::vector< int > | getTotEvtNo () |
virtual std::string | getJobOptions () |
virtual std::string | getDecayOptions () |
virtual void | printJobInfo (TFile *file, int level) |
virtual void | setSelectFromTag (bool temp) |
virtual bool | getSelectFromTag () |
virtual int | getCurrentFileNum () |
virtual int | getTotalFileNum () |
virtual void | setTagInputFile (std::vector< std::string > input) |
virtual std::vector< std::string > | getTagInputFile () |
virtual StatusCode | f_addOutput (const std::string &treename, const std::string &file, int splitx=1, int bufsize=64000, int compression=1) |
virtual StatusCode | f_createTree (unsigned int treenr, const std::string treename) |
virtual StatusCode | f_createBranch (const std::string &treename, const std::string &branchname, const char *classname, void *addr, int &branchnr) |
virtual StatusCode | f_getTreeNr (const std::string treename, unsigned int &treenr, bool doAdd=false) |
virtual StatusCode | f_fillTrees () |
virtual StatusCode | f_finalize () |
Static Public Member Functions | |
static RootInterface * | Instance (MsgStream log) |
singleton behaviour | |
Definition at line 19 of file RootInterface.h.
RootInterface::RootInterface | ( | MsgStream | log | ) |
Definition at line 31 of file RootInterface.cxx.
Referenced by Instance().
|
virtual |
Definition at line 43 of file RootInterface.cxx.
|
virtual |
add input tree to the list
Definition at line 163 of file RootInterface.cxx.
Referenced by RootEvtSelector::initialize().
|
virtual |
add output tree to the list
Definition at line 189 of file RootInterface.cxx.
|
virtual |
check if all the files is over 2005-11-28
Definition at line 436 of file RootInterface.cxx.
Referenced by RootEvtSelector::getEntryFromTag(), and RootEvtSelector::next().
|
virtual |
create a branch in this tree
Definition at line 206 of file RootInterface.cxx.
Referenced by DigiCnv::DataObjectToTObject(), DstCnv::DataObjectToTObject(), EvtHeaderCnv::DataObjectToTObject(), EvtNavigatorCnv::DataObjectToTObject(), EvtRecCnv::DataObjectToTObject(), HltCnv::DataObjectToTObject(), McCnv::DataObjectToTObject(), RecTrackCnv::DataObjectToTObject(), and TrigCnv::DataObjectToTObject().
|
virtual |
Definition at line 636 of file RootInterface.cxx.
|
virtual |
Definition at line 683 of file RootInterface.cxx.
|
virtual |
Definition at line 655 of file RootInterface.cxx.
Referenced by f_createBranch().
|
virtual |
Definition at line 740 of file RootInterface.cxx.
|
virtual |
Definition at line 757 of file RootInterface.cxx.
|
virtual |
Definition at line 710 of file RootInterface.cxx.
Referenced by f_addOutput(), and f_createBranch().
|
virtual |
fill in all trees
Definition at line 608 of file RootInterface.cxx.
Referenced by RootCnvSvc::commitOutput().
|
virtual |
Definition at line 107 of file RootInterface.cxx.
Referenced by RootCnvSvc::finalize().
|
virtual |
get entry from this branch
Definition at line 561 of file RootInterface.cxx.
Referenced by RootEventBaseCnv::createObj().
|
virtual |
get entry from this branch with addr
Definition at line 539 of file RootInterface.cxx.
|
inlinevirtual |
Definition at line 55 of file RootInterface.h.
Referenced by RootEventBaseCnv::createObj(), MixerAlg::execute(), TagWriterAlg::execute(), RootEvtSelector::getEntryFromTag(), and RootEvtSelector::initialize().
|
inlinevirtual |
Definition at line 65 of file RootInterface.h.
Referenced by RootEvtSelector::getEntryFromTag().
|
virtual |
Definition at line 70 of file RootInterface.cxx.
Referenced by finalize().
|
inlinevirtual |
Definition at line 31 of file RootInterface.h.
Referenced by RootEventBaseCnv::createObj().
|
inlinevirtual |
get nr of entries
Definition at line 51 of file RootInterface.h.
Referenced by RootEventBaseCnv::createObj(), and RootEvtSelector::next().
|
inlinevirtual |
get EOF flag
Definition at line 49 of file RootInterface.h.
Referenced by RootEvtSelector::next().
|
virtual |
Definition at line 47 of file RootInterface.cxx.
Referenced by finalize().
|
inlinevirtual |
Definition at line 63 of file RootInterface.h.
Referenced by RootEventBaseCnv::createObj(), and RootEvtSelector::next().
|
inlinevirtual |
Definition at line 69 of file RootInterface.h.
Referenced by RootEvtSelector::getEntryFromTag().
|
inlinevirtual |
Definition at line 66 of file RootInterface.h.
Referenced by RootEvtSelector::getEntryFromTag(), and TagWriterAlg::initialize().
|
virtual |
Definition at line 89 of file RootInterface.cxx.
Referenced by finalize().
|
static |
singleton behaviour
Definition at line 25 of file RootInterface.cxx.
Referenced by MixerAlg::execute(), RootEvtSelector::initialize(), TagWriterAlg::initialize(), RootCnvSvc::RootCnvSvc(), and RootEventBaseCnv::RootEventBaseCnv().
|
virtual |
Definition at line 311 of file RootInterface.cxx.
|
virtual |
set branch address
Definition at line 496 of file RootInterface.cxx.
Referenced by RootEventBaseCnv::createObj().
|
inlinevirtual |
Definition at line 62 of file RootInterface.h.
Referenced by RootCnvSvc::initialize().
|
virtual |
Definition at line 179 of file RootInterface.cxx.
Referenced by RootCnvSvc::initialize(), and RootEvtSelector::initialize().