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/EvtDecayIncoherent.hh
13 // Description: Base class for models that calculate
14 // decay kinematics and do not do any accept/reject.
15 // Useful e.g. for interface to other generators
17 // Modification history:
19 // DJL/RYD August 11, 1998 Module created
21 //------------------------------------------------------------------------
23 #ifndef EvtDecayIncoherent_HH
24 #define EvtDecayIncoherent_HH
26 #include "EvtGenBase/EvtDecayBase.hh"
27 #include "EvtGenBase/EvtParticle.hh"
31 class EvtDecayIncoherent : public EvtDecayBase{
35 void makeDecay(EvtParticle* p, bool recursive=true);
37 virtual ~EvtDecayIncoherent() {}
39 void setDaughterSpinDensity(int daughter)
40 { spinDensitySet[daughter]=1; return;}
42 int isDaughterSpinDensitySet(int daughter)
43 {return spinDensitySet[daughter];}
47 int spinDensitySet[MAX_DAUG];