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