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