Reads single or multiple ROOT data files
reader RootFileReader verbosity = debug enable = true ReadFilesList = true InputFileName = test.root InputFilesList = cfg/filelist.list endmod
# comment DATAPATH /path/to/your/data START vsmq0388.root # another comment vsmq0389.root vsmq0390.root vsmq0391.root END vsmq0392.root
Public Member Functions | |
MRootFileReader (QSequence *s) | |
virtual void | Init () |
virtual QEvent * | Do (QEvent *ev) |
Doit method is called for each event, getting the event as argument. | |
const QError & | JumpToEvent (unsigned int event) |
Jump to event. | |
virtual void | Done () |
Done method is called after event loop. | |
Private Member Functions | |
void | SetBranchesCache () |
void | ClearBranchesCache () |
Private Attributes | |
unsigned int | fEvents |
QChain * | fChain |
QBaseEventR * | fEventR |
int | fFileUID |
bool | fDeleteInput |
std::string | fCutsFile |
bool | fUseCutsFile |
TEventList * | fEventList |
std::list< Datum< int > > | fIntList |
std::list< Datum< double > > | fDoubleList |
std::list< Datum< float > > | fFloatList |
std::list< Datum< bool > > | fBoolList |
std::list< Datum< TObjString * > > | fStringList |
std::list< Datum< QObjectR * > > | fQObjectList |
std::list< Datum< TObject * > > | fTObjectList |
Friends | |
class | LRootGlobalReader |
class | MLightRootFileReader |
Classes | |
class | Datum |
void MRootFileReader::Init | ( | ) | [virtual] |
Init method is called before event loop
Implements QReader.
References QBaseModule::Debug(), QBaseModule::Error(), QReader::fEventNumber, QReader::fFileList, QBaseModule::GetBool(), QBaseModule::GetString(), QBaseModule::Info(), QReader::InitFileManager(), QBaseModule::Panic(), and QBaseModule::SeqAuxData().
const QError & MRootFileReader::JumpToEvent | ( | unsigned int | event | ) | [virtual] |
Jump to event.
event |
Reimplemented from QReader.
References QReader::fErr, QReader::fEventNumber, and QError::SetDescription().