14 QError err = fRunType.Set(GetString(
"RunType",
"B"));
20 const int run = ev.
Get<
QHeader>(
"DAQ",
"Header").GetRun();
22 GlobalData().Get(
"",&
rHandle,
"");
28 if(runData.
fType == fRunType)
QRunDataHandle rHandle(753)
#define REGISTER_MODULE(clazz)
Selects events maching run type.
bool Filter(const Diana::QEvent &ev)
return true if ev passes the cuts
void GetCuts(const Diana::QEvent &ev)
Get cuts from config file.
error class with error type and description
void Get(const char *owner, ReadHandle< Q > &handle) const
Get a QObject Handle in read mode.
global handle for QRunData
RunType fSourceType
Detector name.
the Diana namespace is needed because sometimes we use Qt libraries, that use same class names of our...