10#include "CLHEP/Random/RandFlat.h"
11#include "CLHEP/Matrix/Vector.h"
12#include "CLHEP/Matrix/Matrix.h"
13#include "CLHEP/Matrix/SymMatrix.h"
14#include "CLHEP/Vector/ThreeVector.h"
15#include "CLHEP/Vector/LorentzVector.h"
16#include "CLHEP/Vector/TwoVector.h"
17using CLHEP::HepVector;
18using CLHEP::Hep3Vector;
19using CLHEP::Hep2Vector;
20using CLHEP::HepLorentzVector;
29 tan2thetaC = (0.22650*0.22650)/(1.-(0.22650*0.22650)) ;
30 pi180inv = 1.0*3.1415926/180;
32 mass_R[0]= 0.77526; width_R[0]= 0.14740; spin_R[0]= 1; ar[0]= 1; phir[0]= 0;
33 mass_R[1]= 0.78266; width_R[1]= 0.00868; spin_R[1]= 1; ar[1]= 0.037606; phir[1]= 109.677;
34 mass_R[2]= 1.27550; width_R[2]= 0.18670; spin_R[2]= 2; ar[2]= 1.54909; phir[2]= -42.7425;
35 mass_R[3]= 1.46500; width_R[3]= 0.40000; spin_R[3]= 1; ar[3]= 3.70735; phir[3]= 103.644;
36 mass_R[4]= 0.89167; width_R[4]= 0.0514; spin_R[4]= 1; ar[4]= 1.86093; phir[4]= 136.529;
37 mass_R[5]= 1.42730; width_R[5]= 0.10000; spin_R[5]= 2; ar[5]= 1.74288; phir[5]= -48.0968;
38 mass_R[6]= 1.71800; width_R[6]= 0.3220; spin_R[6]= 1; ar[6]= 3.31; phir[6]= -118.2;
39 mass_R[7]= 1.41400; width_R[7]= 0.2320; spin_R[7]= 1; ar[7]= 0.171672; phir[7]= -68.41;
40 mass_R[8]= 0.89167; width_R[8]= 0.0514; spin_R[8]= 1; ar[8]= 0.164; phir[8]= -42.2;
41 mass_R[9]= 1.42730; width_R[9]= 0.1000; spin_R[9]= 2; ar[9]= 0.1; phir[9]= -89.6;
42 mass_R[10]= 1.41400; width_R[10]= 0.2320; spin_R[10]= 1; ar[10]= 0.21; phir[10]= 150.2;
43 mass_R[11]= 1.42500; width_R[11]= 0.2700; spin_R[11]= 1; ar[11]= 2.78276; phir[11]= 97.9608;
44 mass_R[12]= 1.42500; width_R[12]= 0.2700; spin_R[12]= 1; ar[12]= 0.11; phir[12]= 162.3;
69 ma[0]= 0.651; g[0][0]= 0.22889; g[0][1]= -0.55377; g[0][2]= 0; g[0][3]= -0.39899; g[0][4]= -0.34639;
70 ma[1]= 1.20360; g[1][0]= 0.94128; g[1][1]= 0.55095; g[1][2]= 0; g[1][3]= 0.39065; g[1][4]= 0.31503;
71 ma[2]= 1.55817; g[2][0]= 0.36856; g[2][1]= 0.23888; g[2][2]= 0.55639; g[2][3]= 0.18340; g[2][4]= 0.18681;
72 ma[3]= 1.21000; g[3][0]= 0.33650; g[3][1]= 0.40907; g[3][2]= 0.85679; g[3][3]= 0.19906; g[3][4]= -0.00984;
73 ma[4]= 1.82206; g[4][0]= 0.18171; g[4][1]= -0.17558; g[4][2]= -0.79658; g[4][3]= -0.00355; g[4][4]= 0.22358;
81 deltad[1] = 194.7*pi180inv;
82 deltad[2] = 196.0*pi180inv;
83 deltad[3] = 167.0*pi180inv;
94 vector<double> pD;pD.clear();
95 if(k0l.size()!=4||pip.size()!=4||pim.size()!=4)cout<<
"ERROR in KSPIPI daughter 4 momentum"<<endl;
96 for(
int i=0;i<k0l.size();i++){
97 pD.push_back(k0l[i] + pip[i] + pim[i]);
100 complex<double> DK2piRes0 = Resonance2(pD, pip, pim, ar[0], phir[0], width_R[0], mass_R[0], spin_R[0]);
101 complex<double> DK2piRes1 = Resonance2(pD, pip, pim, ar[1], phir[1], width_R[1], mass_R[1], spin_R[1]);
102 complex<double> DK2piRes2 = Resonance2(pD, pip, pim, ar[2], phir[2], width_R[2], mass_R[2], spin_R[2]);
103 complex<double> DK2piRes3 = Resonance2(pD, pip, pim, ar[3], phir[3], width_R[3], mass_R[3], spin_R[3]);
104 complex<double> DK2piRes4 = Resonance2(pD, k0l, pim, ar[4], phir[4], width_R[4], mass_R[4], spin_R[4]);
105 complex<double> DK2piRes5 = Resonance2(pD, k0l, pim, ar[5], phir[5], width_R[5], mass_R[5], spin_R[5]);
106 complex<double> DK2piRes6 = Resonance2(pD, k0l, pim, ar[6], phir[6], width_R[6], mass_R[6], spin_R[6]);
107 complex<double> DK2piRes7 = Resonance2(pD, k0l, pim, ar[7], phir[7], width_R[7], mass_R[7], spin_R[7]);
108 complex<double> DK2piRes8 = Resonance2(pD, k0l, pip, ar[8], phir[8], width_R[8], mass_R[8], spin_R[8]);
109 complex<double> DK2piRes9 = Resonance2(pD, k0l, pip, ar[9], phir[9], width_R[9], mass_R[9], spin_R[9]);
110 complex<double> DK2piRes10 = Resonance2(pD, k0l, pip, ar[10], phir[10], width_R[10], mass_R[10], spin_R[10]);
115 complex<double> kpi_s_wave = amplitude_LASS(k0l, pip, pim,
"k0spim", ar[11], phir[11]*pi180inv);
116 complex<double> dcs_kpi_s_wave = amplitude_LASS(k0l, pip, pim,
"k0spip", ar[12], phir[12]*pi180inv);
118 complex<double> _tmpAmp = DK2piRes0 + DK2piRes1 + DK2piRes2 + DK2piRes3 + pipi_s_wave;
120 complex<double> TOT_PFT_AMP = _tmpAmp + DK2piRes4+ DK2piRes5+ DK2piRes6+ DK2piRes7+ DK2piRes8+ DK2piRes9+ DK2piRes10 + kpi_s_wave+ dcs_kpi_s_wave ;
125complex<double> D0ToKSpipi::Resonance2(vector<double> p4_p, vector<double> p4_d1, vector<double> p4_d2,
double mag,
double theta,
double gamma,
double bwm,
int spin) {
130 HepLorentzVector _p4_p;_p4_p.setX(p4_p[0]);_p4_p.setY(p4_p[1]);_p4_p.setZ(p4_p[2]);_p4_p.setT(p4_p[3]);
131 HepLorentzVector _p4_d1;_p4_d1.setX(p4_d1[0]);_p4_d1.setY(p4_d1[1]);_p4_d1.setZ(p4_d1[2]);_p4_d1.setT(p4_d1[3]);
132 HepLorentzVector _p4_d2;_p4_d2.setX(p4_d2[0]);_p4_d2.setY(p4_d2[1]);_p4_d2.setZ(p4_d2[2]);_p4_d2.setT(p4_d2[3]);
133 HepLorentzVector _p4_d3=_p4_p-_p4_d1-_p4_d2;
136 double mAB= (_p4_d1 + _p4_d2).invariantMass();
137 double mBC= (_p4_d2 + _p4_d3).invariantMass();
138 double mAC= (_p4_d1 + _p4_d3).invariantMass();
139 double mA = _p4_d1.invariantMass();
140 double mB = _p4_d2.invariantMass();
141 double mD = _p4_p.invariantMass();
142 double mC = _p4_d3.invariantMass();
146 double gammaR = gamma;
147 double pAB = sqrt( (((mAB*mAB-mA*mA-mB*mB)*(mAB*mAB-mA*mA-mB*mB)/4.0) - mA*mA*mB*mB)/(mAB*mAB));
148 double pR = sqrt( (((mR*mR-mA*mA-mB*mB)*(mR*mR-mA*mA-mB*mB)/4.0) - mA*mA*mB*mB)/(mR*mR));
150 double pD= (((mD*mD-mR*mR-mC*mC)*(mD*mD-mR*mR-mC*mC)/4.0) - mR*mR*mC*mC)/(mD*mD);
151 if ( pD>0 ) { pD = sqrt(pD); }
153 double pDAB=sqrt( (((mD*mD-mAB*mAB-mC*mC)*(mD*mD-mAB*mAB-mC*mC)/4.0) - mAB*mAB*mC*mC)/(mD*mD));
164 fR = sqrt(1.0+1.5*1.5*pR*pR)/sqrt(1.0+1.5*1.5*pAB*pAB);
165 fD = sqrt(1.0+5.0*5.0*pD*pD)/sqrt(1.0+5.0*5.0*pDAB*pDAB);
169 fR = sqrt( (9+3*pow((1.5*pR),2)+pow((1.5*pR),4))/(9+3*pow((1.5*pAB),2) +pow((1.5*pAB) ,4)) );
170 fD = sqrt( (9+3*pow((5.0*pD),2)+pow((5.0*pD),4))/(9+3*pow((5.0*pDAB),2)+pow((5.0*pDAB),4)) );
174 cout <<
"Incorrect spin in D0ToKSpipi::EvtResonance2.cc\n" <<endl;
177 double gammaAB= gammaR*pow(pAB/pR,power)*(mR/mAB)*fR*fR;
184 (fR*fD*(mAC*mAC-mBC*mBC+((mD*mD-mC*mC)*(mB*mB-mA*mA)/(mAB*mAB)))/(mR*mR-mAB*mAB-
complex<double>(0.0,mR*gammaAB)));
189 (pow((mBC*mBC-mAC*mAC+(mD*mD-mC*mC)*(mA*mA-mB*mB)/(mAB*mAB)),2)-
190 (1.0/3.0)*(mAB*mAB-2*mD*mD-2*mC*mC+pow((mD*mD- mC*mC)/mAB, 2))*
191 (mAB*mAB-2*mA*mA-2*mB*mB+pow((mA*mA-mB*mB)/mAB,2)));
194 cout <<
"Incorrect spin in D0ToKSpipi::Resonance2.cc\n" <<endl;
200complex<double> D0ToKSpipi::K_matrix(vector<double> p_pip, vector<double> p_pim) {
201 const double mD0 = 1.86483;
202 const double mKl = 0.49761;
203 const double mPi = 0.13957;
206 HepLorentzVector _p_pip(p_pip[0],p_pip[1],p_pip[2],p_pip[3]);
207 HepLorentzVector _p_pim(p_pim[0],p_pim[1],p_pim[2],p_pim[3]);
209 double mAB = (_p_pip + _p_pim).m() ;
212 complex<double> n11,n12,n13,n14,n15,n21,n22,n23,n24,n25,n31,n32,n33,n34,n35,n41,n42,n43,n44,n45,n51,n52,n53,n54,n55;
213 double rho1sq,rho2sq, rho4sq,rho5sq;
215 vector< complex<double> > rho;rho.clear();
221 const double mpi = 0.13957;
222 const double mK = 0.493677;
223 const double meta = 0.54775;
224 const double metap = 0.95778;
230 for(
int k=0;k<5;k++) {
233 for(
int l=0;l<5;l++) {
246 double s_scatt = -3.92637;
264 rho1sq=(1.0-(pow((
mpi+
mpi),2)/
s));
270 rho2sq=(1.0-(pow((mK+mK),2)/
s));
278 double real = 1.2274+0.00370909/(
s*
s) - (0.111203)/(
s) - 6.39017*
s +16.8358*
s*
s - 21.8845*
s*
s*
s + 11.3153*
s*
s*
s*
s;
279 double cont32=sqrt(1.0-(16.0*
mpi*
mpi));
292 rho5sq=(1.0-(pow((
meta+metap),2)/
s));
298 for(
int k=0;k<5;k++) {
299 for(
int l=0;l<5;l++) {
300 for (
int pole_index=0;pole_index<5;pole_index++) {
301 double A=g[pole_index][k]*g[pole_index][l];
302 double B=ma[pole_index]*ma[pole_index]-
s;
309 for(
int k=0;k<5;k++) {
310 for(
int l=0;l<5;l++) {
311 double C=
f[k][l]*(1.0-s_scatt);
312 double D=(
s-s_scatt);
318 for(
int k=0;k<5;k++) {
319 for(
int l=0;l<5;l++) {
320 double E=(
s-(sa*
mpi*
mpi*0.5))*(1.0-sa_0);
358 det = (n15*n24*n33*n42*n51 - n14*n25*n33*n42*n51 - n15*n23*n34*n42*n51 +
359 n13*n25*n34*n42*n51 + n14*n23*n35*n42*n51 - n13*n24*n35*n42*n51 -
360 n15*n24*n32*n43*n51 + n14*n25*n32*n43*n51 + n15*n22*n34*n43*n51 -
361 n12*n25*n34*n43*n51 - n14*n22*n35*n43*n51 + n12*n24*n35*n43*n51 +
362 n15*n23*n32*n44*n51 - n13*n25*n32*n44*n51 - n15*n22*n33*n44*n51 +
363 n12*n25*n33*n44*n51 + n13*n22*n35*n44*n51 - n12*n23*n35*n44*n51 -
364 n14*n23*n32*n45*n51 + n13*n24*n32*n45*n51 + n14*n22*n33*n45*n51 -
365 n12*n24*n33*n45*n51 - n13*n22*n34*n45*n51 + n12*n23*n34*n45*n51 -
366 n15*n24*n33*n41*n52 + n14*n25*n33*n41*n52 + n15*n23*n34*n41*n52 -
367 n13*n25*n34*n41*n52 - n14*n23*n35*n41*n52 + n13*n24*n35*n41*n52 +
368 n15*n24*n31*n43*n52 - n14*n25*n31*n43*n52 - n15*n21*n34*n43*n52 +
369 n11*n25*n34*n43*n52 + n14*n21*n35*n43*n52 - n11*n24*n35*n43*n52 -
370 n15*n23*n31*n44*n52 + n13*n25*n31*n44*n52 + n15*n21*n33*n44*n52 -
371 n11*n25*n33*n44*n52 - n13*n21*n35*n44*n52 + n11*n23*n35*n44*n52 +
372 n14*n23*n31*n45*n52 - n13*n24*n31*n45*n52 - n14*n21*n33*n45*n52 +
373 n11*n24*n33*n45*n52 + n13*n21*n34*n45*n52 - n11*n23*n34*n45*n52 +
374 n15*n24*n32*n41*n53 - n14*n25*n32*n41*n53 - n15*n22*n34*n41*n53 +
375 n12*n25*n34*n41*n53 + n14*n22*n35*n41*n53 - n12*n24*n35*n41*n53 -
376 n15*n24*n31*n42*n53 + n14*n25*n31*n42*n53 + n15*n21*n34*n42*n53 -
377 n11*n25*n34*n42*n53 - n14*n21*n35*n42*n53 + n11*n24*n35*n42*n53 +
378 n15*n22*n31*n44*n53 - n12*n25*n31*n44*n53 - n15*n21*n32*n44*n53 +
379 n11*n25*n32*n44*n53 + n12*n21*n35*n44*n53 - n11*n22*n35*n44*n53 -
380 n14*n22*n31*n45*n53 + n12*n24*n31*n45*n53 + n14*n21*n32*n45*n53 -
381 n11*n24*n32*n45*n53 - n12*n21*n34*n45*n53 + n11*n22*n34*n45*n53 -
382 n15*n23*n32*n41*n54 + n13*n25*n32*n41*n54 + n15*n22*n33*n41*n54 -
383 n12*n25*n33*n41*n54 - n13*n22*n35*n41*n54 + n12*n23*n35*n41*n54 +
384 n15*n23*n31*n42*n54 - n13*n25*n31*n42*n54 - n15*n21*n33*n42*n54 +
385 n11*n25*n33*n42*n54 + n13*n21*n35*n42*n54 - n11*n23*n35*n42*n54 -
386 n15*n22*n31*n43*n54 + n12*n25*n31*n43*n54 + n15*n21*n32*n43*n54 -
387 n11*n25*n32*n43*n54 - n12*n21*n35*n43*n54 + n11*n22*n35*n43*n54 +
388 n13*n22*n31*n45*n54 - n12*n23*n31*n45*n54 - n13*n21*n32*n45*n54 +
389 n11*n23*n32*n45*n54 + n12*n21*n33*n45*n54 - n11*n22*n33*n45*n54 +
390 n14*n23*n32*n41*n55 - n13*n24*n32*n41*n55 - n14*n22*n33*n41*n55 +
391 n12*n24*n33*n41*n55 + n13*n22*n34*n41*n55 - n12*n23*n34*n41*n55 -
392 n14*n23*n31*n42*n55 + n13*n24*n31*n42*n55 + n14*n21*n33*n42*n55 -
393 n11*n24*n33*n42*n55 - n13*n21*n34*n42*n55 + n11*n23*n34*n42*n55 +
394 n14*n22*n31*n43*n55 - n12*n24*n31*n43*n55 - n14*n21*n32*n43*n55 +
395 n11*n24*n32*n43*n55 + n12*n21*n34*n43*n55 - n11*n22*n34*n43*n55 -
396 n13*n22*n31*n44*n55 + n12*n23*n31*n44*n55 + n13*n21*n32*n44*n55 -
397 n11*n23*n32*n44*n55 - n12*n21*n33*n44*n55 + n11*n22*n33*n44*n55);
402 i[0][0] = ( n25*n34*n43*n52 -
403 n24*n35*n43*n52 - n25*n33*n44*n52 + n23*n35*n44*n52 +
404 n24*n33*n45*n52 - n23*n34*n45*n52 - n25*n34*n42*n53 +
405 n24*n35*n42*n53 + n25*n32*n44*n53 - n22*n35*n44*n53 -
406 n24*n32*n45*n53 + n22*n34*n45*n53 + n25*n33*n42*n54 -
407 n23*n35*n42*n54 - n25*n32*n43*n54 + n22*n35*n43*n54 +
408 n23*n32*n45*n54 - n22*n33*n45*n54 - n24*n33*n42*n55 +
409 n23*n34*n42*n55 + n24*n32*n43*n55 - n22*n34*n43*n55 -
410 n23*n32*n44*n55 + n22*n33*n44*n55)/det;
412 i[0][1] = ( -n15*n34*n43*n52 +
413 n14*n35*n43*n52 + n15*n33*n44*n52 - n13*n35*n44*n52 -
414 n14*n33*n45*n52 + n13*n34*n45*n52 + n15*n34*n42*n53 -
415 n14*n35*n42*n53 - n15*n32*n44*n53 + n12*n35*n44*n53 +
416 n14*n32*n45*n53 - n12*n34*n45*n53 - n15*n33*n42*n54 +
417 n13*n35*n42*n54 + n15*n32*n43*n54 - n12*n35*n43*n54 -
418 n13*n32*n45*n54 + n12*n33*n45*n54 + n14*n33*n42*n55 -
419 n13*n34*n42*n55 - n14*n32*n43*n55 + n12*n34*n43*n55 +
420 n13*n32*n44*n55 - n12*n33*n44*n55)/det;
422 i[0][2] = ( n15*n24*n43*n52 -
423 n14*n25*n43*n52 - n15*n23*n44*n52 + n13*n25*n44*n52 +
424 n14*n23*n45*n52 - n13*n24*n45*n52 - n15*n24*n42*n53 +
425 n14*n25*n42*n53 + n15*n22*n44*n53 - n12*n25*n44*n53 -
426 n14*n22*n45*n53 + n12*n24*n45*n53 + n15*n23*n42*n54 -
427 n13*n25*n42*n54 - n15*n22*n43*n54 + n12*n25*n43*n54 +
428 n13*n22*n45*n54 - n12*n23*n45*n54 - n14*n23*n42*n55 +
429 n13*n24*n42*n55 + n14*n22*n43*n55 - n12*n24*n43*n55 -
430 n13*n22*n44*n55 + n12*n23*n44*n55)/det;
432 i[0][3] = ( -n15*n24*n33*n52 +
433 n14*n25*n33*n52 + n15*n23*n34*n52 - n13*n25*n34*n52 -
434 n14*n23*n35*n52 + n13*n24*n35*n52 + n15*n24*n32*n53 -
435 n14*n25*n32*n53 - n15*n22*n34*n53 + n12*n25*n34*n53 +
436 n14*n22*n35*n53 - n12*n24*n35*n53 - n15*n23*n32*n54 +
437 n13*n25*n32*n54 + n15*n22*n33*n54 - n12*n25*n33*n54 -
438 n13*n22*n35*n54 + n12*n23*n35*n54 + n14*n23*n32*n55 -
439 n13*n24*n32*n55 - n14*n22*n33*n55 + n12*n24*n33*n55 +
440 n13*n22*n34*n55 - n12*n23*n34*n55)/det;
442 i[0][4] = ( n15*n24*n33*n42 -
443 n14*n25*n33*n42 - n15*n23*n34*n42 + n13*n25*n34*n42 +
444 n14*n23*n35*n42 - n13*n24*n35*n42 - n15*n24*n32*n43 +
445 n14*n25*n32*n43 + n15*n22*n34*n43 - n12*n25*n34*n43 -
446 n14*n22*n35*n43 + n12*n24*n35*n43 + n15*n23*n32*n44 -
447 n13*n25*n32*n44 - n15*n22*n33*n44 + n12*n25*n33*n44 +
448 n13*n22*n35*n44 - n12*n23*n35*n44 - n14*n23*n32*n45 +
449 n13*n24*n32*n45 + n14*n22*n33*n45 - n12*n24*n33*n45 -
450 n13*n22*n34*n45 + n12*n23*n34*n45)/det;
452 double s0_prod = -0.07;
458 for(
int k=0;k<5;k++) {
459 double u1j_re =
real(i[0][k]);
460 double u1j_im =
imag(i[0][k]);
461 if(u1j_re==0. || u1j_im==0.) reject=
true;
464 for(
int pole_index=0;pole_index<5;pole_index++) {
466 value0 += (i[0][k]*
A)/(ma[pole_index]*ma[pole_index]-
s);
470 value1 += i[0][k]*fprod[k];
475 value1 *= (1.-s0_prod)/(
s-s0_prod) ;
478 else return (value0+value1);
482complex<double> D0ToKSpipi::amplitude_LASS(vector<double> p_k0l, vector<double> p_pip, vector<double> p_pim,
string reso,
double A_r,
double Phi_r) {
484 double gammaR = 0.27 ;
487 HepLorentzVector _p_k0l(p_k0l[0],p_k0l[1],p_k0l[2],p_k0l[3]);
488 HepLorentzVector _p_pip(p_pip[0],p_pip[1],p_pip[2],p_pip[3]);
489 HepLorentzVector _p_pim(p_pim[0],p_pim[1],p_pim[2],p_pim[3]);
490 if (reso ==
"k0spim") mab2 = pow((_p_k0l + _p_pim).m(),2);
491 else if(reso ==
"k0spip") mab2 = pow((_p_k0l + _p_pip).m(),2);
494 const double mD0 = 1.86483;
495 const double mKl = 0.49761;
496 const double mPi = 0.13957;
502 double _phiR = -1.9146;
503 double _phiF = 0.0017;
507 double mAB = sqrt(mab2);
513 double pAB=sqrt( (((mAB*mAB-mA*mA-mB*mB)*(mAB*mAB-mA*mA-mB*mB)/4.0) - mA*mA*mB*mB)/(mAB*mAB));
516 double pR=sqrt( (((mR*mR-mA*mA-mB*mB)*(mR*mR-mA*mA-mB*mB)/4.0) - mA*mA*mB*mB)/(mR*mR));
520 double g = gammaR*pow(
q/q0,power)*(mR/mAB)*fR*fR;
524 double cot_deltaF = 1.0/(_a*
q) + 0.5*_r*
q;
525 double qcot_deltaF = 1.0/_a + 0.5*_r*
q*
q;
529 complex<double> resonant_term_T = _R *
complex<double>(
cos(_phiR + 2 * _phiF),
sin(_phiR + 2 * _phiF)) * propagator_relativistic_BreitWigner * mR * gammaR * mR / q0 * expi2deltaF;
535 complex<double> LASS_contribution = non_resonant_term_F + resonant_term_T;
double sin(const BesAngle a)
double cos(const BesAngle a)
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")
double imag(const EvtComplex &c)
****INTEGER imax DOUBLE PRECISION m_pi *DOUBLE PRECISION m_amfin DOUBLE PRECISION m_Chfin DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_sinw2 DOUBLE PRECISION m_GFermi DOUBLE PRECISION m_MfinMin DOUBLE PRECISION m_ta2 INTEGER m_out INTEGER m_KeyFSR INTEGER m_KeyQCD *COMMON c_Semalib $ !copy of input $ !CMS energy $ !beam mass $ !final mass $ !beam charge $ !final charge $ !smallest final mass $ !Z mass $ !Z width $ !EW mixing angle $ !Gmu Fermi $ alphaQED at q
***************************************************************************************Pseudo Class RRes *****************************************************************************************Parameters and physical constants **Maarten sept ************************************************************************DOUBLE PRECISION xsmu **************************************************************************PARTICLE DATA all others are from PDG *Only resonances with known widths into electron pairs are sept ************************************************************************C Declarations C
complex< double > Amp_PFT(vector< double > k0l, vector< double > pip, vector< double > pim)