MRejectBadEvents.hh
Go to the documentation of this file.00001 #ifndef _M_REJECTBADEVENTS_HH_
00002 #define _M_REJECTBADEVENTS_HH_
00003
00032 #include "QFilter.hh"
00033 #include "QDbCorc.hh"
00034
00035 class MRejectBadEvents : public QFilter {
00036
00037 public:
00039 MRejectBadEvents(QSequence* s);
00040
00042 ~MRejectBadEvents();
00043
00045 void GetCuts();
00046
00048 bool Filter(const QEvent* ev);
00049
00050 private:
00051 std::map<int, std::vector<QDbCorc::TimeInterval> > fChannelBadIntervals;
00052 int fOldRun;
00053 };
00054
00055 #endif
00056