]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEvtGen/EvtGenBase/EvtParticleDecay.hh
add opening angle versus energy asymmetry histogram
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenBase / EvtParticleDecay.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/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
27class EvtParticleDecay{
28
29public:
30
31 EvtParticleDecay(){
32 _decay=0;
33 _brfrsum=0.0;
34 _massmin=0.0;
35 }
36
37 ~EvtParticleDecay(){
38
39 if (_decay!=0) delete _decay;
40
41 }
42
43 void chargeConj(EvtParticleDecay* decay);
44
45 void setDecayModel(EvtDecayBase* decay) {_decay=decay;}
46 EvtDecayBase* getDecayModel() {return _decay;}
47 double getBrfrSum() {return _brfrsum;}
48 void setBrfrSum(double brfrsum) {_brfrsum=brfrsum;}
49 double getMassMin() {return _massmin;}
50 void setMassMin(double massmin) {_massmin=massmin;}
51
52 void printSummary();
53
54private:
55
56 EvtDecayBase* _decay;
57
58 double _brfrsum;
59 double _massmin;
60
61};
62
63#endif
64