Diana Software
MFilterWithNeighboursResult.hh
Go to the documentation of this file.
1 #ifndef _M_FILTERRESULTWITHNEIGH_HH_
2 #define _M_FILTERRESULTWITHNEIGH_HH_
3 
36 #include "QFilter.hh"
37 #include "QEventLabel.hh"
38 
39 class MFilterWithNeighboursResult : public Diana::QFilter {
40 
41  public:
42 
44  void GetCuts(const Diana::QEvent& ev);
45 
47  bool Filter(const Diana::QEvent& ev, const Diana::QEventList& neigh);
48 
49 
50  private:
52  Diana::QEventLabel fBoolLabel;
54  enum Mode {
57  };
60 
61 
62 };
63 
64 #endif
65 
Filter a main QEvent using a QBool variable in neighbours.
Diana::QEventLabel fBoolLabel
label of the QBool in QEvent
bool Filter(const Diana::QEvent &ev, const Diana::QEventList &neigh)
return true if ev passes the cuts
void GetCuts(const Diana::QEvent &ev)
Get cuts from config file.