10 using namespace Diana;
15 fNSigma = GetDouble(
"NumberOfSigma",3,
false);
16 fSideAmplitudeOwner = GetString(
"SideAmplitudeOwner",
"SideAmplitude",
false);
27 for(
size_t i = 0; i < neighbours.
Size(); i++) {
30 if (n_amplitude>0. && n_nsigma>fNSigma) passed =
false;
#define REGISTER_MODULE(clazz)
Filter to rejct main events when at least one side pulse has SideAmplitude above a certain threshold ...
bool Filter(const Diana::QEvent &ev, const Diana::QEventList &neighbours)
return true if ev passes the cuts
void GetCuts(const Diana::QEvent &ev)
Get cuts from config file.
base types wrapped into a QObject. Currently implemented types are QInt QDouble and QFloat....
label for QObject in the QEvent
list of references to const QEvent (s)
size_t Size() const
number of QEvent (s)
void RequireByLabel(const QEventLabel &label) const
notify the QEvent that we need a QObject, if not found an exception is thrown
the Diana namespace is needed because sometimes we use Qt libraries, that use same class names of our...