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/EvtPhsp.hh 00012 // 00013 // Description: 00014 //Class to handle generic phase space decays not done 00015 //in other decay models. 00016 // 00017 // Modification history: 00018 // 00019 // DJL/RYD August 11, 1998 Module created 00020 // 00021 //------------------------------------------------------------------------ 00022 00023 #ifndef EVTPHSP_HH 00024 #define EVTPHSP_HH 00025 00026 #include "EvtGenBase/EvtDecayIncoherent.hh" 00027 00028 class EvtParticle; 00029 00030 class EvtPhsp:public EvtDecayIncoherent { 00031 00032 public: 00033 00034 EvtPhsp() {} 00035 virtual ~EvtPhsp(); 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 }; 00048 00049 #endif 00050