]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TEvtGen/EvtGenBase/EvtDecayIncoherent.hh
65a6fa8431b15f2ef45b213a5b0f21e0f73dec11
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenBase / EvtDecayIncoherent.hh
1 //--------------------------------------------------------------------------
2 //
3 // Environment:
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.
7 //
8 // Copyright Information: See EvtGen/COPYRIGHT
9 //      Copyright (C) 1998      Caltech, UCSB
10 //
11 // Module: EvtGen/EvtDecayIncoherent.hh
12 //
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
16 //
17 // Modification history:
18 //
19 //    DJL/RYD     August 11, 1998         Module created
20 //
21 //------------------------------------------------------------------------
22
23 #ifndef EvtDecayIncoherent_HH
24 #define EvtDecayIncoherent_HH
25
26 #include "EvtGenBase/EvtDecayBase.hh"
27 #include "EvtGenBase/EvtParticle.hh"
28
29
30
31 class EvtDecayIncoherent : public EvtDecayBase{
32
33 public:
34
35   void makeDecay(EvtParticle* p, bool recursive=true);
36
37   virtual ~EvtDecayIncoherent() {}
38
39   void setDaughterSpinDensity(int daughter)
40   { spinDensitySet[daughter]=1; return;}
41
42   int isDaughterSpinDensitySet(int daughter) 
43   {return spinDensitySet[daughter];}
44
45 private:
46
47   int spinDensitySet[MAX_DAUG];
48
49 };
50
51
52
53
54 #endif
55
56
57