49 #ifndef _Q_FILTER_MODULE_HH_
50 #define _Q_FILTER_MODULE_HH_
117 #undef REGISTER_MODULE
118 #define REGISTER_MODULE(clazz) REGISTER_MOD(clazz,Diana::QFilter)
#define Q_BEGIN_NAMESPACE
Visitor class of QEvent that provides full handling of QEvent.
list of references to const QEvent (s)
Base class for diana filters.
virtual void GetCuts(const QEvent &ev)=0
Initialize all cuts, possibly from config file.
LogicFlag GetLogicFlag() const
bool Process(QEventAssembler &ev, QEventList &neigh, const bool exec, QEventList &oneigh)
Process method is called for each event, and calls FilterAlgorithm()
bool fWrite
save QBool into files
virtual ~QFilter()
destructor
unsigned long long fSelNeighEvents
bool fSkipRequiredNotValid
void End()
End method is called after event loop, and calls no method of inheriting classes.
virtual void Done()
optionally one can also implement actions after the event loop
unsigned long long fSelEvents
bool FilterAlgorithm(const QEvent &ev, QEventList &neigh, const bool exec)
called for each event, and calls Filter() of inheriting classes
unsigned long long fTotEvents
void Begin(QEventAssembler &ev)
Begin method is called before event loop, and calls GetCuts()
bool fSave
store QBool result into event
unsigned long long fTotNeighEvents