14 #include "Riostream.h"
15 #include "RooAbsReal.h"
16 #include "RooAbsCategory.h"
30 RooAbsPdf(name,title),
31 m1j(
"m1j",
"m1j",this,_m1j),
32 m2j(
"m2j",
"m2j",this,_m2j),
33 h1j(
"h1j",
"h1j",this,_h1j),
34 h2j(
"h2j",
"h2j",this,_h2j),
35 phij(
"phij",
"phij",this,_phij),
36 hsj(
"hsj",
"hsj",this,_hsj),
37 Phi1j(
"Phi1j",
"Phi1j",this,_Phi1j),
38 mZZj(
"mZZj",
"mZZj",this,_mZZj)
44 RooAbsPdf(other,name),
45 m1j(
"m1j",this,other.m1j),
46 m2j(
"m2j",this,other.m2j),
47 h1j(
"h1j",this,other.h1j),
48 h2j(
"h2j",this,other.h2j),
49 phij(
"phij",this,other.phij),
50 hsj(
"hsj",this,other.hsj),
51 Phi1j(
"Phi1j",this,other.Phi1j),
52 mZZj(
"mZZj",this,other.mZZj)
69 double Phi1_c =
Phi1j;
73 double up_plusZ =
partonicXS(m1_c, m2_c, h1_c, h2_c, phi_c, hs_c, Phi1_c, mZZ_c,
true,
true);
74 double up_minusZ =
partonicXS(m1_c, m2_c, h1_c, h2_c, phi_c, hs_c, Phi1_c, mZZ_c,
true,
false);
75 double down_plusZ =
partonicXS(m1_c, m2_c, h1_c, h2_c, phi_c, hs_c, Phi1_c, mZZ_c,
false,
true);
76 double down_minusZ =
partonicXS(m1_c, m2_c, h1_c, h2_c, phi_c, hs_c, Phi1_c, mZZ_c,
false,
false);
81 double downfrac = 0.5;
85 double totalxs = upfrac*(up_plusZ + up_minusZ) + downfrac*(down_plusZ + down_minusZ);
88 return jacobian*totalxs ;
97 if (matchArgs(allVars,analVars,
h2j,
phij,
Phi1j))
return 1 ;
98 if (matchArgs(allVars,analVars,
h1j,
phij,
Phi1j))
return 2 ;
99 if (matchArgs(allVars,analVars,
h1j,
h2j,
phij))
return 3 ;
100 if (matchArgs(allVars,analVars,
h1j,
h2j,
Phi1j))
return 4 ;
113 double Phi1_c =
Phi1j;
128 double downfrac = 0.5;
132 double totalxs = upfrac*(up_plusZ + up_minusZ) + downfrac*(down_plusZ + down_minusZ);
136 return jacobian*totalxs ;
146 double downfrac = 0.5;
150 double totalxs = upfrac*(up_plusZ + up_minusZ) + downfrac*(down_plusZ + down_minusZ);
154 return jacobian*totalxs ;
164 double downfrac = 0.5;
168 double totalxs = upfrac*(up_plusZ + up_minusZ) + downfrac*(down_plusZ + down_minusZ);
172 return jacobian*totalxs ;
182 double downfrac = 0.5;
186 double totalxs = upfrac*(up_plusZ + up_minusZ) + downfrac*(down_plusZ + down_minusZ);
190 return jacobian*totalxs ;
200 double downfrac = 0.5;
204 double totalxs = upfrac*(up_plusZ + up_minusZ) + downfrac*(down_plusZ + down_minusZ);
208 return jacobian*totalxs ;
217 Double_t
RooqqZZ_JHU::partonicXS(
double m1_c,
double m2_c,
double h1_c,
double h2_c,
double phi_c,
double hs_c,
double Phi1_c,
double mZZ_c,
bool upType,
bool flipAxis)
const
221 double s = mZZ_c*mZZ_c;
228 double Phi1 = Phi1_c;
237 double shs = Sqrt(1-hs*hs);
238 double sh1 = Sqrt(1-h1*h1);
239 double sh2 = Sqrt(1-h2*h2);
240 double hsdb = 1 - 2*shs*shs;
241 double shsdb = 2*hs*shs;
242 double h1db = 1 - 2*sh1*sh1;
243 double h2db = 1 - 2*sh2*sh2;
245 double x = (M1*M1-M2*M2)/s;
246 double beta1 = Sqrt(1. - (4.*M1*M1)/(s*(1+x)*(1+x)));
247 double beta2 = Sqrt(1. - (4.*M2*M2)/(s*(1+x)*(1+x)));
249 double gamma = 2.475;
251 double Pi = TMath::Pi();
252 double alpha = 1./137;
254 double Tf3 = -1/2.;
double Qf = -1.;
255 double gL = 2.*(Tf3 - xW*Qf), gR = -2.*xW*Qf;
259 qTf3 = 1/2.; qQf = 2./3.;
262 qTf3 = -1/2.; qQf = -1./3.;
264 double gqL = 2.*(qTf3 - xW*qQf), gqR = -2.*xW*qQf;
267 const int nterms = 45;
270 term[0] = (Power(alpha,4)*
beta1*Power(M1,2)*Power(M2,2)*(1 + x)*(Power(gqL,4)*Power(x +
beta1*
beta2*x + hs -
beta1*
beta2*hs,2) + Power(gqR,4)*Power(x +
beta1*
beta2*x + (-1 +
beta1*
beta2)*hs,2))*(4*(gL - gR)*(gL + gR)*h1 + (Power(gL,2) + Power(gR,2))*(3 + h1db))*(4*(gL - gR)*(gL + gR)*h2 + (Power(gL,2) + Power(gR,2))*(3 + h2db))*Power(shs,2))/(1.572864e6*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
272 term[1] = (Power(alpha,4)*
beta1*Power(M1,2)*Power(M2,2)*(1 + x)*(Power(gqR,4)*Power(x +
beta1*
beta2*x + hs -
beta1*
beta2*hs,2) + Power(gqL,4)*Power(x +
beta1*
beta2*x + (-1 +
beta1*
beta2)*hs,2))*(4*(-Power(gL,2) + Power(gR,2))*h1 + (Power(gL,2) + Power(gR,2))*(3 + h1db))*(4*(-Power(gL,2) + Power(gR,2))*h2 + (Power(gL,2) + Power(gR,2))*(3 + h2db))*Power(shs,2))/(1.572864e6*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
274 term[2] = (Power(alpha,4)*
beta1*Power(1 +
beta1*
beta2,2)*Power(M1,2)*Power(M2,2)*(1 + x)*(4*(-Power(gL,2) + Power(gR,2))*h1 + (Power(gL,2) + Power(gR,2))*(3 + h1db))*(4*(gL - gR)*(gL + gR)*h2 + (Power(gL,2) + Power(gR,2))*(3 + h2db))*Power(shs,2)*(Power(gqR,4)*Power(1 + hs,4) + Power(gqL,4)*Power(shs,4)))/(1.572864e6*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
276 term[3] = (Power(alpha,4)*
beta1*Power(1 +
beta1*
beta2,2)*Power(M1,2)*Power(M2,2)*(1 + x)*(4*(gL - gR)*(gL + gR)*h1 + (Power(gL,2) + Power(gR,2))*(3 + h1db))*(4*(-Power(gL,2) + Power(gR,2))*h2 + (Power(gL,2) + Power(gR,2))*(3 + h2db))*Power(shs,2)*(Power(gqL,4)*Power(1 + hs,4) + Power(gqR,4)*Power(shs,4)))/(1.572864e6*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
278 term[4] = (Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(Phi1)*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*(4*(gL - gR)*(gL + gR)*h2 + (Power(gL,2) + Power(gR,2))*(3 + h2db))*shs*(Power(gqR,4)*Power(1 + hs,2)*(x +
beta1*
beta2*x + (-1 +
beta1*
beta2)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs) - Power(gqL,4)*(x +
beta1*
beta2*x + hs -
beta1*
beta2*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*Power(shs,2))*sh1)/(786432.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(-1 + x)*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
280 term[5] = (Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(Phi1)*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*(4*(gL - gR)*(gL + gR)*h2 - (Power(gL,2) + Power(gR,2))*(3 + h2db))*shs*(-(Power(gqL,4)*Power(1 + hs,2)*(x +
beta1*
beta2*x + (-1 +
beta1*
beta2)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs)) + Power(gqR,4)*(x +
beta1*
beta2*x + hs -
beta1*
beta2*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*Power(shs,2))*sh1)/(786432.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(-1 + x)*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
282 term[6] = -(Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*(1 +
beta1*
beta2)*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(Phi1)*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*(4*(gL - gR)*(gL + gR)*h2 + (Power(gL,2) + Power(gR,2))*(3 + h2db))*shs*(-(Power(gqR,4)*Power(1 + hs,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs)) + Power(gqL,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*Power(shs,4))*sh1)/(786432.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(1 - x)*Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
284 term[7] = -(Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*(1 +
beta1*
beta2)*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(Phi1)*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*(4*(gL - gR)*(gL + gR)*h2 - (Power(gL,2) + Power(gR,2))*(3 + h2db))*shs*(Power(gqL,4)*Power(1 + hs,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs) - Power(gqR,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*Power(shs,4))*sh1)/(786432.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(1 - x)*Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
286 term[8] = (Power(alpha,4)*
beta1*(1 +
beta1*
beta2)*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(2*(-Phi1 + Pi))*(4*(gL - gR)*(gL + gR)*h2 + (Power(gL,2) + Power(gR,2))*(3 + h2db))*Power(shs,2)*(Power(gqR,4)*Power(1 + hs,2)*(x +
beta1*
beta2*x + (-1 +
beta1*
beta2)*hs) + Power(gqL,4)*(x +
beta1*
beta2*x + hs -
beta1*
beta2*hs)*Power(shs,2))*Power(sh1,2))/(393216.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
288 term[9] = (Power(alpha,4)*
beta1*(1 +
beta1*
beta2)*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(2*(-Phi1 + Pi))*(4*(gL - gR)*(gL + gR)*h2 - (Power(gL,2) + Power(gR,2))*(3 + h2db))*Power(shs,2)*(-(Power(gqL,4)*Power(1 + hs,2)*(x +
beta1*
beta2*x + (-1 +
beta1*
beta2)*hs)) - Power(gqR,4)*(x +
beta1*
beta2*x + hs -
beta1*
beta2*hs)*Power(shs,2))*Power(sh1,2))/(393216.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
290 term[10] = (Power(alpha,4)*
beta1*(1 - Power(
beta1,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*(4*(gL - gR)*(gL + gR)*h2 + (Power(gL,2) + Power(gR,2))*(3 + h2db))*(Power(gqR,4)*Power(1 + hs,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs,2) + Power(gqL,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs,2)*Power(shs,4))*Power(sh1,2))/(3.145728e6*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + x,2)*Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
292 term[11] = (Power(alpha,4)*
beta1*(1 - Power(
beta1,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*(4*(-Power(gL,2) + Power(gR,2))*h2 + (Power(gL,2) + Power(gR,2))*(3 + h2db))*(Power(gqL,4)*Power(1 + hs,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs,2) + Power(gqR,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs,2)*Power(shs,4))*Power(sh1,2))/(3.145728e6*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + x,2)*Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
294 term[12] = (Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta2,2))*Power(M1,2)*Power(M2,2)*Cos(phi + Phi1)*(4*(gL - gR)*(gL + gR)*h1 - (Power(gL,2) + Power(gR,2))*(3 + h1db))*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*shs*(Power(gqR,4)*Power(1 + hs,2)*(x +
beta1*
beta2*x + hs -
beta1*
beta2*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs) - Power(gqL,4)*(x +
beta1*
beta2*x + (-1 +
beta1*
beta2)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs)*Power(shs,2))*sh2)/(786432.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
296 term[13] = (Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta2,2))*Power(M1,2)*Power(M2,2)*Cos(phi + Phi1)*(4*(gL - gR)*(gL + gR)*h1 + (Power(gL,2) + Power(gR,2))*(3 + h1db))*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*shs*(-(Power(gqL,4)*Power(1 + hs,2)*(x +
beta1*
beta2*x + hs -
beta1*
beta2*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs)) + Power(gqR,4)*(x +
beta1*
beta2*x + (-1 +
beta1*
beta2)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs)*Power(shs,2))*sh2)/(786432.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
298 term[14] = (Power(alpha,4)*
beta1*(1 +
beta1*
beta2)*Sqrt(1 - Power(
beta2,2))*Power(M1,2)*Power(M2,2)*Cos(phi + Phi1)*(4*(gL - gR)*(gL + gR)*h1 - (Power(gL,2) + Power(gR,2))*(3 + h1db))*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*shs*(Power(gqR,4)*Power(1 + hs,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs) - Power(gqL,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs)*Power(shs,4))*sh2)/(786432.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
300 term[15] = (Power(alpha,4)*
beta1*(1 +
beta1*
beta2)*Sqrt(1 - Power(
beta2,2))*Power(M1,2)*Power(M2,2)*Cos(phi + Phi1)*(4*(gL - gR)*(gL + gR)*h1 + (Power(gL,2) + Power(gR,2))*(3 + h1db))*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*shs*(-(Power(gqL,4)*Power(1 + hs,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs)) + Power(gqR,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs)*Power(shs,4))*sh2)/(786432.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
302 term[16] = -(Power(alpha,4)*
beta1*Power(M1,2)*Power(M2,2)*(1 + x)*((
beta1 +
beta2 -
beta1*x +
beta2*x)*Sqrt(
beta1*
beta2*(1 - Power(x,2))) + (1 + Power(
beta1,2)*Power(
beta2,2))*(-1 + Power(x,2)))*Cos(phi)*hs*((1 +
beta1*
beta2)*(Power(gqL,4) - Power(gqR,4))*x - (-1 +
beta1*
beta2)*(Power(gqL,4) + Power(gqR,4))*hs)*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*Power(shs,2)*sh1*sh2)/(49152.*Sqrt((-1 + Power(
beta1,2))*(-1 + Power(
beta2,2)))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(1 - Power(x,2))*Power(-1 + xW,4)*Power(xW,4)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
304 term[17] = -(Power(alpha,4)*
beta1*Power(M1,2)*Power(M2,2)*(1 + x)*((
beta1 +
beta2 -
beta1*x +
beta2*x)*Sqrt(
beta1*
beta2*(1 - Power(x,2))) + (1 + Power(
beta1,2)*Power(
beta2,2))*(-1 + Power(x,2)))*Cos(phi)*hs*((1 +
beta1*
beta2)*(-Power(gqL,4) + Power(gqR,4))*x - (-1 +
beta1*
beta2)*(Power(gqL,4) + Power(gqR,4))*hs)*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*Power(shs,2)*sh1*sh2)/(49152.*Sqrt((-1 + Power(
beta1,2))*(-1 + Power(
beta2,2)))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(1 - Power(x,2))*Power(-1 + xW,4)*Power(xW,4)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
306 term[18] = -(Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*Sqrt(1 - Power(
beta2,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(phi + 2*Phi1)*(Power(gqL,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs) + Power(gqR,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs))*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*Power(shs,2)*sh1*sh2)/(786432.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(1 - Power(x,2))*Power(-1 + xW,4)*Power(xW,4)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
308 term[19] = -(Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*Sqrt(1 - Power(
beta2,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(phi + 2*Phi1)*(Power(gqR,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs) + Power(gqL,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs))*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*Power(shs,2)*sh1*sh2)/(786432.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(1 - Power(x,2))*Power(-1 + xW,4)*Power(xW,4)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
310 term[20] = (Power(alpha,4)*
beta1*(1 +
beta1*
beta2)*Power(M1,2)*Power(M2,2)*(1 + x)*((
beta1 +
beta2 -
beta1*x +
beta2*x)*Sqrt(
beta1*
beta2*(1 - Power(x,2))) + (1 + Power(
beta1,2)*Power(
beta2,2))*(-1 + Power(x,2)))*Cos(phi + 2*Phi1)*hs*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*Power(shs,2)*(Power(gqR,4)*Power(1 + hs,2) - Power(gqL,4)*Power(shs,2))*sh1*sh2)/(49152.*Sqrt((-1 + Power(
beta1,2))*(-1 + Power(
beta2,2)))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(-1 + Power(x,2))*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
312 term[21] = (Power(alpha,4)*
beta1*(1 +
beta1*
beta2)*Power(M1,2)*Power(M2,2)*(1 + x)*((
beta1 +
beta2 -
beta1*x +
beta2*x)*Sqrt(
beta1*
beta2*(1 - Power(x,2))) + (1 + Power(
beta1,2)*Power(
beta2,2))*(-1 + Power(x,2)))*Cos(phi + 2*Phi1)*hs*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*Power(shs,2)*(Power(gqL,4)*Power(1 + hs,2) - Power(gqR,4)*Power(shs,2))*sh1*sh2)/(49152.*Sqrt((-1 + Power(
beta1,2))*(-1 + Power(
beta2,2)))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(-1 + Power(x,2))*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
314 term[22] = -(Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*Sqrt(1 - Power(
beta2,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(phi)*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*(Power(gqR,4)*Power(1 + hs,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs) + Power(gqL,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs)*Power(shs,4))*sh1*sh2)/(786432.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(1 - Power(x,2))*Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
316 term[23] = -(Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*Sqrt(1 - Power(
beta2,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(phi)*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*(Power(gqL,4)*Power(1 + hs,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs) + Power(gqR,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs)*Power(shs,4))*sh1*sh2)/(786432.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(1 - Power(x,2))*Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
318 term[24] = (Power(alpha,4)*
beta1*(1 +
beta1*
beta2)*Sqrt(1 - Power(
beta2,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*Cos(phi + Phi1 - 2*(-Phi1 + Pi))*((-Power(gqL,4) + Power(gqR,4))*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2)) + 4*(Power(gqL,4) + Power(gqR,4))*(1 + x)*hs)*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*Power(shs,3)*Power(sh1,2)*sh2)/(393216.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*Power(-1 - Power(
beta1,2)*Power(
beta2,2) + Power(x +
beta1*
beta2*x,2) + 2*
beta1*
beta2*hsdb,2));
320 term[25] = (Power(alpha,4)*
beta1*(1 +
beta1*
beta2)*Sqrt(1 - Power(
beta2,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*Cos(phi + Phi1 - 2*(-Phi1 + Pi))*((Power(gqL,4) - Power(gqR,4))*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2)) + 4*(Power(gqL,4) + Power(gqR,4))*(1 + x)*hs)*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*Power(shs,3)*Power(sh1,2)*sh2)/(393216.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*Power(-1 - Power(
beta1,2)*Power(
beta2,2) + Power(x +
beta1*
beta2*x,2) + 2*
beta1*
beta2*hsdb,2));
322 term[26] = (Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*((
beta1 +
beta2 -
beta1*x +
beta2*x)*Sqrt(
beta1*
beta2*(1 - Power(x,2))) + (1 + Power(
beta1,2)*Power(
beta2,2))*(-1 + Power(x,2)))*Cos(phi + Phi1)*hs*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*shs*(-(Power(gqR,4)*Power(1 + hs,2)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs)) - Power(gqL,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*Power(shs,2))*Power(sh1,2)*sh2)/(98304.*Sqrt((-1 + Power(
beta1,2))*(-1 + Power(
beta2,2)))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(-1 + x)*(-1 + Power(x,2))*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
324 term[27] = (Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*((
beta1 +
beta2 -
beta1*x +
beta2*x)*Sqrt(
beta1*
beta2*(1 - Power(x,2))) + (1 + Power(
beta1,2)*Power(
beta2,2))*(-1 + Power(x,2)))*Cos(phi + Phi1)*hs*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*shs*(-(Power(gqL,4)*Power(1 + hs,2)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs)) - Power(gqR,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*Power(shs,2))*Power(sh1,2)*sh2)/(98304.*Sqrt((-1 + Power(
beta1,2))*(-1 + Power(
beta2,2)))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(-1 + x)*(-1 + Power(x,2))*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
326 term[28] = (Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta2,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*Cos(phi + Phi1 + 2*(-Phi1 + Pi))*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*shs*(Power(gqR,4)*Power(1 + hs,2)*(-((1 +
beta1*
beta2)*x) + (1 -
beta1*
beta2)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs) + Power(gqL,4)*(x +
beta1*
beta2*x + hs -
beta1*
beta2*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs)*Power(shs,2))*Power(sh1,2)*sh2)/(393216.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
328 term[29] = (Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta2,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*Cos(phi + Phi1 + 2*(-Phi1 + Pi))*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h2)*shs*(Power(gqL,4)*Power(1 + hs,2)*(-((1 +
beta1*
beta2)*x) + (1 -
beta1*
beta2)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs) + Power(gqR,4)*(x +
beta1*
beta2*x + hs -
beta1*
beta2*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs)*Power(shs,2))*Power(sh1,2)*sh2)/(393216.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
330 term[30] = (Power(alpha,4)*
beta1*(1 +
beta1*
beta2)*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(2*(phi + Phi1))*(4*(gL - gR)*(gL + gR)*h1 - (Power(gL,2) + Power(gR,2))*(3 + h1db))*Power(shs,2)*(Power(gqR,4)*Power(1 + hs,2)*(x +
beta1*
beta2*x + hs -
beta1*
beta2*hs) + Power(gqL,4)*(x +
beta1*
beta2*x + (-1 +
beta1*
beta2)*hs)*Power(shs,2))*Power(sh2,2))/(393216.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
332 term[31] = (Power(alpha,4)*
beta1*(1 +
beta1*
beta2)*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(2*(phi + Phi1))*(4*(gL - gR)*(gL + gR)*h1 + (Power(gL,2) + Power(gR,2))*(3 + h1db))*Power(shs,2)*(-(Power(gqL,4)*Power(1 + hs,2)*(x +
beta1*
beta2*x + hs -
beta1*
beta2*hs)) - Power(gqR,4)*(x +
beta1*
beta2*x + (-1 +
beta1*
beta2)*hs)*Power(shs,2))*Power(sh2,2))/(393216.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
334 term[32] = (Power(alpha,4)*
beta1*(1 - Power(
beta2,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(4*(-Power(gL,2) + Power(gR,2))*h1 + (Power(gL,2) + Power(gR,2))*(3 + h1db))*(Power(gqR,4)*Power(1 + hs,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs,2) + Power(gqL,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs,2)*Power(shs,4))*Power(sh2,2))/(3.145728e6*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(1 + x)*Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
336 term[33] = (Power(alpha,4)*
beta1*(1 - Power(
beta2,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(4*(gL - gR)*(gL + gR)*h1 + (Power(gL,2) + Power(gR,2))*(3 + h1db))*(Power(gqL,4)*Power(1 + hs,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs,2) + Power(gqR,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs,2)*Power(shs,4))*Power(sh2,2))/(3.145728e6*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(1 + x)*Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
338 term[34] = -(Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*(1 +
beta1*
beta2)*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(Phi1 + 2*(phi + Phi1))*((-Power(gqL,4) + Power(gqR,4))*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2)) + 4*(Power(gqL,4) + Power(gqR,4))*(-1 + x)*hs)*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*Power(shs,3)*sh1*Power(sh2,2))/(393216.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(-1 + x)*Power(-1 + xW,4)*Power(xW,4)*Power(-1 - Power(
beta1,2)*Power(
beta2,2) + Power(x +
beta1*
beta2*x,2) + 2*
beta1*
beta2*hsdb,2));
340 term[35] = -(Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*(1 +
beta1*
beta2)*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(Phi1 + 2*(phi + Phi1))*((Power(gqL,4) - Power(gqR,4))*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2)) + 4*(Power(gqL,4) + Power(gqR,4))*(-1 + x)*hs)*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*Power(shs,3)*sh1*Power(sh2,2))/(393216.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(-1 + x)*Power(-1 + xW,4)*Power(xW,4)*Power(-1 - Power(
beta1,2)*Power(
beta2,2) + Power(x +
beta1*
beta2*x,2) + 2*
beta1*
beta2*hsdb,2));
342 term[36] = (Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta2,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*((
beta1 +
beta2 -
beta1*x +
beta2*x)*Sqrt(
beta1*
beta2*(1 - Power(x,2))) + (1 + Power(
beta1,2)*Power(
beta2,2))*(-1 + Power(x,2)))*Cos(Phi1)*hs*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*shs*(-(Power(gqR,4)*Power(1 + hs,2)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs)) - Power(gqL,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs)*Power(shs,2))*sh1*Power(sh2,2))/(98304.*Sqrt((-1 + Power(
beta1,2))*(-1 + Power(
beta2,2)))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(-1 + Power(x,2))*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
344 term[37] = (Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta2,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*((
beta1 +
beta2 -
beta1*x +
beta2*x)*Sqrt(
beta1*
beta2*(1 - Power(x,2))) + (1 + Power(
beta1,2)*Power(
beta2,2))*(-1 + Power(x,2)))*Cos(Phi1)*hs*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*shs*(-(Power(gqL,4)*Power(1 + hs,2)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs)) - Power(gqR,4)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs)*Power(shs,2))*sh1*Power(sh2,2))/(98304.*Sqrt((-1 + Power(
beta1,2))*(-1 + Power(
beta2,2)))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(-1 + Power(x,2))*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
346 term[38] = (Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(Phi1 - 2*(phi + Phi1))*(-Power(gL,2) + Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*shs*(Power(gqR,4)*Power(1 + hs,2)*(x +
beta1*
beta2*x + hs -
beta1*
beta2*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs) - Power(gqL,4)*(x +
beta1*
beta2*x + (-1 +
beta1*
beta2)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*Power(shs,2))*sh1*Power(sh2,2))/(393216.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(-1 + x)*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
348 term[39] = (Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(Phi1 - 2*(phi + Phi1))*(Power(gL,2) - Power(gR,2) + (Power(gL,2) + Power(gR,2))*h1)*shs*(Power(gqL,4)*Power(1 + hs,2)*(x +
beta1*
beta2*x + hs -
beta1*
beta2*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs) - Power(gqR,4)*(x +
beta1*
beta2*x + (-1 +
beta1*
beta2)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*Power(shs,2))*sh1*Power(sh2,2))/(393216.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(-1 + x)*Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
350 term[40] = -(Power(alpha,4)*
beta1*(Power(gqL,4) + Power(gqR,4))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(2*(phi + Pi))*(x +
beta1*
beta2*x + hs -
beta1*
beta2*hs)*(x +
beta1*
beta2*x + (-1 +
beta1*
beta2)*hs)*Power(shs,2)*Power(sh1,2)*Power(sh2,2))/(196608.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*Power(-1 - Power(
beta1,2)*Power(
beta2,2) + Power(x +
beta1*
beta2*x,2) + 2*
beta1*
beta2*hsdb,2));
352 term[41] = (Power(alpha,4)*
beta1*(-1 + Power(
beta2,2))*(Power(gqL,4) + Power(gqR,4))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*Cos(2*(-Phi1 + Pi))*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs)*Power(shs,2)*Power(sh1,2)*Power(sh2,2))/(786432.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*(1 + x)*Power(-1 + xW,4)*Power(xW,4)*Power(-1 - Power(
beta1,2)*Power(
beta2,2) + Power(x +
beta1*
beta2*x,2) + 2*
beta1*
beta2*hsdb,2));
354 term[42] = (Power(alpha,4)*
beta1*(-1 + Power(
beta1,2))*(Power(gqL,4) + Power(gqR,4))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(2*(phi + Phi1))*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x + (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs)*Power(shs,2)*Power(sh1,2)*Power(sh2,2))/(786432.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + x,2)*Power(-1 + xW,4)*Power(xW,4)*Power(-1 - Power(
beta1,2)*Power(
beta2,2) + Power(x +
beta1*
beta2*x,2) + 2*
beta1*
beta2*hsdb,2));
356 term[43] = -(Power(alpha,4)*
beta1*Power(1 +
beta1*
beta2,2)*(Power(gqL,4) + Power(gqR,4))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(2*(-phi - 2*Phi1 + Pi))*Power(shs,4)*Power(sh1,2)*Power(sh2,2))/(196608.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + xW,4)*Power(xW,4)*Power(-1 - Power(
beta1,2)*Power(
beta2,2) + Power(x +
beta1*
beta2*x,2) + 2*
beta1*
beta2*hsdb,2));
358 term[44] = (Power(alpha,4)*
beta1*(Power(gqL,4) + Power(gqR,4))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*(1 + x)*Power((
beta1 +
beta2 -
beta1*x +
beta2*x)*Sqrt(
beta1*
beta2*(1 - Power(x,2))) + (1 + Power(
beta1,2)*Power(
beta2,2))*(-1 + Power(x,2)),2)*Power(shsdb,2)*Power(sh1,2)*Power(sh2,2))/(98304.*(-1 + Power(
beta1,2))*(-1 + Power(
beta2,2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*(Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,3)*s*Power(-1 + Power(x,2),2)*Power(-1 + xW,4)*Power(xW,4)*Power(Power(-1 +
beta1*
beta2,2) - Power(x +
beta1*
beta2*x,2) + 4*
beta1*
beta2*Power(shs,2),2));
360 double returnVal = 0.;
361 for (
int i = 0; i < nterms; i++){
363 if (term[i] != term[i]) {
364 std::cout <<
"term[" << i <<
"] isNaN" << std::endl;
367 returnVal += term[i];
370 if (returnVal <= 0) returnVal = 1.e-40;
382 double s = mZZ_c*mZZ_c;
389 double Phi1 = Phi1_c;
398 double shs = Sqrt(1-hs*hs);
399 double sh1 = Sqrt(1-h1*h1);
402 double shsdb = 2*hs*shs;
403 double h1db = 1 - 2*sh1*sh1;
406 double x = (M1*M1-M2*M2)/s;
407 double beta1 = Sqrt(1. - (4.*M1*M1)/(s*(1+x)*(1+x)));
408 double beta2 = Sqrt(1. - (4.*M2*M2)/(s*(1+x)*(1+x)));
410 double gamma = 2.475;
412 double Pi = TMath::Pi();
413 double alpha = 1./137;
415 double Tf3 = -1/2.;
double Qf = -1.;
416 double gL = 2.*(Tf3 - xW*Qf), gR = -2.*xW*Qf;
420 qTf3 = 1/2.; qQf = 2./3.;
423 qTf3 = -1/2.; qQf = -1./3.;
425 double gqL = 2.*(qTf3 - xW*qQf), gqR = -2.*xW*qQf;
428 const int nterms = 9;
432 term[0] = (Power(alpha,4)*
beta1*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*
435 (4*(gL - gR)*(gL + gR)*h1 + (Power(gL,2) + Power(gR,2))*(3 + h1db))*
437 (73728.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
438 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + xW,4)*
442 term[1] = (Power(alpha,4)*
beta1*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*
445 (4*(-Power(gL,2) + Power(gR,2))*h1 + (Power(gL,2) + Power(gR,2))*(3 + h1db))*
447 (73728.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
448 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + xW,4)*
452 term[2] = (Power(alpha,4)*
beta1*Power(1 +
beta1*
beta2,2)*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*
453 (1 + x)*(4*(-Power(gL,2) + Power(gR,2))*h1 +
454 (Power(gL,2) + Power(gR,2))*(3 + h1db))*Power(shs,2)*
455 (Power(gqR,4)*Power(1 + hs,4) + Power(gqL,4)*Power(shs,4)))/
456 (73728.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
457 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + xW,4)*
461 term[3] = (Power(alpha,4)*
beta1*Power(1 +
beta1*
beta2,2)*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*
462 (1 + x)*(4*(gL - gR)*(gL + gR)*h1 + (Power(gL,2) + Power(gR,2))*(3 + h1db))*
463 Power(shs,2)*(Power(gqL,4)*Power(1 + hs,4) + Power(gqR,4)*Power(shs,4)))/
464 (73728.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
465 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + xW,4)*
469 term[4] = (Power(alpha,4)*
beta1*(1 - Power(
beta2,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*
470 (4*(-Power(gL,2) + Power(gR,2))*h1 + (Power(gL,2) + Power(gR,2))*(3 + h1db))*
471 (Power(gqR,4)*Power(1 + hs,4)*
473 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs,2) +
474 Power(gqL,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
475 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs,2)*
477 (589824.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
478 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*(1 + x)*Power(-1 + xW,4)*
482 term[5] = (Power(alpha,4)*
beta1*(1 - Power(
beta2,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*
483 (4*(gL - gR)*(gL + gR)*h1 + (Power(gL,2) + Power(gR,2))*(3 + h1db))*
484 (Power(gqL,4)*Power(1 + hs,4)*
486 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs,2) +
487 Power(gqR,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
488 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs,2)*
490 (589824.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
491 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*(1 + x)*Power(-1 + xW,4)*
495 term[6] = (Power(alpha,4)*
beta1*(1 - Power(
beta1,2))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*
496 (1 + x)*(Power(gqR,4)*Power(1 + hs,4)*
498 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs,2) +
499 Power(gqL,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
500 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs,2)*
501 Power(shs,4))*Power(sh1,2))/
502 (147456.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
503 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + x,2)*
504 Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*
507 term[7] = (Power(alpha,4)*
beta1*(1 - Power(
beta1,2))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
508 Power(M2,2)*(1 + x)*(Power(gqL,4)*Power(1 + hs,4)*
510 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs,2) +
511 Power(gqR,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
512 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs,2)*
513 Power(shs,4))*Power(sh1,2))/
514 (147456.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
515 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + x,2)*
516 Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*
519 term[8] = (Power(alpha,4)*
beta1*(Power(gqL,4) + Power(gqR,4))*Power(Power(gL,2) + Power(gR,2),2)*
522 Power(shsdb,2)*Power(sh1,2))/
523 (18432.*(-1 + Power(
beta1,2))*(-1 + Power(
beta2,2))*
524 (Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
525 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + Power(x,2),2)*
530 double returnVal = 0.;
531 for (
int i = 0; i < nterms; i++){
533 if (term[i] != term[i]) {
537 returnVal += term[i];
540 if (returnVal <= 0) returnVal = 1.e-40;
548 double s = mZZ_c*mZZ_c;
555 double Phi1 = Phi1_c;
564 double shs = Sqrt(1-hs*hs);
566 double sh2 = Sqrt(1-h2*h2);
568 double shsdb = 2*hs*shs;
570 double h2db = 1 - 2*sh2*sh2;
572 double x = (M1*M1-M2*M2)/s;
573 double beta1 = Sqrt(1. - (4.*M1*M1)/(s*(1+x)*(1+x)));
574 double beta2 = Sqrt(1. - (4.*M2*M2)/(s*(1+x)*(1+x)));
576 double gamma = 2.475;
578 double Pi = TMath::Pi();
579 double alpha = 1./137;
581 double Tf3 = -1/2.;
double Qf = -1.;
582 double gL = 2.*(Tf3 - xW*Qf), gR = -2.*xW*Qf;
586 qTf3 = 1/2.; qQf = 2./3.;
589 qTf3 = -1/2.; qQf = -1./3.;
591 double gqL = 2.*(qTf3 - xW*qQf), gqR = -2.*xW*qQf;
593 const int nterms = 9;
596 term[0] = (Power(alpha,4)*
beta1*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*
599 (4*(gL - gR)*(gL + gR)*h2 + (Power(gL,2) + Power(gR,2))*(3 + h2db))*
601 (73728.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
602 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + xW,4)*
606 term[1] = (Power(alpha,4)*
beta1*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*
609 (4*(-Power(gL,2) + Power(gR,2))*h2 + (Power(gL,2) + Power(gR,2))*(3 + h2db))*
611 (73728.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
612 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + xW,4)*
616 term[2] = (Power(alpha,4)*
beta1*Power(1 +
beta1*
beta2,2)*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*
617 (1 + x)*(4*(gL - gR)*(gL + gR)*h2 + (Power(gL,2) + Power(gR,2))*(3 + h2db))*
618 Power(shs,2)*(Power(gqR,4)*Power(1 + hs,4) + Power(gqL,4)*Power(shs,4)))/
619 (73728.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
620 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + xW,4)*
624 term[3] = (Power(alpha,4)*
beta1*Power(1 +
beta1*
beta2,2)*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*
625 (1 + x)*(4*(-Power(gL,2) + Power(gR,2))*h2 +
626 (Power(gL,2) + Power(gR,2))*(3 + h2db))*Power(shs,2)*
627 (Power(gqL,4)*Power(1 + hs,4) + Power(gqR,4)*Power(shs,4)))/
628 (73728.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
629 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + xW,4)*
633 term[4] = (Power(alpha,4)*
beta1*(1 - Power(
beta1,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*
634 (1 + x)*(4*(gL - gR)*(gL + gR)*h2 + (Power(gL,2) + Power(gR,2))*(3 + h2db))*
635 (Power(gqR,4)*Power(1 + hs,4)*
637 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs,2) +
638 Power(gqL,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
639 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs,2)*
641 (589824.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
642 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + x,2)*
643 Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*
646 term[5] = (Power(alpha,4)*
beta1*(1 - Power(
beta1,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*
647 (1 + x)*(4*(-Power(gL,2) + Power(gR,2))*h2 +
648 (Power(gL,2) + Power(gR,2))*(3 + h2db))*
649 (Power(gqL,4)*Power(1 + hs,4)*
651 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs,2) +
652 Power(gqR,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
653 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs,2)*
655 (589824.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
656 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + x,2)*
657 Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*
660 term[6] = (Power(alpha,4)*
beta1*(1 - Power(
beta2,2))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
661 Power(M2,2)*(Power(gqR,4)*Power(1 + hs,4)*
663 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs,2) +
664 Power(gqL,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
665 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs,2)*
666 Power(shs,4))*Power(sh2,2))/
667 (147456.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
668 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*(1 + x)*Power(-1 + xW,4)*
672 term[7] = (Power(alpha,4)*
beta1*(1 - Power(
beta2,2))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*
673 (Power(gqL,4)*Power(1 + hs,4)*
675 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs,2) +
676 Power(gqR,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
677 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs,2)*
678 Power(shs,4))*Power(sh2,2))/
679 (147456.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
680 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*(1 + x)*Power(-1 + xW,4)*
684 term[8] = (Power(alpha,4)*
beta1*(Power(gqL,4) + Power(gqR,4))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
686 (1 + Power(
beta1,2)*Power(
beta2,2))*(-1 + Power(x,2)),2)*Power(shsdb,2)*
688 (18432.*(-1 + Power(
beta1,2))*(-1 + Power(
beta2,2))*
689 (Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
690 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + Power(x,2),2)*
694 double returnVal = 0.;
695 for (
int i = 0; i < nterms; i++){
697 if (term[i] != term[i]) {
701 returnVal += term[i];
704 if (returnVal <= 0) returnVal = 1.e-40;
712 double s = mZZ_c*mZZ_c;
719 double Phi1 = Phi1_c;
738 double shs = Sqrt(1-hs*hs);
741 double hsdb = 1 - 2*shs*shs;
742 double shsdb = 2*hs*shs;
746 double x = (M1*M1-M2*M2)/s;
747 double beta1 = Sqrt(1. - (4.*M1*M1)/(s*(1+x)*(1+x)));
748 double beta2 = Sqrt(1. - (4.*M2*M2)/(s*(1+x)*(1+x)));
750 double gamma = 2.475;
752 double Pi = TMath::Pi();
753 double alpha = 1./137;
755 double Tf3 = -1/2.;
double Qf = -1.;
756 double gL = 2.*(Tf3 - xW*Qf), gR = -2.*xW*Qf;
760 qTf3 = 1/2.; qQf = 2./3.;
763 qTf3 = -1/2.; qQf = -1./3.;
765 double gqL = 2.*(qTf3 - xW*qQf), gqR = -2.*xW*qQf;
778 const int nterms = 18;
782 term[0] = (Power(alpha,4)*
beta1*(-1 + Power(
beta2,2))*(Power(gqL,4) + Power(gqR,4))*
783 Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*Cos(2*(-Phi1 + Pi))*
785 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs)*
787 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs)*Power(shs,2))/
788 (221184.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
789 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*(1 + x)*
790 Power(-1 + xW,4)*Power(xW,4)*Power(-1 - Power(
beta1,2)*Power(
beta2,2) +
794 term[1] = (Power(alpha,4)*
beta1*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*(1 + x)*
797 (27648.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
798 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*Power(-1 + xW,4)*
802 term[2] = (Power(alpha,4)*
beta1*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*(1 + x)*
805 (27648.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
806 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*Power(-1 + xW,4)*
810 term[3] = (Power(alpha,4)*
beta1*(1 +
beta1*
beta2)*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*
811 (1 + x)*Cos(2*(-Phi1 + Pi))*Power(shs,2)*
814 (27648.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
815 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*Power(-1 + xW,4)*
819 term[4] = -(Power(alpha,4)*
beta1*(1 +
beta1*
beta2)*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*
820 (1 + x)*Cos(2*(-Phi1 + Pi))*Power(shs,2)*
823 (27648.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
824 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*Power(-1 + xW,4)*
828 term[5] = (Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*(gL - gR)*(gL + gR)*(Power(gL,2) + Power(gR,2))*
829 Power(M1,2)*Power(M2,2)*(1 + x)*Cos(Phi1)*shs*
832 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs) -
835 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*Power(shs,2)
836 ))/(147456.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
837 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*(-1 + x)*Power(-1 + xW,4)*
841 term[6] = -(Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*(-Power(gL,2) + Power(gR,2))*
842 (Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(Phi1)*shs*
845 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs)) +
848 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*Power(shs,2)
849 ))/(147456.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
850 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*(-1 + x)*Power(-1 + xW,4)*
854 term[7] = (Power(alpha,4)*
beta1*Sqrt((1 - Power(
beta2,2))/((-1 + Power(
beta1,2))*(-1 + Power(
beta2,2))))*
855 (-Power(gL,2) + Power(gR,2))*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*
857 (1 + Power(
beta1,2)*Power(
beta2,2))*(-1 + Power(x,2)))*Cos(Phi1)*hs*shs*
858 (-(Power(gqR,4)*Power(1 + hs,2)*
860 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs)) -
862 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs)*Power(shs,2))
863 )/(73728.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
864 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*(-1 + Power(x,2))*
865 Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*
868 term[8] = (Power(alpha,4)*
beta1*Sqrt((1 - Power(
beta2,2))/((-1 + Power(
beta1,2))*(-1 + Power(
beta2,2))))*
869 (gL - gR)*(gL + gR)*(Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*
871 (1 + Power(
beta1,2)*Power(
beta2,2))*(-1 + Power(x,2)))*Cos(Phi1)*hs*shs*
872 (-(Power(gqL,4)*Power(1 + hs,2)*
874 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs)) -
876 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs)*Power(shs,2))
877 )/(73728.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
878 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*(-1 + Power(x,2))*
879 Power(-1 + xW,4)*Power(xW,4)*(1 + hs)*
882 term[9] = (Power(alpha,4)*
beta1*Power(1 +
beta1*
beta2,2)*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
883 Power(M2,2)*(1 + x)*Power(shs,2)*
884 (Power(gqR,4)*Power(1 + hs,4) + Power(gqL,4)*Power(shs,4)))/
885 (27648.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
886 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*Power(-1 + xW,4)*
890 term[10] = (Power(alpha,4)*
beta1*Power(1 +
beta1*
beta2,2)*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
891 Power(M2,2)*(1 + x)*Power(shs,2)*
892 (Power(gqL,4)*Power(1 + hs,4) + Power(gqR,4)*Power(shs,4)))/
893 (27648.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
894 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*Power(-1 + xW,4)*
898 term[11] = -(Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*(1 +
beta1*
beta2)*(-Power(gL,2) + Power(gR,2))*
899 (Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(Phi1)*shs*
900 (-(Power(gqR,4)*Power(1 + hs,4)*
902 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs)) +
904 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*Power(shs,4)
905 ))/(147456.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
906 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*(1 - x)*Power(-1 + xW,4)*
910 term[12] = (Power(alpha,4)*
beta1*Sqrt(1 - Power(
beta1,2))*(1 +
beta1*
beta2)*(gL - gR)*(gL + gR)*
911 (Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(Phi1)*shs*
912 (Power(gqL,4)*Power(1 + hs,4)*
914 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs) -
916 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*Power(shs,4)
917 ))/(147456.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
918 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*(1 - x)*Power(-1 + xW,4)*
922 term[13] = (Power(alpha,4)*
beta1*(1 - Power(
beta1,2))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*
923 (1 + x)*(Power(gqR,4)*Power(1 + hs,4)*
925 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs,2) +
926 Power(gqL,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
927 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs,2)*
929 (221184.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
930 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*Power(-1 + x,2)*
931 Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*
935 term[14] = (Power(alpha,4)*
beta1*(1 - Power(
beta1,2))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
936 Power(M2,2)*(1 + x)*(Power(gqL,4)*Power(1 + hs,4)*
938 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs,2) +
939 Power(gqR,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
940 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs,2)*
942 (221184.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
943 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*Power(-1 + x,2)*
944 Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*
948 term[15] = (Power(alpha,4)*
beta1*(1 - Power(
beta2,2))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
949 Power(M2,2)*(Power(gqR,4)*Power(1 + hs,4)*
951 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs,2) +
952 Power(gqL,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
953 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs,2)*
955 (221184.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
956 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*(1 + x)*
957 Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*
961 term[16] = (Power(alpha,4)*
beta1*(1 - Power(
beta2,2))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
962 Power(M2,2)*(Power(gqL,4)*Power(1 + hs,4)*
964 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs,2) +
965 Power(gqR,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
966 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs,2)*
968 (221184.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
969 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*(1 + x)*
970 Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*
973 term[17] = (Power(alpha,4)*
beta1*(Power(gqL,4) + Power(gqR,4))*Power(Power(gL,2) + Power(gR,2),2)*
977 (27648.*(-1 + Power(
beta1,2))*(-1 + Power(
beta2,2))*
978 (Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
979 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*
980 Power(-1 + Power(x,2),2)*Power(-1 + xW,4)*Power(xW,4)*
984 double returnVal = 0.;
986 for (
int i = 0; i < nterms; i++){
988 if (term[i] != term[i]) {
992 returnVal += term[i];
995 if (returnVal <= 0) returnVal = 1.e-40;
1005 double s = mZZ_c*mZZ_c;
1012 double Phi1 = Phi1_c;
1016 Phi1 += TMath::Pi();
1021 double shs = Sqrt(1-hs*hs);
1024 double hsdb = 1 - 2*shs*shs;
1025 double shsdb = 2*hs*shs;
1029 double x = (M1*M1-M2*M2)/s;
1030 double beta1 = Sqrt(1. - (4.*M1*M1)/(s*(1+x)*(1+x)));
1031 double beta2 = Sqrt(1. - (4.*M2*M2)/(s*(1+x)*(1+x)));
1033 double gamma = 2.475;
1035 double Pi = TMath::Pi();
1036 double alpha = 1./137;
1038 double Tf3 = -1/2.;
double Qf = -1.;
1039 double gL = 2.*(Tf3 - xW*Qf), gR = -2.*xW*Qf;
1043 qTf3 = 1/2.; qQf = 2./3.;
1046 qTf3 = -1/2.; qQf = -1./3.;
1048 double gqL = 2.*(qTf3 - xW*qQf), gqR = -2.*xW*qQf;
1050 const int nterms = 14;
1051 double term[nterms];
1054 term[0] = -(Power(alpha,4)*
beta1*(Power(gqL,4) + Power(gqR,4))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
1057 (55296.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1058 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*Power(-1 + xW,4)*
1062 term[1] = - (Power(alpha,4)*
beta1*Power(gL - gR,2)*Power(gL + gR,2)*
1065 Cos(phi)*hs*((1 +
beta1*
beta2)*(Power(gqL,4) - Power(gqR,4))*x -
1066 (-1 +
beta1*
beta2)*(Power(gqL,4) + Power(gqR,4))*hs)*Power(shs,2))/
1067 (98304.*Sqrt((-1 + Power(
beta1,2))*(-1 + Power(
beta2,2)))*
1068 (Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1069 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*s*(1 - Power(x,2))*
1073 term[2] = - (Power(alpha,4)*
beta1*Power(-Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*(1 + x)*
1075 (1 + Power(
beta1,2)*Power(
beta2,2))*(-1 + Power(x,2)))*Cos(phi)*hs*
1076 ((1 +
beta1*
beta2)*(-Power(gqL,4) + Power(gqR,4))*x -
1077 (-1 +
beta1*
beta2)*(Power(gqL,4) + Power(gqR,4))*hs)*Power(shs,2))/
1078 (98304.*Sqrt((-1 + Power(
beta1,2))*(-1 + Power(
beta2,2)))*
1079 (Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1080 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*s*(1 - Power(x,2))*
1084 term[3] = (Power(alpha,4)*
beta1*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*(1 + x)*
1087 (27648.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1088 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*Power(-1 + xW,4)*
1092 term[4] = (Power(alpha,4)*
beta1*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*(1 + x)*
1095 (27648.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1096 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*Power(-1 + xW,4)*
1100 term[5] = (Power(alpha,4)*
beta1*Power(1 +
beta1*
beta2,2)*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
1101 Power(M2,2)*(1 + x)*Power(shs,2)*
1102 (Power(gqR,4)*Power(1 + hs,4) + Power(gqL,4)*Power(shs,4)))/
1103 (27648.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1104 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*Power(-1 + xW,4)*
1108 term[6] = (Power(alpha,4)*
beta1*Power(1 +
beta1*
beta2,2)*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
1109 Power(M2,2)*(1 + x)*Power(shs,2)*
1110 (Power(gqL,4)*Power(1 + hs,4) + Power(gqR,4)*Power(shs,4)))/
1111 (27648.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1112 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*Power(-1 + xW,4)*
1116 term[7] = (Power(alpha,4)*
beta1*(1 - Power(
beta1,2))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*
1117 (1 + x)*(Power(gqR,4)*Power(1 + hs,4)*
1119 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs,2) +
1120 Power(gqL,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
1121 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs,2)*
1123 (221184.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1124 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*Power(-1 + x,2)*
1125 Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*
1129 term[8] = (Power(alpha,4)*
beta1*(1 - Power(
beta1,2))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
1130 Power(M2,2)*(1 + x)*(Power(gqL,4)*Power(1 + hs,4)*
1132 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs,2) +
1133 Power(gqR,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
1134 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs,2)*
1136 (221184.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1137 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*Power(-1 + x,2)*
1138 Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*
1142 term[9] = - (Power(alpha,4)*
beta1*Sqrt((1 - Power(
beta1,2))*(1 - Power(
beta2,2)))*(gL - gR)*(gL + gR)*
1143 (-Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(phi)*
1144 (Power(gqR,4)*Power(1 + hs,4)*
1146 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs)*
1148 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs) +
1150 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*
1152 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs)*Power(shs,4))
1153 )/(1.572864e6*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1154 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*s*(1 - Power(x,2))*
1155 Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*
1159 term[10] = - (Power(alpha,4)*
beta1*Sqrt((1 - Power(
beta1,2))*(1 - Power(
beta2,2)))*(gL - gR)*(gL + gR)*
1160 (-Power(gL,2) + Power(gR,2))*Power(M1,2)*Power(M2,2)*(1 + x)*Cos(phi)*
1161 (Power(gqL,4)*Power(1 + hs,4)*
1163 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs)*
1165 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs) +
1167 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs)*
1169 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs)*Power(shs,4))
1170 )/(1.572864e6*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1171 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*s*(1 - Power(x,2))*
1172 Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*
1176 term[11] = (Power(alpha,4)*
beta1*(1 - Power(
beta2,2))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
1177 Power(M2,2)*(Power(gqR,4)*Power(1 + hs,4)*
1179 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs,2) +
1180 Power(gqL,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
1181 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs,2)*
1183 (221184.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1184 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*(1 + x)*
1185 Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*
1189 term[12] = (Power(alpha,4)*
beta1*(1 - Power(
beta2,2))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
1190 Power(M2,2)*(Power(gqL,4)*Power(1 + hs,4)*
1192 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs,2) +
1193 Power(gqR,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
1194 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs,2)*
1196 (221184.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1197 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*(1 + x)*
1198 Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*
1202 term[13] = (Power(alpha,4)*
beta1*(Power(gqL,4) + Power(gqR,4))*Power(Power(gL,2) + Power(gR,2),2)*
1206 (27648.*(-1 + Power(
beta1,2))*(-1 + Power(
beta2,2))*
1207 (Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1208 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Power(Pi,2)*s*
1209 Power(-1 + Power(x,2),2)*Power(-1 + xW,4)*Power(xW,4)*
1213 double returnVal = 0.;
1214 for (
int i = 0; i < nterms; i++){
1216 if (term[i] != term[i]) {
1220 returnVal += term[i];
1223 if (returnVal <= 0) returnVal = 1.e-40;
1230 double s = mZZ_c*mZZ_c;
1237 double Phi1 = Phi1_c;
1241 Phi1 += TMath::Pi();
1246 double shs = Sqrt(1-hs*hs);
1250 double shsdb = 2*hs*shs;
1254 double x = (M1*M1-M2*M2)/s;
1255 double beta1 = Sqrt(1. - (4.*M1*M1)/(s*(1+x)*(1+x)));
1256 double beta2 = Sqrt(1. - (4.*M2*M2)/(s*(1+x)*(1+x)));
1258 double gamma = 2.475;
1260 double Pi = TMath::Pi();
1261 double alpha = 1./137;
1263 double Tf3 = -1/2.;
double Qf = -1.;
1264 double gL = 2.*(Tf3 - xW*Qf), gR = -2.*xW*Qf;
1268 qTf3 = 1/2.; qQf = 2./3.;
1271 qTf3 = -1/2.; qQf = -1./3.;
1273 double gqL = 2.*(qTf3 - xW*qQf), gqR = -2.*xW*qQf;
1276 const int nterms = 9;
1277 double term[nterms];
1280 term[0] = (Power(alpha,4)*
beta1*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*(1 + x)*
1283 (13824.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1284 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + xW,4)*
1288 term[1] = (Power(alpha,4)*
beta1*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*(1 + x)*
1291 (13824.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1292 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + xW,4)*
1296 term[2] = (Power(alpha,4)*
beta1*Power(1 +
beta1*
beta2,2)*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
1297 Power(M2,2)*(1 + x)*Power(shs,2)*
1298 (Power(gqR,4)*Power(1 + hs,4) + Power(gqL,4)*Power(shs,4)))/
1299 (13824.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1300 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + xW,4)*
1304 term[3] = (Power(alpha,4)*
beta1*Power(1 +
beta1*
beta2,2)*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
1305 Power(M2,2)*(1 + x)*Power(shs,2)*
1306 (Power(gqL,4)*Power(1 + hs,4) + Power(gqR,4)*Power(shs,4)))/
1307 (13824.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1308 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + xW,4)*
1312 term[4] = (Power(alpha,4)*
beta1*(1 - Power(
beta1,2))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*
1313 (1 + x)*(Power(gqR,4)*Power(1 + hs,4)*
1315 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs,2) +
1316 Power(gqL,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
1317 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs,2)*
1319 (110592.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1320 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + x,2)*
1321 Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*
1325 term[5] = (Power(alpha,4)*
beta1*(1 - Power(
beta1,2))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
1326 Power(M2,2)*(1 + x)*(Power(gqL,4)*Power(1 + hs,4)*
1328 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(-1 + x)*hs,2) +
1329 Power(gqR,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
1330 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(-1 + x)*hs,2)*
1332 (110592.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1333 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + x,2)*
1334 Power(-1 + xW,4)*Power(xW,4)*Power(1 + hs,2)*
1338 term[6] = (Power(alpha,4)*
beta1*(1 - Power(
beta2,2))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
1339 Power(M2,2)*(Power(gqR,4)*Power(1 + hs,4)*
1341 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs,2) +
1342 Power(gqL,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
1343 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs,2)*
1345 (110592.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1346 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*(1 + x)*Power(-1 + xW,4)*
1350 term[7] = (Power(alpha,4)*
beta1*(1 - Power(
beta2,2))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*Power(M2,2)*
1351 (Power(gqL,4)*Power(1 + hs,4)*
1353 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) - 4*(1 + x)*hs,2) +
1354 Power(gqR,4)*Power(2 + Power(
beta1,2) + Power(
beta2,2) + 2*(Power(
beta1,2) - Power(
beta2,2))*x +
1355 (-2 + Power(
beta1,2) + Power(
beta2,2))*Power(x,2) + 4*(1 + x)*hs,2)*
1357 (110592.*(Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1358 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*(1 + x)*Power(-1 + xW,4)*
1362 term[8] = (Power(alpha,4)*
beta1*(Power(gqL,4) + Power(gqR,4))*Power(Power(gL,2) + Power(gR,2),2)*Power(M1,2)*
1364 (1 + Power(
beta1,2)*Power(
beta2,2))*(-1 + Power(x,2)),2)*Power(shsdb,2))/
1365 (13824.*(-1 + Power(
beta1,2))*(-1 + Power(
beta2,2))*
1366 (Power(gamma,2)*Power(MZ,2) + Power(Power(M1,2) - Power(MZ,2),2))*
1367 (Power(gamma,2)*Power(MZ,2) + Power(Power(M2,2) - Power(MZ,2),2))*Pi*s*Power(-1 + Power(x,2),2)*
1371 double returnVal = 0.;
1372 for (
int i = 0; i < nterms; i++){
1374 if (term[i] != term[i]) {
1378 returnVal += term[i];
1381 if (returnVal <= 0) returnVal = 1.e-40;