00001 //-------------------------------------------------------------------------- 00002 // 00003 // Environment: 00004 // This software is part of the EvtGen package developed jointly 00005 // for the BaBar and CLEO collaborations. If you use all or part 00006 // of it, please give an appropriate acknowledgement. 00007 // 00008 // Copyright Information: See EvtGen/COPYRIGHT 00009 // Copyright (C) 1998 Caltech, UCSB 00010 // 00011 // Module: EvtGen/EvtmPhsp.hh 00012 // 00013 // Description: 00014 //Class to handle generic phase space decays not done 00015 //in other decay models by spcifing the mass region of the 00016 // daughter particles. 00017 // 00018 // Modification history: 00019 // 00020 // DJL/RYD August 11, 1998 Module created 00021 // Ping rg December, 2007, Modified Phsp model 00022 //------------------------------------------------------------------------ 00023 00024 #ifndef EVTMPHSP_HH 00025 #define EVTMPHSP_HH 00026 00027 #include "EvtGenBase/EvtDecayIncoherent.hh" 00028 00029 class EvtParticle; 00030 00031 class EvtmPhsp:public EvtDecayIncoherent { 00032 00033 public: 00034 00035 EvtmPhsp() {} 00036 virtual ~EvtmPhsp(); 00037 00038 void getName(std::string& name); 00039 00040 EvtDecayBase* clone(); 00041 00042 void initProbMax(); 00043 00044 void init(); 00045 00046 void decay(EvtParticle *p); 00047 00048 private: 00049 double ma1,ma2,mb1,mb2,xmass1,xmass2; 00050 int nd1,nd2; 00051 }; 00052 00053 #endif 00054