119 massHad =
new double[81];
120 brHad =
new double[81];
122 double mass[81] = { 0, 0.0625995, 0.125199, 0.187798, 0.250398, 0.312997, 0.375597, 0.438196, 0.500796, 0.563395, 0.625995, 0.688594, 0.751194, 0.813793, 0.876392, 0.938992, 1.00159, 1.06419, 1.12679, 1.18939, 1.25199, 1.31459, 1.37719, 1.43979, 1.50239, 1.56499, 1.62759, 1.69019, 1.75278, 1.81538, 1.87798, 1.94058, 2.00318, 2.06578, 2.12838, 2.19098, 2.25358, 2.31618, 2.37878, 2.44138, 2.50398, 2.56658, 2.62918, 2.69178, 2.75438, 2.81698, 2.87958, 2.94217, 3.00477, 3.06737, 3.12997, 3.19257, 3.25517, 3.31777, 3.38037, 3.44297, 3.50557, 3.56817, 3.63077, 3.69337, 3.75597, 3.81857, 3.88117, 3.94377, 4.00637, 4.06896, 4.13156, 4.19416, 4.25676, 4.31936, 4.38196, 4.44456, 4.50716, 4.56976, 4.63236, 4.69496, 4.75756, 4.82016, 4.88276, 4.94536, 5.00796};
124 double br[81] = { 0, 1.03244e-09, 3.0239e-08, 1.99815e-07, 7.29392e-07, 1.93129e-06, 4.17806e-06, 7.86021e-06, 1.33421e-05, 2.09196e-05, 3.07815e-05, 4.29854e-05, 5.74406e-05, 7.3906e-05, 9.2003e-05, 0.000111223, 0.000130977, 0.000150618, 0.000169483, 0.000186934, 0.000202392, 0.000215366, 0.000225491, 0.000232496, 0.000236274, 0.000236835, 0.000234313, 0.000228942, 0.000221042, 0.000210994, 0.000199215, 0.000186137, 0.000172194, 0.000157775, 0.000143255, 0.000128952, 0.000115133, 0.000102012, 8.97451e-05, 7.84384e-05, 6.81519e-05, 5.89048e-05, 5.06851e-05, 4.34515e-05, 3.71506e-05, 3.1702e-05, 2.70124e-05, 2.30588e-05, 1.96951e-05, 1.68596e-05, 1.44909e-05, 1.25102e-05, 1.08596e-05, 9.48476e-06, 8.34013e-06, 7.38477e-06, 6.58627e-06, 5.91541e-06, 5.35022e-06, 4.87047e-06, 4.46249e-06, 4.11032e-06, 3.80543e-06, 3.54051e-06, 3.30967e-06, 3.10848e-06, 2.93254e-06, 2.78369e-06, 2.65823e-06, 2.55747e-06, 2.51068e-06, 2.57179e-06, 2.74684e-06, 3.02719e-06, 3.41182e-06, 3.91387e-06, 4.56248e-06, 5.40862e-06, 6.53915e-06, 8.10867e-06, 1.04167e-05 };
126 for(
int i=0; i<81; i++){
127 massHad[i] =
mass[i];
136 int fermiFunction = (int)args[1];
143 _nIntervalS = args[8];
144 _nIntervalmH = args[9];
145 std::vector<double> mHVect(
int(_nIntervalmH+1.0));
146 massHad =
new double[int(_nIntervalmH+1.0)];
147 brHad =
new double[int(_nIntervalmH+1.0)];
148 intervalMH=_nIntervalmH;
151 report(
WARNING,
"EvtGen") <<
"EvtBtoXsgammaKagan: calculating new hadronic mass spectra. This takes a while..." << endl;
161 _lambdabar = _mB - _mb;
162 _kappabar = 3.382 - 4.14*(sqrt(_z) - 0.29);
166 _rer2 = -4.092 + 12.78*(sqrt(_z) -.29);
177 double eGammaMin = 0.5*_mB*(1. - _delta);
178 double eGammaMax = 0.5*_mB;
179 double yMin = 2.*eGammaMin/_mB;
180 double yMax = 2.*eGammaMax/_mB;
181 double _CKMrat= 0.976;
191 _etamu = _alphasmW/_alphasmu;
192 _kSLemmu = (12./23.)*((1./_etamu) -1.);
198 std::vector<double> s22Coeffs(
int(_nIntervalS+1.0));
199 std::vector<double> s27Coeffs(
int(_nIntervalS+1.0));
200 std::vector<double> s28Coeffs(
int(_nIntervalS+1.0));
202 double dy = (yMax - yMin)/_nIntervalS;
205 std::vector<double> sCoeffs(1);
218 for (i=0;i<int(_nIntervalS+1.0);i++) {
220 s22Coeffs[i] = (16./27.)*mys22Simp->
evaluate(1.0e-20,yp);
221 s27Coeffs[i] = (-8./9.)*_z*mys27Simp->
evaluate(1.0e-20,yp);
222 s28Coeffs[i] = -s27Coeffs[i]/3.;
234 std::vector<double> FermiCoeffs(6);
235 std::vector<double> varCoeffs(3);
236 std::vector<double> DeltaCoeffs(1);
237 std::vector<double> s88Coeffs(2);
238 std::vector<double> sInitCoeffs(3);
244 DeltaCoeffs[0] = _alphasmu;
249 sInitCoeffs[0] = _nIntervalS;
250 sInitCoeffs[1] = yMin;
251 sInitCoeffs[2] = yMax;
253 FermiCoeffs[0]=fermiFunction;
261 std::vector<double> gammaCoeffs(6);
262 gammaCoeffs[0]=76.18009172947146;
263 gammaCoeffs[1]=-86.50532032941677;
264 gammaCoeffs[2]=24.01409824083091;
265 gammaCoeffs[3]=-1.231739572450155;
266 gammaCoeffs[4]=0.1208650973866179e-2;
267 gammaCoeffs[5]=-0.5395239384953e-5;
271 if (fermiFunction == 1) {
273 FermiCoeffs[1]=_lambdabar;
274 FermiCoeffs[2]=(-3.*pow(_lambdabar,2.)/_lam1) - 1.;
275 FermiCoeffs[3]=_lam1;
281 delete myNormFunc; myNormFunc=0;
282 delete myNormSimp; myNormSimp=0;
284 }
else if (fermiFunction == 2) {
287 FermiCoeffs[1]=_lambdabar;
296 delete myNormFunc; myNormFunc=0;
297 delete myNormSimp; myNormSimp=0;
300 else if (fermiFunction == 3) {
306 FermiCoeffs[4]=_lambdabar;
312 delete myNormFunc; myNormFunc=0;
313 delete myNormSimp; myNormSimp=0;
343 double mHmin = sqrt(_mB*_mB - 2.*_mB*eGammaMax);
344 double mHmax = sqrt(_mB*_mB - 2.*_mB*eGammaMin);
345 double dmH = (mHmax - mHmin)/_nIntervalmH;
350 for (i=0;i<int(_nIntervalmH+1.0);i++) {
352 double ymH = 1. - ((mH*mH)/(_mB*_mB));
355 myDeltaFermiFunc->
setCoeff(2, 2, ymH);
356 mys77FermiFunc->
setCoeff(2, 2, ymH);
357 mys88FermiFunc->
setCoeff(2, 2, ymH);
358 mys78FermiFunc->
setCoeff(2, 2, ymH);
359 mys22FermiFunc->
setCoeff(2, 2, ymH);
360 mys27FermiFunc->
setCoeff(2, 2, ymH);
361 mys28FermiFunc->
setCoeff(2, 2, ymH);
365 double deltaResult = myDeltaFermiSimp->
evaluate((_mB*ymH-_mb),_mB-_mb);
366 double s77Result = mys77FermiSimp->
evaluate((_mB*ymH-_mb),_mB-_mb);
367 double s88Result = mys88FermiSimp->
evaluate((_mB*ymH-_mb),_mB-_mb);
368 double s78Result = mys78FermiSimp->
evaluate((_mB*ymH-_mb),_mB-_mb);
369 double s22Result = mys22FermiSimp->
evaluate((_mB*ymH-_mb),_mB-_mb);
370 double s27Result = mys27FermiSimp->
evaluate((_mB*ymH-_mb),_mB-_mb);
372 double py = (pow(_CKMrat,2.)*(6./_fz)*(_alpha/
EvtConst::pi)*(deltaResult*_cDeltatot + (_alphasmu/
EvtConst::pi)*(s77Result*pow(_c70mu,2.) + s27Result*_c2mu*(_c70mu - _c80mu/3.) + s78Result*_c70mu*_c80mu + s22Result*_c2mu*_c2mu + s88Result*_c80mu*_c80mu ) ) );
374 mHVect[i] = 2.*(mH/(_mB*_mB))*0.105*Nsl*py;
377 brHad[i] = 2.*(mH/(_mB*_mB))*0.105*Nsl*py;
384 delete myDeltaFermiFunc; myDeltaFermiFunc=0;
385 delete mys88FermiFunc; mys88FermiFunc=0;
386 delete mys77FermiFunc; mys77FermiFunc=0;
387 delete mys78FermiFunc; mys78FermiFunc=0;
388 delete mys22FermiFunc; mys22FermiFunc=0;
389 delete mys27FermiFunc; mys27FermiFunc=0;
390 delete mys28FermiFunc; mys28FermiFunc=0;
392 delete myDeltaFermiSimp; myDeltaFermiSimp=0;
393 delete mys77FermiSimp; mys77FermiSimp=0;
394 delete mys88FermiSimp; mys88FermiSimp=0;
395 delete mys78FermiSimp; mys78FermiSimp=0;
396 delete mys22FermiSimp; mys22FermiSimp=0;
397 delete mys27FermiSimp; mys27FermiSimp=0;
398 delete mys28FermiSimp; mys28FermiSimp=0;
447 double mtatmw=_mt*pow((_alphasmW/_alphasmt),(12./23.))*(1 + (12./23.)*((253./18.) - (116./23.))*((_alphasmW - _alphasmt)/(4.0*
EvtConst::pi)) - (4./3.)*(_alphasmt/
EvtConst::pi));
448 double xt=pow(mtatmw,2.)/pow(_mW,2.);
453 _c2mu = .5*pow(_etamu,(-12./23.)) + .5*pow(_etamu,(6./23.));
455 double c7mWsm = ((3.*pow(xt,3.) - 2.*pow(xt,2.))/(4.*pow((xt - 1.),4.)))*log(xt)
456 + ((-8.*pow(xt,3.) - 5.*pow(xt,2.) + 7.*xt)/(24.*pow((xt - 1.),3.) )) ;
458 double c8mWsm = ((-3.*pow(xt,2.))/(4.*pow((xt - 1.),4.)))*log(xt)
459 + ((- pow(xt,3.) + 5.*pow(xt,2.) + 2.*xt)/(8.*pow((xt - 1.),3.)));
461 double c7constmu = (626126./272277.)*pow(_etamu,(14./23.))
462 - (56281./51730.)*pow(_etamu,(16./23.)) - (3./7.)*pow(_etamu,(6./23.))
463 - (1./14.)*pow(_etamu,(-12./23.)) - .6494*pow(_etamu,.4086) - .038*pow(_etamu,-.423)
464 - .0186*pow(_etamu,-.8994) - .0057*pow(_etamu,.1456);
466 _c70mu = c7mWsm*pow(_etamu,(16./23.)) + (8./3.)*(pow(_etamu,(14./23.))
467 -pow(_etamu,(16./23.)))*c8mWsm + c7constmu;
469 double c8constmu = (313063./363036.)*pow(_etamu,(14./23.))
470 -.9135*pow(_etamu,.4086) + .0873*pow(_etamu,-.423) - .0571*pow(_etamu,-.8994)
471 + .0209*pow(_etamu,.1456);
473 _c80mu = c8mWsm*pow(_etamu,(14./23.)) + c8constmu;
485 double li2=diLogMathematica(1.-1./xt);
487double c7mWsm1 = ( (-16. *pow(xt,4.) -122. *pow(xt,3.) + 80. *pow(xt,2.) -8. *xt)/
488(9. *pow((xt -1.),4.)) * li2 +
489(6. *pow(xt,4.) + 46. *pow(xt,3.) -28. *pow(xt,2.))/(3. *pow((xt-1.),5.)) *pow(log(xt),2.)
490+ (-102. *pow(xt,5.) -588. *pow(xt,4.) -2262. *pow(xt,3.) + 3244. *pow(xt,2.) -1364. *xt
491+ 208.)/(81. *pow((xt-1),5.)) *log(xt)
492+ (1646. *pow(xt,4.) + 12205. *pow(xt,3.) -10740. *pow(xt,2.) + 2509. *xt -436.)/
493(486. *pow((xt-1),4.)) );
495double c8mWsm1 = ((-4. *pow(xt,4.) + 40. *pow(xt,3.) + 41. *pow(xt,2.) + xt)/
496(6. *pow((xt-1.),4.)) * li2
497+ (-17. *pow(xt,3.) -31. *pow(xt,2.))/(2. *pow((xt-1.),5.) ) *pow(log(xt),2.)
498+ (-210. *pow(xt,5.) + 1086. *pow(xt,4.) + 4893. *pow(xt,3.) + 2857. *pow(xt,2.)
499-1994. *xt + 280.)/(216. *pow((xt-1),5.)) *log(xt)
500+ (737. *pow(xt,4.) -14102. *pow(xt,3.) -28209. *pow(xt,2.) + 610. *xt -508.)/
501(1296. *pow((xt-1),4.)) );
503double E1 = (xt *(18. -11. *xt -pow(xt,2.))/(12.*pow( (1. -xt),3.))
504+ pow(xt,2.)* (15. -16. *xt + 4. *pow(xt,2.))/(6. *pow((1. -xt),4.)) *log(xt)
507double e1 = 4661194./816831.;
508double e2 = -8516./2217. ;
535double c71constmu = ((
e1 *_etamu *E1 +
f1 +
g1 *_etamu) *pow(_etamu,(14./23.))
536+ (
e2 *_etamu *E1 + f2 + g2 *_etamu) *pow(_etamu,(16./23.))
537+ (e3 *_etamu *E1 + f3 + g3 *_etamu) *pow(_etamu,(6./23.))
538+ (e4 *_etamu *E1 + f4 + g4 *_etamu) *pow(_etamu,(-12./23.))
539+ (e5 *_etamu *E1 + f5 + g5 *_etamu) *pow(_etamu,.4086)
540+ (e6 *_etamu *E1 + f6 + g6 *_etamu) *pow(_etamu,(-.423))
541+ (e7 *_etamu *E1 + f7 + g7 *_etamu) *pow(_etamu,(-.8994))
542+ (e8 *_etamu *E1 + f8 + g8 *_etamu) *pow(_etamu,.1456 ));
544double c71pmu = ( ((297664./14283. *pow(_etamu,(16./23.))
545-7164416./357075. *pow(_etamu,(14./23.))
546+ 256868./14283. *pow(_etamu,(37./23.)) - 6698884./357075. *pow(_etamu,(39./23.)))
548+ 37208./4761. *(pow(_etamu,(39./23.)) - pow(_etamu,(16./23.))) *(c7mWsm)
551_c71mu = (_alphasmW/_alphasmu *(pow(_etamu,(16./23.))* c7mWsm1 + 8./3. *(pow(_etamu,(14./23.))
552- pow(_etamu,(16./23.)) ) *c8mWsm1 ) + c71pmu);
554_c7emmu = ((32./75. *pow(_etamu,(-9./23.)) - 40./69. *pow(_etamu,(-7./23.)) +
555 88./575. *pow(_etamu,(16./23.))) *c7mWsm + (-32./575. *pow(_etamu,(-9./23.)) +
556 32./1449. *pow(_etamu,(-7./23.)) + 640./1449.*pow(_etamu,(14./23.)) -
557 704./1725.*pow(_etamu,(16./23.)) ) *c8mWsm
558 - 190./8073.*pow(_etamu,(-35./23.)) - 359./3105. *pow(_etamu,(-17./23.)) +
559 4276./121095. *pow(_etamu,(-12./23.)) + 350531./1009125.*pow(_etamu,(-9./23.))
560 + 2./4347. *pow(_etamu,(-7./23.)) - 5956./15525. *pow(_etamu,(6./23.)) +
561 38380./169533. *pow(_etamu,(14./23.)) - 748./8625. *pow(_etamu,(16./23.)));