Reads single or multiple ROOT ntuple files
reader QinoNtpReader verbosity = info enable = true ReadFilesList = false InputFilesList = /Users/Elena/cuore/cfg/ntp.list InputFileName = /data/cuoredata/misure/cuoricino/vsmq0134 IsStabilized = false LoadInAux = false endmod
Public Member Functions | |
MQinoNtpReader (QSequence *s) | |
virtual void | Init () |
virtual QEvent * | Do (QEvent *ev) |
Doit method is called for each event, getting the event as argument. | |
virtual void | Done () |
Done method is called after event loop. | |
const QError & | JumpToEvent (unsigned int event) |
Jump to event. | |
Private Member Functions | |
int | GetNextEvNumber () |
return the number of the next event which will be passed to the Do() method. in case the next event does not exists return -1 | |
void | DontWriteTimes () |
Private Attributes | |
unsigned int | fEvents |
number of entries in fChain | |
struct ntp_t | fNtp |
structure of the input event | |
float | fStabAmp |
stabilized amplitude read in | |
TChain * | fChain |
chain of the input TTrees | |
unsigned int | fStartRunUnix |
time of the first event read | |
int | fFileUID |
unique ID of the current file in the chain | |
bool | fReadStabilizedNtuples |
true if file contains a separate branch for stabilized amp. | |
bool | fLoadInAux |
true if load data in AuxData and not in QEventData. | |
bool | fIsStabilized |
Set to true if T.D.Amp is stabilized. | |
int | fFlag |
bool | fDontWriteTimes |
unsigned int | fPartialSize |
events contained in a daq partial file | |
QDbDetector::DetectorName | fDetector |
current detector | |
Double_t | fMaxChan |
Double_t | fDuration |
Friends | |
class | MQinoCompleteDataReader |
void MQinoNtpReader::Init | ( | ) | [virtual] |
Init method is called before event loop
Implements QReader.
References QBaseModule::Debug(), QDbDetector::DN_UNKNOWN, QBaseModule::Error(), fChain, fDetector, QReader::fEventNumber, fEvents, QReader::fFileList, fFileUID, fIsStabilized, fLoadInAux, fNtp, fPartialSize, fReadStabilizedNtuples, fStabAmp, fStartRunUnix, QBaseModule::GetBool(), QBaseModule::GetInt(), QBaseModule::Info(), QReader::InitFileManager(), and QBaseModule::Panic().
const QError & MQinoNtpReader::JumpToEvent | ( | unsigned int | event | ) | [virtual] |
Jump to event.
event |
Reimplemented from QReader.
References QReader::fErr, QReader::fEventNumber, fEvents, and QError::SetDescription().