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 // Description: Routine to decay a particle using a scatter 00013 // plot forn n-body decays (n>3). 00014 // 00015 // 00016 // Modification history: 00017 // 00018 // Ping R.-G. Oct 2011 Module created 00019 // 00020 //------------------------------------------------------------------------ 00021 #ifndef EVTmH2_HH 00022 #define EVTmH2_HH 00023 00024 #include "EvtGenBase/EvtDecayIncoherent.hh" 00025 00026 00027 class EvtParticle; 00028 00029 class EvtmH2:public EvtDecayIncoherent { 00030 00031 public: 00032 00033 EvtmH2() {} 00034 virtual ~EvtmH2(); 00035 00036 void getName(std::string& name); 00037 00038 EvtDecayBase* clone(); 00039 00040 void initProbMax(); 00041 00042 void init(); 00043 00044 void decay(EvtParticle *p); 00045 00046 const char* setFileName(); //Defined by user for specify the root file name 00047 const char* setHpoint(); //Defined by user for specify the histor. id 00048 00049 private: 00050 int nbx,nby; 00051 }; 00052 00053 #endif 00054