Line data Source code
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/EvtParticleDecay.hh
12 : //
13 : // Description:
14 : //
15 : // Modification history:
16 : //
17 : // DJL/RYD August 11, 1998 Module created
18 : //
19 : //------------------------------------------------------------------------
20 :
21 : #ifndef EVTPARTICLEDECAY_HH
22 : #define EVTPARTICLEDECAY_HH
23 :
24 : #include "EvtGenBase/EvtDecayBase.hh"
25 :
26 :
27 : class EvtParticleDecay{
28 :
29 : public:
30 :
31 0 : EvtParticleDecay(){
32 0 : _decay=0;
33 0 : _brfrsum=0.0;
34 0 : _massmin=0.0;
35 0 : }
36 :
37 0 : ~EvtParticleDecay(){
38 :
39 0 : if (_decay!=0) delete _decay;
40 :
41 0 : }
42 :
43 : void chargeConj(EvtParticleDecay* decay);
44 :
45 0 : void setDecayModel(EvtDecayBase* decay) {_decay=decay;}
46 0 : EvtDecayBase* getDecayModel() {return _decay;}
47 0 : double getBrfrSum() {return _brfrsum;}
48 0 : void setBrfrSum(double brfrsum) {_brfrsum=brfrsum;}
49 0 : double getMassMin() {return _massmin;}
50 0 : void setMassMin(double massmin) {_massmin=massmin;}
51 :
52 : void printSummary();
53 :
54 : private:
55 :
56 : EvtDecayBase* _decay;
57 :
58 : double _brfrsum;
59 : double _massmin;
60 :
61 : };
62 :
63 : #endif
64 :
|