MQinoNtpReader Class Reference
[Readers]

Inheritance diagram for MQinoNtpReader:

QReader QBaseModule

List of all members.


Detailed Description

Cuoricino ntuples reader.

Author:
Elena Guardincerri
Reads single or multiple ROOT ntuple files


Public Member Functions

 MQinoNtpReader (QSequence *s)
virtual void Init ()
virtual QEventDo (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 QErrorJumpToEvent (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

Member Function Documentation

void MQinoNtpReader::Init (  )  [virtual]

const QError & MQinoNtpReader::JumpToEvent ( unsigned int  event  )  [virtual]

Jump to event.

Parameters:
event 
Returns:
error

Reimplemented from QReader.

References QReader::fErr, QReader::fEventNumber, fEvents, and QError::SetDescription().


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

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