14#include <gsl/gsl_integration.h>
17#include <TFitResultPtr.h>
18#include <gsl/gsl_spline.h>
22#define NFPOLARBASIS_MVLL false
23#define COMPUTECP false
24#define GSL_INTERP_DIM 10
25#define GSL_INTERP_DIM_DC 10
27#define FULLNLOQCDF_MVll false
382 double beta (
double q2);
392 return (2. *
MM * sqrt(q2))/sqrt(lambda(q2)) * V_0t(q2);
424 return twoMM3/sqrt(q2 * lambda(q2)) * T_0t(q2);
457 return S_L_pre/sqrt(lambda(q2)) * S_L(q2);
516 gslpp::complex
h_lambda(
int hel,
double q2);
560 gslpp::complex
H_V_0(
double q2,
bool bar);
567 gslpp::complex
H_V_p(
double q2,
bool bar);
574 gslpp::complex
H_V_m(
double q2,
bool bar);
581 gslpp::complex
H_A_0(
double q2,
bool bar);
588 gslpp::complex
H_A_p(
double q2,
bool bar);
595 gslpp::complex
H_A_m(
double q2,
bool bar);
602 gslpp::complex
H_S(
double q2,
bool bar);
609 gslpp::complex
H_P(
double q2,
bool bar);
685 return (
getQCDf_1(cutoff) * cutoff).abs();
691 return (
getQCDf_2(cutoff) * cutoff).abs();
697 return (
getQCDf_3(cutoff) * cutoff).abs();
708 return C2_inv * (gtilde_1_pre/(sqrt(lambda(q2)) * V(q2)) * (
h_lambda(2,q2)-
h_lambda(1,q2))).real()/q2;
719 return C2_inv * (gtilde_1_pre/(sqrt(lambda(q2)) * V(q2)) * (
h_lambda(2,q2)-
h_lambda(1,q2))).imag()/q2;
730 return C2_inv * (gtilde_2_pre/A_1(q2) * (
h_lambda(1,q2)+
h_lambda(2,q2))).real()/q2;
741 return C2_inv * (gtilde_2_pre/A_1(q2) * (
h_lambda(1,q2)+
h_lambda(2,q2))).imag()/q2;
752 return C2_inv * (gtilde_3_pre/(lambda(q2) * A_2(q2)) * (sqrt(q2)*
h_lambda(0,q2)/q2-
764 return C2_inv * (gtilde_3_pre/(lambda(q2) * A_2(q2)) * (sqrt(q2)*
h_lambda(0,q2)/q2-
775 return (sixteenM_PI2MM2 *
h_lambda(0,q2)/q2).real();
785 return (sixteenM_PI2MM2 *
h_lambda(0,q2)/q2).imag();
804 return (sixteenM_PI2MM2 *
h_lambda(1,q2)/q2).real();
814 return (sixteenM_PI2MM2 *
h_lambda(1,q2)/q2).imag();
833 return (sixteenM_PI2MM2 *
h_lambda(2,q2)/q2).real();
843 return (sixteenM_PI2MM2 *
h_lambda(2,q2)/q2).imag();
894 gslpp::complex lambda_t;
895 gslpp::complex lambda_u;
897 gslpp::complex
h_0[3];
898 gslpp::complex h_1[3];
899 gslpp::complex h_2[3];
900 gslpp::complex SU3_breaking;
902 gslpp::complex beta_0[7];
903 gslpp::complex beta_1[7];
904 gslpp::complex beta_2[7];
914 double twoalphaBtoKst;
961 double ninetysixM_PI3MM3;
964 double sixteenM_PI2MM2;
966 gslpp::complex H_0_pre;
974 gslpp::complex H_0_WC;
975 gslpp::complex H_c_WC;
976 gslpp::complex H_b_WC;
981 gslpp::complex ihalfMPI;
989 gslpp::complex NN_conjugate;
1005 gslpp::complex L1xp;
1006 gslpp::complex L1xm;
1007 gslpp::complex L1yp;
1008 gslpp::complex L1ym;
1009 gslpp::complex F87_0;
1010 gslpp::complex F87_1;
1011 gslpp::complex F87_2;
1012 gslpp::complex F87_3;
1085 gslpp::vector<gslpp::complex> ** allcoeff;
1086 gslpp::vector<gslpp::complex> ** allcoeffh;
1087 gslpp::vector<gslpp::complex> ** allcoeffprime;
1089 gslpp::vector<gslpp::complex> ** allcoeff_noSM;
1091 gslpp::vector<gslpp::complex> ** allcoeff_nu;
1093 gslpp::vector<gslpp::complex> ** allcoeff_noSM_nu;
1096 gslpp::complex C_1L_bar;
1097 gslpp::complex C_1Lh_bar;
1099 gslpp::complex C_2L_bar;
1100 gslpp::complex C_2Lh_bar;
1107 gslpp::complex C_8L;
1108 gslpp::complex C_8Lh;
1110 gslpp::complex C_10;
1114 gslpp::complex C_7p;
1115 gslpp::complex C_9p;
1116 gslpp::complex C_10p;
1117 gslpp::complex C_Sp;
1118 gslpp::complex C_Pp;
1120 gslpp::complex C_L_nunu_e;
1121 gslpp::complex C_R_nunu_e;
1122 gslpp::complex C_L_nunu_mu;
1123 gslpp::complex C_R_nunu_mu;
1124 gslpp::complex C_L_nunu_tau;
1125 gslpp::complex C_R_nunu_tau;
1127 std::vector<double> Re_T_perp;
1128 std::vector<double> Im_T_perp;
1129 std::vector<double> Re_T_para;
1130 std::vector<double> Im_T_para;
1132 gsl_interp_accel *acc_Re_T_perp;
1133 gsl_interp_accel *acc_Im_T_perp;
1134 gsl_interp_accel *acc_Re_T_para;
1135 gsl_interp_accel *acc_Im_T_para;
1137 gsl_spline *spline_Re_T_perp;
1138 gsl_spline *spline_Im_T_perp;
1139 gsl_spline *spline_Re_T_para;
1140 gsl_spline *spline_Im_T_para;
1142 gsl_interp_accel *acc_Re_deltaC7_QCDF;
1143 gsl_interp_accel *acc_Im_deltaC7_QCDF;
1144 gsl_interp_accel *acc_Re_deltaC9_QCDF;
1145 gsl_interp_accel *acc_Im_deltaC9_QCDF;
1147 gsl_spline *spline_Re_deltaC7_QCDF;
1148 gsl_spline *spline_Im_deltaC7_QCDF;
1149 gsl_spline *spline_Re_deltaC9_QCDF;
1150 gsl_spline *spline_Im_deltaC9_QCDF;
1153 std::vector<double> Re_T_perp_conj;
1154 std::vector<double> Im_T_perp_conj;
1155 std::vector<double> Re_T_para_conj;
1156 std::vector<double> Im_T_para_conj;
1158 gsl_interp_accel *acc_Re_T_perp_conj;
1159 gsl_interp_accel *acc_Im_T_perp_conj;
1160 gsl_interp_accel *acc_Re_T_para_conj;
1161 gsl_interp_accel *acc_Im_T_para_conj;
1163 gsl_interp_accel *acc_Re_deltaC7_QCDF_conj;
1164 gsl_interp_accel *acc_Im_deltaC7_QCDF_conj;
1165 gsl_interp_accel *acc_Re_deltaC9_QCDF_conj;
1166 gsl_interp_accel *acc_Im_deltaC9_QCDF_conj;
1168 gsl_spline *spline_Re_T_perp_conj;
1169 gsl_spline *spline_Im_T_perp_conj;
1170 gsl_spline *spline_Re_T_para_conj;
1171 gsl_spline *spline_Im_T_para_conj;
1173 gsl_spline *spline_Re_deltaC7_QCDF_conj;
1174 gsl_spline *spline_Im_deltaC7_QCDF_conj;
1175 gsl_spline *spline_Re_deltaC9_QCDF_conj;
1176 gsl_spline *spline_Im_deltaC9_QCDF_conj;
1179 std::vector<double> myq2;
1181 TFitResultPtr Re_T_perp_res;
1182 TFitResultPtr Im_T_perp_res;
1183 TFitResultPtr Re_T_para_res;
1184 TFitResultPtr Im_T_para_res;
1186 TFitResultPtr Re_T_perp_res_conj;
1187 TFitResultPtr Im_T_perp_res_conj;
1188 TFitResultPtr Re_T_para_res_conj;
1189 TFitResultPtr Im_T_para_res_conj;
1201 double avaSigmaTree;
1205 double errSigmaTree;
1210 gsl_integration_cquad_workspace * w_sigma;
1211 gsl_integration_cquad_workspace * w_delta;
1212 gsl_integration_cquad_workspace * w_sigmaTree;
1214 gsl_error_handler_t * old_handler;
1216 std::map<std::pair<double, double>, gslpp::complex > cacheI1;
1218 std::map<std::pair<double, double>,
double > cacheSigma0;
1219 std::map<std::pair<double, double>,
double > cacheSigma1;
1220 std::map<std::pair<double, double>,
double > cacheSigma2;
1221 std::map<std::pair<double, double>,
double > cacheSigma3;
1222 std::map<std::pair<double, double>,
double > cacheSigma4;
1223 std::map<std::pair<double, double>,
double > cacheSigma5;
1224 std::map<std::pair<double, double>,
double > cacheSigma6;
1225 std::map<std::pair<double, double>,
double > cacheSigma7;
1226 std::map<std::pair<double, double>,
double > cacheSigma8;
1227 std::map<std::pair<double, double>,
double > cacheSigma9;
1228 std::map<std::pair<double, double>,
double > cacheSigma10;
1229 std::map<std::pair<double, double>,
double > cacheSigma11;
1231 std::map<std::pair<double, double>,
double > cacheDelta0;
1232 std::map<std::pair<double, double>,
double > cacheDelta1;
1233 std::map<std::pair<double, double>,
double > cacheDelta2;
1234 std::map<std::pair<double, double>,
double > cacheDelta3;
1235 std::map<std::pair<double, double>,
double > cacheDelta6;
1236 std::map<std::pair<double, double>,
double > cacheDelta7;
1237 std::map<std::pair<double, double>,
double > cacheDelta8;
1238 std::map<std::pair<double, double>,
double > cacheDelta10;
1239 std::map<std::pair<double, double>,
double > cacheDelta11;
1241 std::map<std::pair<double, double>,
double > cacheSigmaTree;
1243 unsigned int N_updated;
1244 gslpp::vector<double> N_cache;
1245 gslpp::complex Nc_cache;
1247 unsigned int V_updated;
1248 gslpp::vector<double> V_cache;
1250 unsigned int A0_updated;
1251 gslpp::vector<double> A0_cache;
1253 unsigned int A1_updated;
1254 gslpp::vector<double> A1_cache;
1256 unsigned int T1_updated;
1257 gslpp::vector<double> T1_cache;
1259 unsigned int T2_updated;
1260 gslpp::vector<double> T2_cache;
1262 unsigned int k2_updated;
1263 gslpp::vector<double> k2_cache;
1265 unsigned int z_updated;
1267 unsigned int lambda_updated;
1269 unsigned int beta_updated;
1272 unsigned int F_updated;
1274 unsigned int VL1_updated;
1275 unsigned int VL2_updated;
1277 unsigned int TL1_updated;
1278 unsigned int TL2_updated;
1280 unsigned int VR1_updated;
1281 unsigned int VR2_updated;
1283 unsigned int TR1_updated;
1284 unsigned int TR2_updated;
1286 unsigned int VL0_updated;
1287 gslpp::vector<double> VL0_cache;
1289 unsigned int TL0_updated;
1290 gslpp::vector<double> TL0_cache;
1292 unsigned int VR0_updated;
1294 unsigned int TR0_updated;
1296 unsigned int Mb_Ms_updated;
1298 unsigned int SL_updated;
1299 gslpp::vector<double> SL_cache;
1301 unsigned int SR_updated;
1303 unsigned int C_1_updated;
1304 gslpp::complex C_1_cache;
1306 unsigned int C_2_updated;
1307 gslpp::complex C_2_cache;
1309 unsigned int C_3_updated;
1310 gslpp::complex C_3_cache;
1312 unsigned int C_4_updated;
1313 gslpp::complex C_4_cache;
1315 unsigned int C_5_updated;
1316 gslpp::complex C_5_cache;
1318 unsigned int C_6_updated;
1319 gslpp::complex C_6_cache;
1321 unsigned int C_7_updated;
1322 gslpp::complex C_7_cache;
1324 unsigned int C_9_updated;
1325 gslpp::complex C_9_cache;
1327 unsigned int C_10_updated;
1328 gslpp::complex C_10_cache;
1330 unsigned int C_7p_updated;
1331 gslpp::complex C_7p_cache;
1333 unsigned int C_9p_updated;
1334 gslpp::complex C_9p_cache;
1336 unsigned int C_10p_updated;
1337 gslpp::complex C_10p_cache;
1339 unsigned int C_S_updated;
1340 gslpp::complex C_S_cache;
1342 unsigned int C_P_updated;
1343 gslpp::complex C_P_cache;
1345 unsigned int C_Sp_updated;
1346 gslpp::complex C_Sp_cache;
1348 unsigned int C_Pp_updated;
1349 gslpp::complex C_Pp_cache;
1351 unsigned int C_2Lh_updated;
1352 gslpp::complex C_2Lh_cache;
1354 unsigned int C_8Lh_updated;
1355 gslpp::complex C_8Lh_cache;
1357 unsigned int C_L_nunu_e_updated;
1358 unsigned int C_L_nunu_mu_updated;
1359 unsigned int C_L_nunu_tau_updated;
1360 gslpp::complex C_L_nunu_e_cache;
1361 gslpp::complex C_L_nunu_mu_cache;
1362 gslpp::complex C_L_nunu_tau_cache;
1364 unsigned int C_R_nunu_e_updated;
1365 unsigned int C_R_nunu_mu_updated;
1366 unsigned int C_R_nunu_tau_updated;
1367 gslpp::complex C_R_nunu_e_cache;
1368 gslpp::complex C_R_nunu_mu_cache;
1369 gslpp::complex C_R_nunu_tau_cache;
1371 unsigned int Yupdated;
1372 gslpp::vector<double> Ycache;
1374 gslpp::complex h0Ccache[4];
1375 gslpp::complex h1Ccache[4];
1376 gslpp::complex h2Ccache[4];
1378 gslpp::complex beta0Ccache[8];
1379 gslpp::complex beta1Ccache[8];
1380 gslpp::complex beta2Ccache[8];
1382 unsigned int h0_updated;
1383 unsigned int h1_updated;
1384 unsigned int h2_updated;
1386 unsigned int H_V0updated;
1387 gslpp::vector<double> H_V0cache;
1389 unsigned int H_V1updated;
1390 gslpp::vector<double> H_V1cache;
1392 unsigned int H_V2updated;
1393 gslpp::vector<double> H_V2cache;
1395 unsigned int H_A0updated;
1396 unsigned int H_A1updated;
1397 unsigned int H_A2updated;
1399 unsigned int H_Supdated;
1400 gslpp::vector<double> H_Scache;
1402 unsigned int H_Pupdated;
1403 gslpp::vector<double> H_Pcache;
1405 unsigned int I0_updated;
1406 unsigned int I1_updated;
1407 unsigned int I2_updated;
1408 unsigned int I3_updated;
1409 unsigned int I4_updated;
1410 unsigned int I5_updated;
1411 unsigned int I6_updated;
1412 unsigned int I7_updated;
1413 unsigned int I8_updated;
1414 unsigned int I9_updated;
1415 unsigned int I10_updated;
1416 unsigned int I11_updated;
1418 unsigned int Itree_updated;
1419 gslpp::vector<double> Itree_cache;
1421 std::map<std::pair<double, double>,
unsigned int > I1Cached;
1423 std::map<std::pair<double, double>,
unsigned int > sigma0Cached;
1424 std::map<std::pair<double, double>,
unsigned int > sigma1Cached;
1425 std::map<std::pair<double, double>,
unsigned int > sigma2Cached;
1426 std::map<std::pair<double, double>,
unsigned int > sigma3Cached;
1427 std::map<std::pair<double, double>,
unsigned int > sigma4Cached;
1428 std::map<std::pair<double, double>,
unsigned int > sigma5Cached;
1429 std::map<std::pair<double, double>,
unsigned int > sigma6Cached;
1430 std::map<std::pair<double, double>,
unsigned int > sigma7Cached;
1431 std::map<std::pair<double, double>,
unsigned int > sigma8Cached;
1432 std::map<std::pair<double, double>,
unsigned int > sigma9Cached;
1433 std::map<std::pair<double, double>,
unsigned int > sigma10Cached;
1434 std::map<std::pair<double, double>,
unsigned int > sigma11Cached;
1436 std::map<std::pair<double, double>,
unsigned int > delta0Cached;
1437 std::map<std::pair<double, double>,
unsigned int > delta1Cached;
1438 std::map<std::pair<double, double>,
unsigned int > delta2Cached;
1439 std::map<std::pair<double, double>,
unsigned int > delta3Cached;
1440 std::map<std::pair<double, double>,
unsigned int > delta6Cached;
1441 std::map<std::pair<double, double>,
unsigned int > delta7Cached;
1442 std::map<std::pair<double, double>,
unsigned int > delta8Cached;
1443 std::map<std::pair<double, double>,
unsigned int > delta10Cached;
1444 std::map<std::pair<double, double>,
unsigned int > delta11Cached;
1446 std::map<std::pair<double, double>,
unsigned int > sigmaTreeCached;
1448 std::map<double, unsigned int> deltaTparpCached;
1449 std::map<double, unsigned int> deltaTparmCached;
1450 std::map<double, unsigned int> deltaTperpCached;
1452 std::map<double, gslpp::complex> cacheDeltaTparp;
1453 std::map<double, gslpp::complex> cacheDeltaTparm;
1454 std::map<double, gslpp::complex> cacheDeltaTperp;
1456 unsigned int deltaTparpupdated;
1457 unsigned int deltaTparmupdated;
1458 unsigned int deltaTperpupdated;
1460 unsigned int T_updated;
1461 gslpp::vector<double> T_cache;
1466 void updateParameters();
1478 double z(
double q2);
1485 double z_DM(
double q2);
1493 double phi_f(
double q2,
double MRf_2);
1501 double phi_g(
double q2,
double MRg_2);
1509 double phi_F1(
double q2,
double MRF1_2);
1517 double phi_F2(
double q2,
double MRF2_2);
1525 double phi_T0(
double q2,
double MRT0_2);
1533 double phi_T1(
double q2,
double MRT1_2);
1541 double phi_T2(
double q2,
double MRT2_2);
1552 double f_DM(
double q2,
double a_0f,
double a_1f,
double a_2f,
double MRf_2);
1563 double g_DM(
double q2,
double a_0g,
double a_1g,
double a_2g,
double MRg_2);
1574 double F1_DM(
double q2,
double a_0F1,
double a_1F1,
double a_2F1,
double MRF1_2);
1585 double F2_DM(
double q2,
double a_0F2,
double a_1F2,
double a_2F2,
double MRF2_2);
1596 double T0_DM(
double q2,
double a_0T0,
double a_1T0,
double a_2T0,
double MRT0_2);
1607 double T1_DM(
double q2,
double a_0T1,
double a_1T1,
double a_2T1,
double MRT1_2);
1618 double T2_DM(
double q2,
double a_0T2,
double a_1T2,
double a_2T2,
double MRT2_2);
1625 double V(
double q2);
1633 double A_0(
double q2);
1641 double A_1(
double q2);
1648 double A_2(
double q2);
1655 double T_1(
double q2);
1663 double T_2(
double q2);
1670 double V_0t(
double q2);
1677 double V_p(
double q2);
1684 double V_m(
double q2);
1691 double T_0t(
double q2);
1698 double T_p(
double q2);
1705 double T_m(
double q2);
1712 double S_L(
double q2);
1719 gslpp::complex H_0(
double q2);
1728 gslpp::complex H(
double q2,
double m2,
double mu2);
1735 gslpp::complex Y(
double q2);
1737 gslpp::complex funct_g(
double q2);
1739 gslpp::complex DeltaC9_KD(
double q2,
int com);
1746 gslpp::complex zh(
double q2);
1753 gslpp::complex P(
double q2);
1760 gslpp::complex Phi_1(
double q2);
1767 gslpp::complex Phi_1_st(
double q2);
1774 gslpp::complex Phi_2(
double q2);
1781 gslpp::complex Phi_2_st(
double q2);
1788 gslpp::complex Phi_3(
double q2);
1795 gslpp::complex Phi_3_st(
double q2);
1802 gslpp::complex Phi_4(
double q2);
1809 gslpp::complex Phi_4_st(
double q2);
1816 gslpp::complex Phi_5(
double q2);
1823 gslpp::complex Phi_5_st(
double q2);
1830 gslpp::complex Phi_6(
double q2);
1837 gslpp::complex Phi_6_st(
double q2);
1843 gslpp::complex p0();
1850 gslpp::complex p1(
double q2);
1857 gslpp::complex p2(
double q2);
1864 gslpp::complex p3(
double q2);
1871 gslpp::complex p4(
double q2);
1878 gslpp::complex p5(
double q2);
1885 gslpp::complex p6(
double q2);
1892 gslpp::complex phi_1(
double q2);
1899 gslpp::complex phi_2(
double q2);
1906 gslpp::complex phi_3(
double q2);
1913 gslpp::complex phi_4(
double q2);
1921 gslpp::complex DeltaC9_zExpansion(
double q2,
int tran);
1928 double k2 (
double q2);
1935 double beta2 (
double q2);
1942 double lambda(
double q2);
1950 double F(
double q2,
double b_i);
1958 double I_1c(
double q2,
bool bar);
1966 double I_1s(
double q2,
bool bar);
1974 double I_2c(
double q2,
bool bar);
1982 double I_2s(
double q2,
bool bar);
1990 double I_3(
double q2,
bool bar);
1998 double I_4(
double q2,
bool bar);
2006 double I_5(
double q2,
bool bar);
2014 double I_6c(
double q2,
bool bar);
2022 double I_6s(
double q2,
bool bar);
2030 double I_7(
double q2,
bool bar);
2038 double I_8(
double q2,
bool bar);
2046 double I_9(
double q2,
bool bar);
2054 double h_1s(
double q2,
bool bar);
2062 double h_1c(
double q2,
bool bar);
2070 double h_2s(
double q2,
bool bar);
2078 double h_2c(
double q2,
bool bar);
2086 double h_3(
double q2,
bool bar);
2094 double h_4(
double q2,
bool bar);
2102 double h_7(
double q2,
bool bar);
2110 double s_5(
double q2,
bool bar);
2118 double s_6s(
double q2,
bool bar);
2126 double s_6c(
double q2,
bool bar);
2134 double s_8(
double q2,
bool bar);
2142 double s_9(
double q2,
bool bar);
2149 double getSigma1c(
double q2)
2153 return (I_1c(q2, 0) + I_1c(q2, 1))/2.;
2156 return (I_1c(q2, 0) + I_1c(q2, 1))/2.;
2159 return (I_1c(q2, 0) + I_1c(q2, 1) -
ys * h_1c(q2, 0) )/2.;
2162 std::stringstream out;
2164 throw std::runtime_error(
"MVll::getSigma1c : vector " + out.str() +
" not implemented");
2173 double getSigma1s(
double q2)
2177 return (I_1s(q2, 0) + I_1s(q2, 1))/2.;
2180 return (I_1s(q2, 0) + I_1s(q2, 1))/2.;
2183 return (I_1s(q2, 0) + I_1s(q2, 1) -
ys * h_1s(q2, 0))/2.;
2186 std::stringstream out;
2188 throw std::runtime_error(
"MVll::getSigma1s : vector " + out.str() +
" not implemented");
2197 double getSigma2c(
double q2)
2201 return (I_2c(q2, 0) + I_2c(q2, 1))/2.;
2204 return (I_2c(q2, 0) + I_2c(q2, 1))/2.;
2207 return (I_2c(q2, 0) + I_2c(q2, 1) -
ys * h_2c(q2, 0))/2.;
2210 std::stringstream out;
2212 throw std::runtime_error(
"MVll::getSigma2c : vector " + out.str() +
" not implemented");
2221 double getSigma2s(
double q2)
2225 return (I_2s(q2, 0) + I_2s(q2, 1))/2.;
2228 return (I_2s(q2, 0) + I_2s(q2, 1))/2.;
2231 return (I_2s(q2, 0) + I_2s(q2, 1) -
ys * h_2s(q2, 0))/2.;
2234 std::stringstream out;
2236 throw std::runtime_error(
"MVll::getSigma2s : vector " + out.str() +
" not implemented");
2245 double getSigma3(
double q2)
2249 return (I_3(q2, 0) + I_3(q2, 1))/2.;
2252 return (I_3(q2, 0) + I_3(q2, 1))/2.;
2255 return (I_3(q2, 0) + I_3(q2, 1) -
ys * h_3(q2, 0))/2.;
2258 std::stringstream out;
2260 throw std::runtime_error(
"MVll::getSigma3 : vector " + out.str() +
" not implemented");
2269 double getSigma4(
double q2)
2273 return (I_4(q2, 0) + I_4(q2, 1))/2.;
2276 return (I_4(q2, 0) + I_4(q2, 1))/2.;
2279 return (I_4(q2, 0) + I_4(q2, 1) -
ys * h_4(q2, 0))/2.;
2282 std::stringstream out;
2284 throw std::runtime_error(
"MVll::getSigma4 : vector " + out.str() +
" not implemented");
2293 double getSigma5(
double q2)
2295 return (I_5(q2, 0) + I_5(q2, 1))/2.;
2303 double getSigma6s(
double q2)
2305 return (I_6s(q2, 0) + I_6s(q2, 1))/2.;
2313 double getSigma6c(
double q2)
2315 return (I_6c(q2, 0) + I_6c(q2, 1))/2.;
2323 double getSigma7(
double q2)
2327 return (I_7(q2, 0) + I_7(q2, 1))/2.;
2330 return (I_7(q2, 0) + I_7(q2, 1))/2.;
2333 return (I_7(q2, 0) + I_7(q2, 1) -
ys * h_7(q2, 0))/2.;
2336 std::stringstream out;
2338 throw std::runtime_error(
"MVll::getSigma7 : vector " + out.str() +
" not implemented");
2347 double getSigma8(
double q2)
2349 return (I_8(q2, 0) + I_8(q2, 1))/2.;
2357 double getSigma9(
double q2)
2359 return (I_9(q2, 0) + I_9(q2, 1))/2.;
2367 double getDelta1c(
double q2)
2369 return (I_1c(q2, 0) - I_1c(q2, 1)) / 2.;
2377 double getDelta1s(
double q2)
2379 return (I_1s(q2, 0) - I_1s(q2, 1)) / 2.;
2387 double getDelta2c(
double q2)
2389 return (I_2c(q2, 0) - I_2c(q2, 1)) / 2.;
2397 double getDelta2s(
double q2)
2399 return (I_2s(q2, 0) - I_2s(q2, 1))/2.;
2407 double getDelta3(
double q2)
2409 return (I_3(q2, 0) - I_3(q2, 1))/2.;
2417 double getDelta4(
double q2)
2419 return (I_4(q2, 0) - I_4(q2, 1))/2.;
2427 double getDelta5(
double q2)
2431 return (I_5(q2, 0) - I_5(q2, 1))/2.;
2434 return (I_5(q2, 0) - I_5(q2, 1))/2.;
2437 return (1. -
ys*
ys)/(1. +
xs*
xs) * (I_5(q2, 0) - I_5(q2, 1) -
xs * s_5(q2, 0))/2.;
2440 std::stringstream out;
2442 throw std::runtime_error(
"MVll::getDelta5 : vector " + out.str() +
" not implemented");
2451 double getDelta6s(
double q2)
2455 return (I_6s(q2, 0) - I_6s(q2, 1))/2.;
2458 return (I_6s(q2, 0) - I_6s(q2, 1))/2.;
2461 return (1. -
ys*
ys)/(1. +
xs*
xs) * (I_6s(q2, 0) - I_6s(q2, 1) -
xs * s_6s(q2, 0))/2.;
2464 std::stringstream out;
2466 throw std::runtime_error(
"MVll::getDelta6s : vector " + out.str() +
" not implemented");
2475 double getDelta6c(
double q2)
2479 return (I_6c(q2, 0) - I_6c(q2, 1))/2.;
2482 return (I_6c(q2, 0) - I_6c(q2, 1))/2.;
2485 return (1. -
ys*
ys)/(1. +
xs*
xs) * (I_6c(q2, 0) - I_6c(q2, 1) -
xs * s_6c(q2, 0))/2.;
2488 std::stringstream out;
2490 throw std::runtime_error(
"MVll::getDelta6c : vector " + out.str() +
" not implemented");
2499 double getDelta7(
double q2)
2501 return (I_7(q2, 0) - I_7(q2, 1))/2.;
2509 double getDelta8(
double q2)
2513 return (I_8(q2, 0) - I_8(q2, 1))/2.;
2516 return (I_8(q2, 0) - I_8(q2, 1))/2.;
2519 return (1. -
ys*
ys)/(1. +
xs*
xs) * (I_8(q2, 0) - I_8(q2, 1) -
xs * s_8(q2, 0))/2.;
2522 std::stringstream out;
2524 throw std::runtime_error(
"MVll::getDelta8 : vector " + out.str() +
" not implemented");
2533 double getDelta9(
double q2)
2537 return (I_9(q2, 0) - I_9(q2, 1))/2.;
2540 return (I_9(q2, 0) - I_9(q2, 1))/2.;
2543 return (1. -
ys*
ys)/(1. +
xs*
xs) * (I_9(q2, 0) - I_9(q2, 1) -
xs * s_9(q2, 0))/2.;
2546 std::stringstream out;
2548 throw std::runtime_error(
"MVll::getDelta9 : vector " + out.str() +
" not implemented");
2565 gslpp::complex
A_Seidel(
double q2,
double mb2);
2567 gslpp::complex
B_Seidel(
double q2,
double mb2);
2569 gslpp::complex
C_Seidel(
double q2);
2576 gslpp::complex
deltaC7_QCDF(
double q2,
bool conjugate,
bool spline =
false);
2583 gslpp::complex
deltaC9_QCDF(
double q2,
bool conjugate,
bool spline =
false);
2590 gslpp::complex
Cq34(
bool conjugate);
2631 gslpp::complex
t_perp(
double q2,
double u,
double m2);
2639 gslpp::complex
t_para(
double q2,
double u,
double m2);
2641 gslpp::complex
I1(
double q2,
double u,
double m2);
2643 gslpp::complex
B0diff(
double q2,
double u,
double m2);
2645 gslpp::complex
B0(
double s,
double m2);
2647 gslpp::complex
h_func(
double s,
double m2);
2678 double phi_V(
double u);
2689 double T_perp_real(
double q2,
double u,
bool conjugate);
2698 double T_perp_imag(
double q2,
double u,
bool conjugate);
2707 double T_para_real(
double q2,
double u,
bool conjugate);
2716 double T_para_imag(
double q2,
double u,
bool conjugate);
2756 gslpp::complex
T_minus(
double q2,
bool conjugate);
2758 gslpp::complex
T_0(
double q2,
bool conjugate);
2769 double FF_fit(
double q2,
double a_0,
double a_1,
double a_2,
double MR2);
gslpp::complex T_para_minus_WA(bool conjugate)
QCDF Correction from various BFS paper (hep-ph/0412400). Weak Annihilation.
gslpp::complex getQCDf_1(double q2)
gslpp::complex deltaC7_QCDF(double q2, bool conjugate, bool spline=false)
QCDF Correction from various BFS papers (hep-ph/0403185, hep-ph/0412400) and Greub et....
std::vector< std::string > mvllParameters
const StandardModel & mySM
double getDelta_C9_zExp_p()
The non-pertubative ccbar contributions to the helicity amplitudes.
double getgtilde_2_re(double q2)
The real part of .
double getS(double q2)
The form factor .
double phi_V(double u)
QCDF Correction from various BFS paper (hep-ph/0106067).Vector meson distribution amplitude.
double getQCDfC9_2(double q2, double cutoff)
double getQCDfC9p_1(double cutoff)
gslpp::complex H_m_nunu(double q2, bool bar, QCD::lepton lep)
The helicity amplitude for the invisible decay .
double getDelta_C9_zExp_m()
The non-pertubative ccbar contributions to the helicity amplitudes.
gslpp::complex t_para(double q2, double u, double m2)
QCDF Correction from various BFS paper (hep-ph/0106067). Part of 4 quark operator contribution.
gslpp::complex B_Seidel(double q2, double mb2)
double geth_0_re(double q2)
The real part of .
double geth_p_im(double q2)
The imaginary part of .
gslpp::complex H_A_p(double q2, bool bar)
The helicity amplitude .
gslpp::complex T_perp_plus_QSS(double q2, double u, bool conjugate)
QCDF Correction from various BFS paper (hep-ph/0106067). 4 quark operator contribution.
double T_para_real(double q2, double u, bool conjugate)
QCDF Correction from various BFS papers (hep-ph/0106067, hep-ph/0412400). Total.
gslpp::complex T_perp_WA_1()
QCDF Correction from various BFS paper (hep-ph/0412400). Weak Annihilation.
double getMlep()
The mass of the lepton l.
gslpp::complex deltaC9_QCDF(double q2, bool conjugate, bool spline=false)
QCDF Correction from various BFS papers (hep-ph/0403185, hep-ph/0412400) and Greub et....
std::unique_ptr< F_2 > myF_2
gslpp::complex Cq34(bool conjugate)
QCDF Correction from various BFS paper (hep-ph/0412400). Part of Weak Annihilation.
double QCDF_fit_func(double *x, double *p)
double T_perp_real(double q2, double u, bool conjugate)
QCDF Correction from various BFS papers (hep-ph/0106067, hep-ph/0412400). Total.
double getgtilde_2_im(double q2)
The immaginary part of .
double geth_m_im(double q2)
The imaginary part of .
gslpp::complex T_para_plus_QSS(double q2, double u, bool conjugate)
QCDF Correction from various BFS paper (hep-ph/0106067). 4 quark operator contribution.
gslpp::complex getQCDf_2(double q2)
double getVm(double q2)
The form factor .
double get_unitarity_bound_g()
The unitarity constraints on form factors .
gslpp::complex T_para_minus_O8(double q2, double u)
QCDF Correction from various BFS paper (hep-ph/0106067). Chromomagnetic dipole contribution contribut...
gslpp::complex C_Seidel(double q2)
double getVp(double q2)
The form factor .
gslpp::complex H_S(double q2, bool bar)
The helicity amplitude .
std::vector< std::string > initializeMVllParameters()
A method for initializing the parameters necessary for MVll.
std::unique_ptr< F_1 > myF_1
double integrateDelta(int i, double q_min, double q_max)
The integral of from to .
double getgtilde_3_im(double q2)
The imaginary part of .
double getTm(double q2)
The form factor .
gslpp::complex H_V_0(double q2, bool bar)
The helicity amplitude .
double T_para_imag(double q2, double u, bool conjugate)
QCDF Correction from various BFS papers (hep-ph/0106067, hep-ph/0412400). Total.
double getT0(double q2)
The form factor .
virtual ~MVll()
Destructor.
double T_perp_imag(double q2, double u, bool conjugate)
QCDF Correction from various BFS papers (hep-ph/0106067, hep-ph/0412400). Total.
gslpp::complex h_func(double s, double m2)
gslpp::complex T_minus(double q2, bool conjugate)
double getSigma(int i, double q_2)
The value of from to .
gslpp::complex geth_p_0()
.
gslpp::complex H_V_p(double q2, bool bar)
The helicity amplitude .
double getgtilde_3_re(double q2)
The real part of .
gslpp::complex getQCDf_3(double q2)
gslpp::complex lambda_B_minus(double q2)
double getwidth()
The width of the meson M.
gslpp::complex T_0(double q2, bool conjugate)
double get_unitarity_bound_T1()
The unitarity constraints on form factors .
double getV0(double q2)
The form factor .
double get_unitarity_bound_T2_T0()
The unitarity constraints on form factors and .
gslpp::complex h_lambda(int hel, double q2)
The non-pertubative ccbar contributions to the helicity amplitudes.
gslpp::complex exp_Phase[3]
double getDelta_C9_zExp_0()
The non-pertubative ccbar contributions to the helicity amplitudes.
gslpp::complex geth_m_0()
.
double geth_p_re(double q2)
The real part of .
double getintegratedSigmaTree()
The integral of from 0 to .
double integrateSigmaTree(double q_min, double q_max)
The integral of from to (arxiv/2301.06990)
gslpp::complex T_para_minus_QSS(double q2, double u, bool conjugate)
QCDF Correction from various BFS paper (hep-ph/0106067). 4 quark operator contribution.
double geth_0_im(double q2)
The imaginary part of .
double getTp(double q2)
The form factor .
gslpp::complex T_perp_WA_2(bool conjugate)
QCDF Correction from various BFS paper (hep-ph/0412400). Weak Annihilation.
gslpp::complex H_p_nunu(double q2, bool bar, QCD::lepton lep)
The helicity amplitude for the invisible decay .
double FF_fit(double q2, double a_0, double a_1, double a_2, double MR2)
The fit function from , .
gslpp::complex t_perp(double q2, double u, double m2)
QCDF Correction from various BFS paper (hep-ph/0106067). Part of 4 quark operator contribution.
MVll(const StandardModel &SM_i, QCD::meson meson_i, QCD::meson vector_i, QCD::lepton lep_i)
Constructor.
gslpp::complex H_V_m(double q2, bool bar)
The helicity amplitude .
gslpp::complex A_Seidel(double q2, double mb2)
gslpp::complex AmpMVpsi_zExpansion(double mpsi, int tran)
Polarization amplitudes for M to V psi, Eq. B.16 of arXiv:2206.03797.
double get_unitarity_bound_F2()
The unitarity constraints on form factors .
gslpp::complex B0diff(double q2, double u, double m2)
double Delta_C9_zExp(int hel)
The non-pertubative ccbar contributions to the helicity amplitudes.
double geth_m_re(double q2)
The real part of .
gslpp::complex H_A_0(double q2, bool bar)
The helicity amplitude .
double getQCDfC9p_2(double cutoff)
double SigmaTree(double q2)
double getQCDfC9p_3(double cutoff)
gslpp::complex H_0_nunu(double q2, bool bar, QCD::lepton lep)
The helicity amplitude for the invisible decay .
gslpp::complex I1(double q2, double u, double m2)
double getgtilde_1_im(double q2)
The immaginary part of .
double getQCDfC9_1(double q2, double cutoff)
gslpp::complex B0(double s, double m2)
gslpp::complex H_A_m(double q2, bool bar)
The helicity amplitude .
gslpp::complex T_perp_plus_O8(double q2, double u)
QCDF Correction from various BFS paper (hep-ph/0106067). Chromomagnetic dipole contribution contribut...
gslpp::complex H_P(double q2, bool bar)
The helicity amplitude .
double integrateSigma(int i, double q_min, double q_max)
The integral of from to .
double getQCDfC9_3(double q2, double cutoff)
double beta(double q2)
The factor used in the angular coefficients .
double getgtilde_1_re(double q2)
The real part of .
double get_unitarity_bound_f_F1()
The unitarity constraints on form factors and .
meson
An enum type for mesons.
lepton
An enum type for leptons.
A model class for the Standard Model.
A class for the correction in .
A class for the unitarity constraints on form factors .
A class for the unitarity constraints on form factors .
A class for the unitarity constraints on form factors and .
A class for the unitarity constraints on form factors and .
A class for the unitarity constraints on form factors .