BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtDecayAmp.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/EvtDecayAmp.hh
12//
13// Description:
14//
15// Modification history:
16//
17// DJL/RYD August 11, 1998 Module created
18//
19//------------------------------------------------------------------------
20
21#ifndef EVTDECAYAMP_HH
22#define EVTDECAYAMP_HH
23
25#include "EvtGenBase/EvtAmp.hh"
26
28
29public:
30
31 void makeDecay(EvtParticle* p);
32 inline void setWeight(double weight) {_weight=weight;}
33
34 /**
35 * sets the amplitudes calculated in the decay objects
36 */
37 void vertex(const EvtComplex& amp){_amp2.vertex(amp);}
38
39 /**
40 * sets the amplitudes calculated in the decay objects
41 */
42 void vertex(int i1, const EvtComplex& amp){_amp2.vertex(i1,amp);}
43
44 /**
45 * sets the amplitudes calculated in the decay objects
46 */
47 void vertex(int i1, int i2, const EvtComplex& amp)
48 {_amp2.vertex(i1,i2,amp);}
49
50
51 /**
52 * sets the amplitudes calculated in the decay objects
53 */
54 void vertex(int i1, int i2, int i3, const EvtComplex& amp)
55 {_amp2.vertex(i1,i2,i3,amp);}
56
57 /**
58 * sets the amplitudes calculated in the decay objects
59 */
60 void vertex(int *i1, const EvtComplex& amp)
61 { _amp2.vertex(i1,amp);}
62
63 virtual ~EvtDecayAmp() {}
64
65protected:
67
68private:
69 double _weight;
70
71
72};
73
74
75
76#endif
*********Class see also m_nmax DOUBLE PRECISION m_MasPhot DOUBLE PRECISION m_phsu DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_r2 DOUBLE PRECISION m_WtMass INTEGER m_nmax INTEGER m_Nevgen INTEGER m_IsFSR INTEGER m_MarTot *COMMON c_KarFin $ !Output file $ !Event serial number $ !alpha QED at Thomson limit $ !minimum energy at CMS for remooval $ !infrared dimensionless $ !dummy photon IR regulator $ !crude photon multiplicity enhancement factor *EVENT $ !MC crude volume of PhhSpace *Sfactors $ !YFS formfactor IR part only $ !YFS formfactor non IR finite part $ !mass weight
Definition KarFin.h:34
void vertex(const EvtComplex &amp)
Definition EvtAmp.cc:477
void setWeight(double weight)
void vertex(int *i1, const EvtComplex &amp)
virtual ~EvtDecayAmp()
void vertex(int i1, int i2, int i3, const EvtComplex &amp)
void vertex(int i1, int i2, const EvtComplex &amp)
void makeDecay(EvtParticle *p)
void vertex(const EvtComplex &amp)
void vertex(int i1, const EvtComplex &amp)