#include <EvtMassAmp.hh>
Definition at line 29 of file EvtMassAmp.hh.
◆ EvtMassAmp() [1/2]
Definition at line 20 of file EvtMassAmp.cc.
22 ,_prop(prop), _vd(vd), _vb(0)
23 ,_useBirthFact(false), _useDeathFact(false)
24 ,_useBirthFactFF(false), _useDeathFactFF(false)
25 ,_fixUpMassForMax(false),_addfactor(0.)
26{}
◆ EvtMassAmp() [2/2]
EvtMassAmp::EvtMassAmp |
( |
const EvtMassAmp & |
other | ) |
|
Definition at line 28 of file EvtMassAmp.cc.
32 ,_useBirthFact(
other._useBirthFact)
33 ,_useDeathFact(
other._useDeathFact)
34 ,_useBirthFactFF(
other._useBirthFactFF)
35 ,_useDeathFactFF(
other._useDeathFactFF)
36 ,_fixUpMassForMax(
other._fixUpMassForMax)
37 ,_addfactor(
other._addfactor)
38{}
Index other(Index i, Index j)
◆ ~EvtMassAmp()
EvtMassAmp::~EvtMassAmp |
( |
| ) |
|
|
virtual |
Definition at line 41 of file EvtMassAmp.cc.
42{
43 if(_vb) delete _vb;
44}
◆ addBirthFact()
void EvtMassAmp::addBirthFact |
( |
| ) |
|
|
inline |
◆ addBirthFactFF()
void EvtMassAmp::addBirthFactFF |
( |
| ) |
|
|
inline |
◆ addDeathFact()
void EvtMassAmp::addDeathFact |
( |
| ) |
|
|
inline |
◆ addDeathFactFF()
void EvtMassAmp::addDeathFactFF |
( |
| ) |
|
|
inline |
◆ addFactorPn()
void EvtMassAmp::addFactorPn |
( |
double |
factor | ) |
|
|
inline |
◆ amplitude()
Implements EvtAmplitude< EvtPoint1D >.
Definition at line 47 of file EvtMassAmp.cc.
48{
49
50
52
53
55
57
58
59
62
63
64
65
66 if(_useBirthFact) {
67
68 assert(_vb);
69 if ( (m+_vb->
mB()) < _vb->
mAB() ) {
72 amp *= phsp;
73
74 if ( _fixUpMassForMax ) {
75 amp *= sqrt((vb.p() / _vb->
pD()));
76 }
77 if(_useBirthFactFF) {
78
79 assert(_vb);
81 }
82 }
83 else{
84 if ( _vb->
L() != 0 ) amp=0.;
85 }
86 }
87
88
89
90
91 if(_useDeathFact) {
93 if ( _fixUpMassForMax ) {
94 amp *= sqrt((vd.p() / _vd.
pD()));
95 }
96 }
98
99
100
101 if(fabs(_addfactor) > 0.00000001){
102 assert(_vb);
103 double phsp;
104 if ( (m+_vb->
mB()) < _vb->
mAB() ) {
107 } else{
108 if ( _vb->
L() != 0 ) phsp=0.;
109 }
110
111 amp *= pow(phsp,_addfactor);
112
113 }
114
115 return amp;
116}
double formFactor(EvtTwoBodyKine x) const
double widthFactor(EvtTwoBodyKine x) const
double phaseSpaceFactor(EvtTwoBodyKine x, EvtTwoBodyKine::Index) const
◆ clone()
◆ fixUpMassForMax()
void EvtMassAmp::fixUpMassForMax |
( |
| ) |
|
|
inline |
◆ setBirthVtx()
The documentation for this class was generated from the following files: