Diana Software
MFilterResult.hh
Go to the documentation of this file.
1 #ifndef _M_FILTERRESULT_HH_
2 #define _M_FILTERRESULT_HH_
3 
36 #include "QFilter.hh"
37 #include "QEventLabel.hh"
38 
39 class MFilterResult : public Diana::QFilter {
40 
41  public:
42 
44  void GetCuts(const Diana::QEvent& ev);
45 
47  bool Filter(const Diana::QEvent& ev);
48 
49  private:
51  Diana::QEventLabel fFilterLabel;
52 
53  // bool fNegate;
54 
55 
56 };
57 
58 #endif
59 
Filter upon an already existing QBool in the QEvent.
void GetCuts(const Diana::QEvent &ev)
Get cuts from config file.
Definition: MFilterResult.cc:9
bool Filter(const Diana::QEvent &ev)
return true if ev passes the cuts
Diana::QEventLabel fFilterLabel
label of the QBool in QEvent