Diana Software
MSampleInfoFilter.hh
Go to the documentation of this file.
1 #ifndef _M_SAMPLEINFOFILTER_HH_
2 #define _M_SAMPLEINFOFILTER_HH_
3 
30 #include "QFilter.hh"
31 
32 class MSampleInfoFilter : public Diana::QFilter {
33 
34 public:
36  void GetCuts(const Diana::QEvent& ev);
37 
39  bool Filter(const Diana::QEvent& ev);
40 
41 private:
42  std::string fType;
43 
45  bool fKeepType;
46 
49 
50 
51 };
52 
53 #endif
54 
discards events with secondary triggers different to a specified type.
bool Filter(const Diana::QEvent &ev)
return true if ev passes the cuts
bool fKeepType
If True it keeps only trigger of certain type, if false removes all trigger of that type.
double fTimeThreshold
Time threshold within which a pulser flag and the corresponding trigger are considered as one.
void GetCuts(const Diana::QEvent &ev)
Get cuts from config file.