Diana Software
MRejectNotValid.hh
Go to the documentation of this file.
1 #ifndef _M_REJECTNOTVALID_HH_
2 #define _M_REJECTNOTVALID_HH_
3 
36 #include "QFilter.hh"
37 #include "QEventLabel.hh"
38 
39 class MRejectNotValid : public Diana::QFilter {
40 
41  public:
42 
44  void GetCuts(const Diana::QEvent& ev);
45 
47  bool Filter(const Diana::QEvent& ev);
48  //bool Filter(const Diana::QEvent& ev, const Diana::QEventList& neighbours);
49 
50  private:
51  Diana::QEventLabel fObjectLabel;
52 };
53 
54 #endif
55 
Reject events containing a non-valid QObject.
void GetCuts(const Diana::QEvent &ev)
Get cuts from config file.
Diana::QEventLabel fObjectLabel
bool Filter(const Diana::QEvent &ev)
return true if ev passes the cuts