00001 #ifndef cutSelection_h
00002 #define cutSelection_h
00003
00004 #include "Event/cutComposite.h"
00005 #include "Event/serviceI.h"
00006 00008
00009 \e cutSelection 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 cutSelection 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
00020
00021
00022 class cutSelection: public cutComposite, public serviceI
00023
00024 {
00025 public:
00026
00028 cutSelection(std::string name) { m_cutName = ""; setName(name);}
00030 ~cutSelection();
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