Diana Software
MOverlappedWindowFilter.hh
Go to the documentation of this file.
1 #ifndef _M_NOISEFILTER_HH_
2 #define _M_NOISEFILTER_HH_
3 
34 #include "QFilter.hh"
35 #include <map>
36 
37 class MOverlappedWindowFilter : public Diana::QFilter {
38 
39  public:
41  // MOverlappedWindowFilter(QSequence* s);
42 
44  // ~MOverlappedWindowFilter();
45 
47  void GetCuts(const Diana::QEvent& ev);
48 
50  bool Filter(const Diana::QEvent& ev);
51 
52  private:
53  std::map<int, unsigned long long > fChannels;
54  int fRun;
55  std::string fPulseLabel;
56 
57 
58 
59 };
60 
61 #endif
62 
filter non overlapped events
bool Filter(const Diana::QEvent &ev)
return true if ev passes the cuts
void GetCuts(const Diana::QEvent &ev)
constructor
std::map< int, unsigned long long > fChannels