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/EvtSingleParticle.hh 00012 // 00013 // Description: 00014 //This is a special decay model to generate single particles. 00015 // 00016 // Modification history: 00017 // 00018 // DJL/RYD August 11, 1998 Module created 00019 // 00020 //------------------------------------------------------------------------ 00021 00022 00023 #ifndef EVTSINGLEPARTICLE_HH 00024 #define EVTSINGLEPARTICLE_HH 00025 00026 #include "EvtGenBase/EvtDecayIncoherent.hh" 00027 class EvtParticle; 00028 00029 class EvtSingleParticle:public EvtDecayIncoherent { 00030 00031 public: 00032 00033 EvtSingleParticle() {} 00034 virtual ~EvtSingleParticle(); 00035 00036 void getName(std::string& name); 00037 00038 EvtDecayBase* clone(); 00039 00040 void decay(EvtParticle *p); 00041 00042 void init(); 00043 00044 private: 00045 00046 double pmin,pmax; 00047 double cthetamin,cthetamax; 00048 double phimin,phimax; 00049 00050 }; 00051 00052 #endif 00053