Diana Software
MFilterResultAND.hh
Go to the documentation of this file.
1 #ifndef _M_FILTERRESULTAND_HH_
2 #define _M_FILTERRESULTAND_HH_
3 
45 #include "QFilter.hh"
46 #include "QEventLabel.hh"
47 #include "QVector.hh"
48 #include <vector>
49 
50 
51 class MFilterResultAND : public Diana::QFilter {
52 
53  public:
54 
55  // Get cuts from config file
56  void GetCuts(const Diana::QEvent& ev);
57 
58  // Return true if ev passes the cuts
59  bool Filter(const Diana::QEvent& ev);
60 
61  private:
62  // Labels of the QBool in QEvent
63  Diana::QEventLabel fFilterLabel;
64  std::vector<std::string> fFilterLabels; // Collection of Filter labels
65 
66  //bool fNegate;
67 
68 };
69 
70 #endif
71 
std::vector< std::string > fFilterLabels
bool Filter(const Diana::QEvent &ev)
Diana::QEventLabel fFilterLabel
void GetCuts(const Diana::QEvent &ev)