Diana Software
MBaselineFilter.hh
Go to the documentation of this file.
1 #ifndef _M_BASELINEFILTER_HH_
2 #define _M_BASELINEFILTER_HH_
3 
41 #include "QFilter.hh"
42 #include <set>
43 #include <string>
44 #include "QEventLabel.hh"
45 #include "TString.h"
46 
47 class MBaselineFilter : public Diana::QFilter {
48 
49  public:
51  void GetCuts(const Diana::QEvent& ev);
52 
54  bool Filter(const Diana::QEvent& ev);
55 
56  private:
57 
59  Double_t fMinValue;
60 
62  Double_t fMaxValue;
63 
65 
66  bool fIsWarned;
67 };
68 
69 #endif
Module to filter baseline withing a range [min, max], inclusive.
Double_t 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_t 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.