1 #ifndef _M_FILTERININTERVALI_HH_
2 #define _M_FILTERININTERVALI_HH_
48 void GetCuts(
const Diana::QEvent& ev);
51 bool Filter(
const Diana::QEvent& ev);
Generic module to filter an int variable withing a range [min, max], inclusive.
bool Filter(const Diana::QEvent &ev)
return true if ev passes the cuts
void GetCuts(const Diana::QEvent &ev)
Get cuts from config file.
bool fError
Whether there is an error (if there is an error, nothing will be filtered)
int fMinValue
Minimum value for the variable (if not provided no lower limit is applied)
int fMaxValue
Maximum value for the variable (if not provided no upper limit is applied)
Diana::QEventLabel fVariableLabel
Label identifying the variable to be filtered.