00001 #ifndef _M_RETRIGGER_HH_ 00002 #define _M_RETRIGGER_HH_ 00003 00039 #include <vector> 00040 #include "QFilter.hh" 00041 00042 class MReTrigger : public QFilter { 00043 00044 public: 00046 MReTrigger(QSequence* s); 00047 00049 ~MReTrigger(); 00050 00052 void GetCuts(); 00053 00055 bool Filter(const QEvent* ev); 00056 00057 private: 00058 00060 Double_t fWindow; 00061 00063 int fNumChannels; 00064 00066 int fIndex; 00067 00069 int fIteration; 00070 00072 std::map<int, std::pair<int, Double_t> > fIndDelayPrev; 00073 00075 std::vector<bool> fReTrigger; 00076 00078 std::string fFlagName; 00079 00080 00081 }; 00082 00083 #endif 00084