]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEvtGen/EvtGenBase/EvtDecayIncoherent.hh
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenBase / EvtDecayIncoherent.hh
CommitLineData
da0e9ce3 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
31class EvtDecayIncoherent : public EvtDecayBase{
32
33public:
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
45private:
46
47 int spinDensitySet[MAX_DAUG];
48
49};
50
51
52
53
54#endif
55
56
57