BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtParticleDecay.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/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 "EvtDecayBase.hh"
25
27
28public:
30 _decay = 0;
31 _brfrsum = 0.0;
32 _massmin = 0.0;
33 }
34
36
37 if ( _decay != 0 ) delete _decay;
38 }
39
40 void chargeConj( EvtParticleDecay* decay );
41
42 void setDecayModel( EvtDecayBase* decay ) { _decay = decay; }
43 EvtDecayBase* getDecayModel() { return _decay; }
44 double getBrfrSum() { return _brfrsum; }
45 void setBrfrSum( double brfrsum ) { _brfrsum = brfrsum; }
46 double getMassMin() { return _massmin; }
47 void setMassMin( double massmin ) { _massmin = massmin; }
48
49 void printSummary();
50
51private:
52 EvtDecayBase* _decay;
53
54 double _brfrsum;
55 double _massmin;
56};
57
58#endif
void setDecayModel(EvtDecayBase *decay)
EvtDecayBase * getDecayModel()
void setMassMin(double massmin)
void chargeConj(EvtParticleDecay *decay)
void setBrfrSum(double brfrsum)