MQuickFileReader Class Reference
[Readers]

Inheritance diagram for MQuickFileReader:

QReader QBaseModule List of all members.

Detailed Description

A speedier root file reader module.

Author:
Laura Kogler
Reads a limited subset of variables from single or multiple ROOT data files. With this reader, you should NOT use normal diana filters. Instead, you should use a root cuts file or simply enter your cuts string directly in the config file. This reader currently has three modes:

If you have a module which uses only a limited subset of variables and does not write modified QEvents to an output file (only writes text or global root file), you can request a new mode for your module. Contact lkogler@berkeley.edu.


Public Member Functions

 MQuickFileReader (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 Attributes

unsigned int fEvents
QChain * fChain
QBaseEventR * fEventR
int fFileUID
bool fDeleteInput
std::string fCutsFile
bool fUseCutsFile
TEventList * fEventList
std::string fMode
int fLastRun
double * fChannel
double * fRun
double * fStabAmplitude
double * fEnergy
double * fOFAmplitude
double * fOBAmplitude
double * fBaseline
double * fStartTimeUnix
double * fNsTime
double * fBaselineRMS
double * fIsSaturatedHigh
double * fIsSaturatedLow
double * fIsSignal
double * fIsHeater
double * fHeaterWord
double * fOBAmplitudeChiSquare

Friends

class LRootGlobalReader


Member Function Documentation

void MQuickFileReader::Init (  )  [virtual]

Init method is called before event loop

Implements QReader.

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

Jump to event.

Parameters:
event 
Returns:
error

Reimplemented from QReader.


The documentation for this class was generated from the following files:
Generated on Fri Mar 6 13:40:41 2009 for CUORE Software by  doxygen 1.5.1