00001 #ifndef _M_AMPLITUDETRIGGER_HH_ 00002 #define _M_AMPLITUDETRIGGER_HH_ 00003 00041 #include "QFilter.hh" 00042 00043 class MAmplitudeTrigger : public QFilter { 00044 00045 public: 00047 MAmplitudeTrigger(QSequence* s); 00048 00050 ~MAmplitudeTrigger(); 00051 00053 void GetCuts(); 00054 00056 bool Filter(const QEvent* ev); 00057 00058 private: 00060 std::map<int, double> fCutoffs; 00061 00063 double fnSigmas; 00064 00066 bool fUseFile; 00067 00068 }; 00069 00070 #endif 00071