1 //--------------------------------------------------------------------------
4 // This software is part of the EvtGen package developed jointly
5 // for the BaBar and CLEO collaborations. If you use all or part
6 // of it, please give an appropriate acknowledgement.
8 // Copyright Information: See EvtGen/COPYRIGHT
9 // Copyright (C) 1998 Caltech, UCSB
11 // Module: EvtGen/EvtSingleParticle.hh
14 //This is a special decay model to generate single particles.
16 // Modification history:
18 // DJL/RYD August 11, 1998 Module created
20 //------------------------------------------------------------------------
23 #ifndef EVTSINGLEPARTICLE_HH
24 #define EVTSINGLEPARTICLE_HH
26 #include "EvtGenBase/EvtDecayIncoherent.hh"
29 class EvtSingleParticle:public EvtDecayIncoherent {
33 EvtSingleParticle() {}
34 virtual ~EvtSingleParticle();
36 std::string getName();
38 EvtDecayBase* clone();
40 void decay(EvtParticle *p);
47 double cthetamin,cthetamax;