00001 //-------------------------------------------------------------------------- 00002 // 00003 // Environment: 00004 // This software is part of models developed at BES collaboration 00005 // based on the EvtGen framework. If you use all or part 00006 // of it, please give an appropriate acknowledgement. 00007 // 00008 // Copyright Information: See EvtGen/BesCopyright 00009 // Copyright (A) 2006 Ping Rong-Gang @IHEP 00010 // 00011 // Module: EvtMassH1.hh 00012 // 00013 // Description: Routine to decay a particle using the invariant mass distribution of histogram 00014 // dimension one. 00015 // 00016 // 00017 // Modification history: 00018 // 00019 // Ping R.-G. December, 2007 Module created 00020 // 00021 //------------------------------------------------------------------------ 00022 #ifndef EVTMassH1_HH 00023 #define EVTMassH1_HH 00024 00025 #include "EvtGenBase/EvtDecayIncoherent.hh" 00026 00027 00028 class EvtParticle; 00029 00030 class EvtMassH1:public EvtDecayIncoherent { 00031 00032 public: 00033 00034 EvtMassH1() {} 00035 virtual ~EvtMassH1(); 00036 00037 void getName(std::string& name); 00038 00039 EvtDecayBase* clone(); 00040 00041 void initProbMax(); 00042 00043 void init(); 00044 00045 void decay(EvtParticle *p); 00046 00047 const char* setFileName(); //Defined by user for specify the root file name 00048 const char* setHpoint(); //Defined by user for specify the histor. id 00049 00050 int* setDaugPair(); //Defined by user for specify the histo. point 00051 00052 }; 00053 00054 #endif 00055