Diana Software
MFilterValidity.hh
Go to the documentation of this file.
1 #ifndef _M_FILTERVALIDITY_HH_
2 #define _M_FILTERVALIDITY_HH_
3 
33 #include "QFilter.hh"
34 #include "QEventLabel.hh"
35 
36 class MFilterValidity : public Diana::QFilter {
37 
38  public:
39 
41  void GetCuts(const Diana::QEvent& ev);
42 
44  bool Filter(const Diana::QEvent& ev);
45  //bool Filter(const Diana::QEvent& ev, const Diana::QEventList& neighbours);
46 
47  private:
48  Diana::QEventLabel fVariableLabel;
49 
50 };
51 
52 #endif
53 
Select events by validity of a QObject.
void GetCuts(const Diana::QEvent &ev)
Get cuts from config file.
bool Filter(const Diana::QEvent &ev)
return true if ev passes the cuts
Diana::QEventLabel fVariableLabel