00001 #ifndef cutSelectionTask_h 00002 #define cutSelectionTask_h 00003 00004 #include "Event/cutComposite.h" 00005 #include "Event/serviceI.h" 00006 //------------------------------- 00008 /*! 00009 \e cutSelectionTask is a cutComposite and a cutVI.<br> 00010 the <b> user </b> can dinamically add cuts into the cutComposite using 00011 the services of serviceI. 00012 <ul> 00013 <li> Every object of cutSelectionTask should have a unique name. 00014 <li> A user can add cuts into the cutComposite via the \c setOption() 00015 methods of optionVI. 00016 </ul> 00017 */ 00018 //------------------------------ 00019 // JA Hernando, Santa Cruz, CA, 05/15/00 00020 //------------------------------ 00021 //############################## 00022 class cutSelectionTask: public cutComposite, public serviceI 00023 //############################## 00024 { 00025 public: 00026 00028 cutSelectionTask(std::string name) { m_cutName = ""; setName(name);} 00030 virtual ~cutSelectionTask(){}; 00031 00033 virtual void writeOut() const; 00034 00035 protected: 00036 00038 virtual void defineOption(); 00040 virtual void setOption(std::string addCut, std::string cutName); 00041 00042 private: 00043 00045 std::string m_cutName; 00046 }; 00047 #endif