BOSS 8.0.0
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
24#include "EvtAmp.hh"
25#include "EvtDecayBase.hh"
26
27class EvtDecayAmp : public EvtDecayBase {
28
29public:
30 void makeDecay( EvtParticle* p );
31 inline void setWeight( double weight ) { _weight = weight; }
32
33 /**
34 * sets the amplitudes calculated in the decay objects
35 */
36 void vertex( const EvtComplex& amp ) { _amp2.vertex( amp ); }
37
38 /**
39 * sets the amplitudes calculated in the decay objects
40 */
41 void vertex( int i1, const EvtComplex& amp ) { _amp2.vertex( i1, amp ); }
42
43 /**
44 * sets the amplitudes calculated in the decay objects
45 */
46 void vertex( int i1, int i2, const EvtComplex& amp ) { _amp2.vertex( i1, i2, amp ); }
47
48 /**
49 * sets the amplitudes calculated in the decay objects
50 */
51 void vertex( int i1, int i2, int i3, const EvtComplex& amp ) {
52 _amp2.vertex( i1, i2, i3, amp );
53 }
54
55 /**
56 * sets the amplitudes calculated in the decay objects
57 */
58 void vertex( int* i1, const EvtComplex& amp ) { _amp2.vertex( i1, amp ); }
59
60 virtual ~EvtDecayAmp() {}
61
62protected:
64
65private:
66 double _weight;
67};
68
69#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 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)