![]() |
Project
|
#include <MilleRecordReader.h>
Public Member Functions | |
MilleRecordReader () | |
constructor | |
virtual | ~MilleRecordReader () |
destructor | |
void | changeDataBranchName (const bool isConstraintsRec=true) |
choose data records filename | |
void | connectToChain (TChain *ch) |
connect to input TChain | |
bool | isReaderOk () const |
check if connect to input TChain went well | |
bool | isReadEntryOk () const |
check if the last operation readNextEntry() was ok | |
o2::fwdalign::MillePedeRecord * | getRecord () |
return the record | |
long | getCurrentDataID () const |
return the ID of the current record in the TTree | |
void | readNextEntry (const bool doPrint=false) |
read the next entry in the tree | |
void | readEntry (const Long_t id, const bool doPrint=false) |
read the entry # id in the tree | |
Long64_t | getNEntries () const |
return the number of entries | |
TString | getDataTreeName () const |
return the name of record data tree | |
Protected Member Functions | |
ClassDef (MilleRecordReader, 0) | |
Protected Attributes | |
TChain * | mDataTree |
TChain container that stores the records. | |
bool | mIsSuccessfulInit |
boolean to monitor the success of the initialization | |
bool | mIsConstraintsRec |
boolean to know if these are data records or constraints records | |
bool | mIsReadEntryOk |
boolean to know if the last operation readNextEntry() was ok | |
TString | mDataTreeName |
name of the record TTree/TChain | |
TString | mDataBranchName |
name of the branch where records will be stored | |
o2::fwdalign::MillePedeRecord * | mRecord |
the running record | |
Long64_t | mCurrentDataID |
counter indicating the ID of the current record in the tree | |
Long64_t | mNEntries |
number of entries in the read TChain | |
Definition at line 32 of file MilleRecordReader.h.
MilleRecordReader::MilleRecordReader | ( | ) |
constructor
Definition at line 23 of file MilleRecordReader.cxx.
|
virtual |
destructor
Definition at line 38 of file MilleRecordReader.cxx.
void MilleRecordReader::changeDataBranchName | ( | const bool | isConstraintsRec = true | ) |
choose data records filename
Definition at line 49 of file MilleRecordReader.cxx.
|
protected |
void MilleRecordReader::connectToChain | ( | TChain * | ch | ) |
connect to input TChain
Definition at line 60 of file MilleRecordReader.cxx.
|
inline |
return the ID of the current record in the TTree
Definition at line 57 of file MilleRecordReader.h.
|
inline |
return the name of record data tree
Definition at line 69 of file MilleRecordReader.h.
|
inline |
return the number of entries
Definition at line 66 of file MilleRecordReader.h.
|
inline |
return the record
Definition at line 54 of file MilleRecordReader.h.
|
inline |
check if the last operation readNextEntry() was ok
Definition at line 51 of file MilleRecordReader.h.
|
inline |
check if connect to input TChain went well
Definition at line 48 of file MilleRecordReader.h.
void MilleRecordReader::readEntry | ( | const Long_t | id, |
const bool | doPrint = false |
||
) |
read the entry # id in the tree
Definition at line 116 of file MilleRecordReader.cxx.
void MilleRecordReader::readNextEntry | ( | const bool | doPrint = false | ) |
read the next entry in the tree
Definition at line 95 of file MilleRecordReader.cxx.
|
protected |
counter indicating the ID of the current record in the tree
Definition at line 79 of file MilleRecordReader.h.
|
protected |
name of the branch where records will be stored
Definition at line 77 of file MilleRecordReader.h.
|
protected |
TChain container that stores the records.
Definition at line 72 of file MilleRecordReader.h.
|
protected |
name of the record TTree/TChain
Definition at line 76 of file MilleRecordReader.h.
|
protected |
boolean to know if these are data records or constraints records
Definition at line 74 of file MilleRecordReader.h.
|
protected |
boolean to know if the last operation readNextEntry() was ok
Definition at line 75 of file MilleRecordReader.h.
|
protected |
boolean to monitor the success of the initialization
Definition at line 73 of file MilleRecordReader.h.
|
protected |
number of entries in the read TChain
Definition at line 80 of file MilleRecordReader.h.
|
protected |
the running record
Definition at line 78 of file MilleRecordReader.h.