MAvgPulseFilter.hh
Go to the documentation of this file.00001 #ifndef _M_BADPULSE_HH_
00002 #define _M_BADPULSE_HH_
00003
00080 #include "QFilter.hh"
00081 #include "QMatrix.hh"
00082
00083 class MAvgPulseFilter : public QFilter {
00084
00085 public:
00087 MAvgPulseFilter(QSequence* s);
00088
00090 ~MAvgPulseFilter();
00091
00093 void GetCuts();
00094
00096 bool Filter(const QEvent* ev);
00097
00098 private:
00099 std::string fCutsFilename;
00100 bool fCutOnPeaks;
00101 int fnPeaks;
00102 bool fCutOnAmplitude;
00103 double fAmplitudeMin;
00104 double fAmplitudeMax;
00105 bool fCutOnBaselineSlope;
00106 bool fCutOnRiseTime;
00107 bool fCutOnDecayTime;
00108
00109 QMatrix *mcuts;
00110 };
00111
00112 #endif
00113