00001 00007 #ifndef INTEGRATOR_h 00008 #define INTEGRATOR_h 00009 00010 #include "ChannelModule.hh" 00015 class Integrator : public ChannelModule 00016 { 00017 public: 00018 Integrator(); 00019 ~Integrator(); 00020 int Initialize(); 00021 int Finalize(); 00022 int Process(ChannelData* chdata); 00023 00024 static const std::string GetDefaultName(){ return "Integrator"; } 00025 private: 00026 double threshold; 00027 00028 }; 00029 00030 #endif