BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtParticleDecayList.hh
Go to the documentation of this file.
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/EvtParticleDecayList.hh
12//
13// Description:
14//
15// Modification history:
16//
17// DJL/RYD August 11, 1998 Module created
18//
19//------------------------------------------------------------------------
20
21#ifndef EVTPARTICLEDECAYLIST_HH
22#define EVTPARTICLEDECAYLIST_HH
23
25
27
29
30public:
31
33 _decaylist=0;
34 _nmode=0;
35 _rawbrfrsum=0;
36 }
37
39
41
42 int getNMode(){return _nmode;}
43
44 void setNMode(int nmode);
45
47 EvtDecayBase* getDecayModel(int imode) {return _decaylist[imode]->getDecayModel();}
48
49
50 EvtParticleDecay& getDecay(int nchannel);
51
52 double getRawBrfrSum() {return _rawbrfrsum;}
53 void setRawBrfrSum(double rawbrfrsum) {_rawbrfrsum=rawbrfrsum;}
54
55 void makeChargeConj(EvtParticleDecayList* conjDecayList);
56
57 void removeDecay();
58
59 void alocateDecay(int nmode){
60 _decaylist= new EvtParticleDecayPtr[nmode];
61 }
62
63 void removeMode(EvtDecayBase* decay);
64
65 void addMode(EvtDecayBase* decay,double brfr,double massmin);
66 void finalize();
67
68 void printSummary();
69
70private:
71
72 EvtParticleDecayPtr* _decaylist;
73
74 double _rawbrfrsum;
75 int _nmode;
76
77};
78
79#endif
80
EvtParticleDecay * EvtParticleDecayPtr
void removeMode(EvtDecayBase *decay)
void alocateDecay(int nmode)
EvtDecayBase * getDecayModel(EvtParticle *p)
EvtDecayBase * getDecayModel(int imode)
void makeChargeConj(EvtParticleDecayList *conjDecayList)
void addMode(EvtDecayBase *decay, double brfr, double massmin)
EvtParticleDecay & getDecay(int nchannel)
void setRawBrfrSum(double rawbrfrsum)
EvtDecayBase * getDecayModel()