114 {
115
116
117
118
122
123
124
125
126
127 double msq13 = (_p4_d1 + _p4_d3).mass2();
128 double msq23 = (_p4_d2 + _p4_d3).mass2();
129 double msqParent = _p4_p.
mass2();
130 double msq1 = _p4_d1.
mass2();
131 double msq2 = _p4_d2.mass2();
132 double msq3 = _p4_d3.
mass2();
133
134 double M;
135
136 double p2 = sqrt((_p4_12.
mass2() - (_p4_d1.
mass() + _p4_d2.mass())*(_p4_d1.
mass() + _p4_d2.mass()))*(_p4_12.
mass2() - (_p4_d1.
mass() - _p4_d2.mass())*(_p4_d1.
mass() - _p4_d2.mass())))/(2.0*_p4_12.
mass());
137
138 double p2R = sqrt((_bwm*_bwm - (_p4_d1.
mass() + _p4_d2.mass())*(_p4_d1.
mass() + _p4_d2.mass()))*(_bwm*_bwm - (_p4_d1.
mass() - _p4_d2.mass())*(_p4_d1.
mass() - _p4_d2.mass())))/(2.0*_bwm);
139
141
142if (i == 1) {
143
144
146
147}
149
150 gam = _gamma*(_bwm/_p4_12.
mass())*(
p2/p2R)*(
p2/p2R)*(
p2/p2R)*((1 + R*R*p2R*p2R)/(1 + R*R*
p2*
p2));
151 M = (msq13 - msq23 - (msqParent - msq3)*(msq1 - msq2)/(_bwm*_bwm))*sqrt((1 + R*R*p2R*p2R)/(1 + R*R*
p2*
p2));
152
153
154 BW = sqrt(_gamma)*M/((_bwm*_bwm - _p4_12.
mass2()) -
EvtComplex(0.0,1.0)*gam*_bwm);
155
156 return BW;
157
158}
complex_t R(double Q2, double M2, double G, double Mp2, double Mm2)