1 #ifndef _M_TWOVARIABLESENERGYFILTER_HH_
2 #define _M_TWOVARIABLESENERGYFILTER_HH_
66 void GetCuts(
const Diana::QEvent& ev);
69 bool Filter(
const Diana::QEvent& ev);
energy threshold cut and flat ChiSquare cut (on a finite range) depending on the channel
std::string fEnergyRangesInput
Input for energy ranges (file or DB, for the moment only file works)
std::string fChiSquareRangesInput
double fEnergyMax
cfg defined maximum values, to be applied to channels for which no energy range is defined
std::string fChiSquareRangesName
std::set< int > fChannelList
Diana::QEventLabel fChiSquareLabel
std::set< int > fBlackList
Diana::QInterval fChiSquareRange
Diana::QInterval fEnergyRange
Diana::QEventLabel fEnergyLabel
std::string fEnergyRangesName
int fDataset
Dataset number.
bool Filter(const Diana::QEvent &ev)
return true if ev passes the cuts
double fChiSquareCutMaxEnergy
cfg defined maximum value to apply the ChiSquare cut
void GetCuts(const Diana::QEvent &ev)
Get cuts from config file.
double fEnergyMin
cfg defined minimum values, to be applied to channels for which no energy range is defined
std::set< int > fMissingChannels
Set of channels missing from ranges file.
global handle for EnergyRanges