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: EvtHAngSam3.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 EVTHAngSam3_HH 00023 #define EVTHAngSam3_HH 00024 00025 #include "EvtGenBase/EvtDecayIncoherent.hh" 00026 00027 00028 class EvtParticle; 00029 00030 class EvtHAngSam3:public EvtDecayIncoherent { 00031 00032 public: 00033 00034 EvtHAngSam3() {} 00035 virtual ~EvtHAngSam3(); 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 00051 }; 00052 00053 #endif 00054