MLightRootFileReader Class Reference
[Readers]

Inheritance diagram for MLightRootFileReader:

QFileReader QReader QBaseModule

List of all members.


Detailed Description

Light and fast ROOT file reader that reads only user selected variables.

Author:
Marco Vignati LightFileReader allows the user to load a only subset of variables, gaining in speed. It should not be used in sequences with a Writer, as the output file will not have all the variables filled, but only those specified in the config of this reader. It also allows to cut data with a .gui file, note that with this reader you don't need MRootFileCut like MRootFileReader.
Note that if Lightening = false and UseCutsFile = false this reader behaves like MRootFileReader (i.e. no cut is applied).
This reader is 2.5 times slower than MQuickFileReader, but allows the user to choose auxdata and members with aliases from the config file.


Public Member Functions

 MLightRootFileReader (QSequence *s)
 constructor
 ~MLightRootFileReader ()
 destructor
void Open (const std::string &filename)
 Open file.
QEventFill (QEvent *ev)
 fill event, return NULL if file is finished
void Close ()
 Close file.

Private Member Functions

void SetBranchesCache ()
void ClearBranchesCache ()

Private Attributes

QTreefTree
 file handler
QBaseEventR * fEventR
Long64_t fEvents
bool fLightening
TEventList * fEventList
bool fUseCutsFile
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

Classes

class  Datum

The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:02 2010 for CUORE Software by  doxygen 1.5.6