00001 00011 #ifndef PROCESSING_CUT_h 00012 #define PROCESSING_CUT_h 00013 00014 #include "Event.hh" 00015 #include "ParameterList.hh" 00016 class BaseModule; 00017 00022 class ProcessingCut : public ParameterList{ 00023 std::string _cut_name; 00024 public: 00026 ProcessingCut(const std::string& cut_name="", const std::string helptext=""); 00028 virtual ~ProcessingCut(){} 00029 00031 virtual bool Process(EventDataPtr event); 00033 virtual bool ProcessChannel(ChannelData* chdata){ return true; } 00035 virtual int AddDependenciesToModule(BaseModule*){ return 0; } 00037 std::string GetName(){ return _cut_name; } 00038 protected: 00039 bool default_pass; 00040 }; 00041 00046 namespace ProcessingCuts{} 00047 00048 #endif