QFilter Class Reference

Inheritance diagram for QFilter:

QBaseModule MAmplitudeTrigger MApolloTrg MAvgPulseFilter MBadPulse MChannelsWithHeater MCoincidenceVeto MEarlierEventsFilter MEnergyFilter MEqualizeCalibrationStatistics MFilterByHeaterWord MFilterByReadNumber MFilterHeaterFlagByRegularTiming MFilterResult MFilterTest MGGFilter MLCNullIdFilter MLCNullIdFilter MLCPreprocessFilter MLCPreprocessFilter MMuonFilter MNoHeaterInWindow MOBComputeWeightsFilter MOverlappedWindowFilter MPulseFitFilter MRawDataFilter MRejectBadEvents MRejectBadIntervals MReTrigger MRootFileCut MSampleInfoFilter MSelectK40Photopeak MSelectPo210 MThinNoiseEvents

List of all members.


Detailed Description

Pure abstract module that every filter module should inherit from.

Author:
Marco Vignati Filter modules are designed to flag or skip (dangerous practice!) events inside a QSequence. Inheriting modules have to implement only the two pure virtual methods GetCuts(), called inside the Init(), and Filter() called inside the Do(). On the other hand inheriting modules must not implement Init(), Do() and Done().

Public Member Functions

 QFilter (const std::string &name, QSequence *s)
 constructor
virtual ~QFilter ()
 destructor

Protected Member Functions

virtual void GetCuts ()=0
 Initialize all cuts, possibly from config file.
virtual bool Filter (const QEvent *ev)=0
 return true when ev passes the cuts, false otherwise

Private Types

enum  { AND, CASE, OR }

Private Member Functions

void Begin ()
QEventProcess (QEvent *ev)
void End ()

Private Attributes

bool fSkipEvents
 if true subsequent modules in the sequence will be skipped
enum QFilter:: { ... }  fLogicFlag
unsigned long long fTotEvents
unsigned long long fSelEvents
std::string fAuxDataName

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

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