BOSS 8.0.0
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
24#include "EvtParticleDecay.hh"
25
27
29
30public:
32 _decaylist = 0;
33 _nmode = 0;
34 _rawbrfrsum = 0;
35 }
36
38
40
41 int getNMode() { return _nmode; }
42
43 void setNMode( int nmode );
44
46 EvtDecayBase* getDecayModel( int imode ) { return _decaylist[imode]->getDecayModel(); }
47
48 EvtParticleDecay& getDecay( int nchannel );
49
50 double getRawBrfrSum() { return _rawbrfrsum; }
51 void setRawBrfrSum( double rawbrfrsum ) { _rawbrfrsum = rawbrfrsum; }
52
53 void makeChargeConj( EvtParticleDecayList* conjDecayList );
54
55 void removeDecay();
56
57 void alocateDecay( int nmode ) { _decaylist = new EvtParticleDecayPtr[nmode]; }
58
59 void removeMode( EvtDecayBase* decay );
60
61 void addMode( EvtDecayBase* decay, double brfr, double massmin );
62 void finalize();
63
64 void printSummary();
65
66private:
67 EvtParticleDecayPtr* _decaylist;
68
69 double _rawbrfrsum;
70 int _nmode;
71};
72
73#endif
EvtParticleDecay * EvtParticleDecayPtr
void removeMode(EvtDecayBase *decay)
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)