00001 00006 #ifndef CHECKNPULSES_h 00007 #define CHECKNPULSES_h 00008 00009 #include "ProcessingCut.hh" 00010 00011 namespace ProcessingCuts{ 00016 class CheckNPulses : public ProcessingCut{ 00017 public: 00018 CheckNPulses(); 00019 ~CheckNPulses(){} 00020 static std::string GetCutName(){ return "CheckNPulses";} 00021 00022 bool ProcessChannel(ChannelData* chdata); 00023 int AddDependenciesToModule(BaseModule* mod); 00024 00025 private: 00026 int min_pulses; 00027 int max_pulses; 00028 00029 }; 00030 } 00031 00032 #endif