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);
661 return (
getQCDf_1(cutoff) * cutoff).abs();
667 return (
getQCDf_2(cutoff) * cutoff).abs();
673 return (
getQCDf_3(cutoff) * cutoff).abs();
684 return C2_inv * (gtilde_1_pre/(sqrt(lambda(q2)) * V(q2)) * (
h_lambda(2,q2)-
h_lambda(1,q2))).real()/q2;
695 return C2_inv * (gtilde_1_pre/(sqrt(lambda(q2)) * V(q2)) * (
h_lambda(2,q2)-
h_lambda(1,q2))).imag()/q2;
706 return C2_inv * (gtilde_2_pre/A_1(q2) * (
h_lambda(1,q2)+
h_lambda(2,q2))).real()/q2;
717 return C2_inv * (gtilde_2_pre/A_1(q2) * (
h_lambda(1,q2)+
h_lambda(2,q2))).imag()/q2;
728 return C2_inv * (gtilde_3_pre/(lambda(q2) * A_2(q2)) * (sqrt(q2)*
h_lambda(0,q2)/q2-
740 return C2_inv * (gtilde_3_pre/(lambda(q2) * A_2(q2)) * (sqrt(q2)*
h_lambda(0,q2)/q2-
751 return (sixteenM_PI2MM2 *
h_lambda(0,q2)/q2).real();
761 return (sixteenM_PI2MM2 *
h_lambda(0,q2)/q2).imag();
780 return (sixteenM_PI2MM2 *
h_lambda(1,q2)/q2).real();
790 return (sixteenM_PI2MM2 *
h_lambda(1,q2)/q2).imag();
809 return (sixteenM_PI2MM2 *
h_lambda(2,q2)/q2).real();
819 return (sixteenM_PI2MM2 *
h_lambda(2,q2)/q2).imag();
870 gslpp::complex lambda_t;
871 gslpp::complex lambda_u;
873 gslpp::complex
h_0[3];
874 gslpp::complex h_1[3];
875 gslpp::complex h_2[3];
876 gslpp::complex SU3_breaking;
878 gslpp::complex beta_0[7];
879 gslpp::complex beta_1[7];
880 gslpp::complex beta_2[7];
890 double twoalphaBtoKst;
937 double ninetysixM_PI3MM3;
940 double sixteenM_PI2MM2;
942 gslpp::complex H_0_pre;
950 gslpp::complex H_0_WC;
951 gslpp::complex H_c_WC;
952 gslpp::complex H_b_WC;
957 gslpp::complex ihalfMPI;
965 gslpp::complex NN_conjugate;
985 gslpp::complex F87_0;
986 gslpp::complex F87_1;
987 gslpp::complex F87_2;
988 gslpp::complex F87_3;
1061 gslpp::vector<gslpp::complex> ** allcoeff;
1062 gslpp::vector<gslpp::complex> ** allcoeffh;
1063 gslpp::vector<gslpp::complex> ** allcoeffprime;
1065 gslpp::vector<gslpp::complex> ** allcoeff_noSM;
1067 gslpp::vector<gslpp::complex> ** allcoeff_nu;
1069 gslpp::vector<gslpp::complex> ** allcoeff_noSM_nu;
1072 gslpp::complex C_1L_bar;
1073 gslpp::complex C_1Lh_bar;
1075 gslpp::complex C_2L_bar;
1076 gslpp::complex C_2Lh_bar;
1083 gslpp::complex C_8L;
1084 gslpp::complex C_8Lh;
1086 gslpp::complex C_10;
1090 gslpp::complex C_7p;
1091 gslpp::complex C_9p;
1092 gslpp::complex C_10p;
1093 gslpp::complex C_Sp;
1094 gslpp::complex C_Pp;
1096 gslpp::complex C_L_nunu;
1097 gslpp::complex C_R_nunu;
1099 gslpp::complex C_L_nunu_e;
1100 gslpp::complex C_R_nunu_e;
1101 gslpp::complex C_L_nunu_mu;
1102 gslpp::complex C_R_nunu_mu;
1103 gslpp::complex C_L_nunu_tau;
1104 gslpp::complex C_R_nunu_tau;
1106 std::vector<double> Re_T_perp;
1107 std::vector<double> Im_T_perp;
1108 std::vector<double> Re_T_para;
1109 std::vector<double> Im_T_para;
1111 gsl_interp_accel *acc_Re_T_perp;
1112 gsl_interp_accel *acc_Im_T_perp;
1113 gsl_interp_accel *acc_Re_T_para;
1114 gsl_interp_accel *acc_Im_T_para;
1116 gsl_spline *spline_Re_T_perp;
1117 gsl_spline *spline_Im_T_perp;
1118 gsl_spline *spline_Re_T_para;
1119 gsl_spline *spline_Im_T_para;
1121 gsl_interp_accel *acc_Re_deltaC7_QCDF;
1122 gsl_interp_accel *acc_Im_deltaC7_QCDF;
1123 gsl_interp_accel *acc_Re_deltaC9_QCDF;
1124 gsl_interp_accel *acc_Im_deltaC9_QCDF;
1126 gsl_spline *spline_Re_deltaC7_QCDF;
1127 gsl_spline *spline_Im_deltaC7_QCDF;
1128 gsl_spline *spline_Re_deltaC9_QCDF;
1129 gsl_spline *spline_Im_deltaC9_QCDF;
1132 std::vector<double> Re_T_perp_conj;
1133 std::vector<double> Im_T_perp_conj;
1134 std::vector<double> Re_T_para_conj;
1135 std::vector<double> Im_T_para_conj;
1137 gsl_interp_accel *acc_Re_T_perp_conj;
1138 gsl_interp_accel *acc_Im_T_perp_conj;
1139 gsl_interp_accel *acc_Re_T_para_conj;
1140 gsl_interp_accel *acc_Im_T_para_conj;
1142 gsl_interp_accel *acc_Re_deltaC7_QCDF_conj;
1143 gsl_interp_accel *acc_Im_deltaC7_QCDF_conj;
1144 gsl_interp_accel *acc_Re_deltaC9_QCDF_conj;
1145 gsl_interp_accel *acc_Im_deltaC9_QCDF_conj;
1147 gsl_spline *spline_Re_T_perp_conj;
1148 gsl_spline *spline_Im_T_perp_conj;
1149 gsl_spline *spline_Re_T_para_conj;
1150 gsl_spline *spline_Im_T_para_conj;
1152 gsl_spline *spline_Re_deltaC7_QCDF_conj;
1153 gsl_spline *spline_Im_deltaC7_QCDF_conj;
1154 gsl_spline *spline_Re_deltaC9_QCDF_conj;
1155 gsl_spline *spline_Im_deltaC9_QCDF_conj;
1158 std::vector<double> myq2;
1160 TFitResultPtr Re_T_perp_res;
1161 TFitResultPtr Im_T_perp_res;
1162 TFitResultPtr Re_T_para_res;
1163 TFitResultPtr Im_T_para_res;
1165 TFitResultPtr Re_T_perp_res_conj;
1166 TFitResultPtr Im_T_perp_res_conj;
1167 TFitResultPtr Re_T_para_res_conj;
1168 TFitResultPtr Im_T_para_res_conj;
1180 double avaSigmaTree;
1184 double errSigmaTree;
1189 gsl_integration_cquad_workspace * w_sigma;
1190 gsl_integration_cquad_workspace * w_delta;
1191 gsl_integration_cquad_workspace * w_sigmaTree;
1193 gsl_error_handler_t * old_handler;
1195 std::map<std::pair<double, double>, gslpp::complex > cacheI1;
1197 std::map<std::pair<double, double>,
double > cacheSigma0;
1198 std::map<std::pair<double, double>,
double > cacheSigma1;
1199 std::map<std::pair<double, double>,
double > cacheSigma2;
1200 std::map<std::pair<double, double>,
double > cacheSigma3;
1201 std::map<std::pair<double, double>,
double > cacheSigma4;
1202 std::map<std::pair<double, double>,
double > cacheSigma5;
1203 std::map<std::pair<double, double>,
double > cacheSigma6;
1204 std::map<std::pair<double, double>,
double > cacheSigma7;
1205 std::map<std::pair<double, double>,
double > cacheSigma8;
1206 std::map<std::pair<double, double>,
double > cacheSigma9;
1207 std::map<std::pair<double, double>,
double > cacheSigma10;
1208 std::map<std::pair<double, double>,
double > cacheSigma11;
1210 std::map<std::pair<double, double>,
double > cacheDelta0;
1211 std::map<std::pair<double, double>,
double > cacheDelta1;
1212 std::map<std::pair<double, double>,
double > cacheDelta2;
1213 std::map<std::pair<double, double>,
double > cacheDelta3;
1214 std::map<std::pair<double, double>,
double > cacheDelta6;
1215 std::map<std::pair<double, double>,
double > cacheDelta7;
1216 std::map<std::pair<double, double>,
double > cacheDelta8;
1217 std::map<std::pair<double, double>,
double > cacheDelta10;
1218 std::map<std::pair<double, double>,
double > cacheDelta11;
1220 std::map<std::pair<double, double>,
double > cacheSigmaTree;
1222 unsigned int N_updated;
1223 gslpp::vector<double> N_cache;
1224 gslpp::complex Nc_cache;
1226 unsigned int V_updated;
1227 gslpp::vector<double> V_cache;
1229 unsigned int A0_updated;
1230 gslpp::vector<double> A0_cache;
1232 unsigned int A1_updated;
1233 gslpp::vector<double> A1_cache;
1235 unsigned int T1_updated;
1236 gslpp::vector<double> T1_cache;
1238 unsigned int T2_updated;
1239 gslpp::vector<double> T2_cache;
1241 unsigned int k2_updated;
1242 gslpp::vector<double> k2_cache;
1244 unsigned int z_updated;
1246 unsigned int lambda_updated;
1248 unsigned int beta_updated;
1251 unsigned int F_updated;
1253 unsigned int VL1_updated;
1254 unsigned int VL2_updated;
1256 unsigned int TL1_updated;
1257 unsigned int TL2_updated;
1259 unsigned int VR1_updated;
1260 unsigned int VR2_updated;
1262 unsigned int TR1_updated;
1263 unsigned int TR2_updated;
1265 unsigned int VL0_updated;
1266 gslpp::vector<double> VL0_cache;
1268 unsigned int TL0_updated;
1269 gslpp::vector<double> TL0_cache;
1271 unsigned int VR0_updated;
1273 unsigned int TR0_updated;
1275 unsigned int Mb_Ms_updated;
1277 unsigned int SL_updated;
1278 gslpp::vector<double> SL_cache;
1280 unsigned int SR_updated;
1282 unsigned int C_1_updated;
1283 gslpp::complex C_1_cache;
1285 unsigned int C_2_updated;
1286 gslpp::complex C_2_cache;
1288 unsigned int C_3_updated;
1289 gslpp::complex C_3_cache;
1291 unsigned int C_4_updated;
1292 gslpp::complex C_4_cache;
1294 unsigned int C_5_updated;
1295 gslpp::complex C_5_cache;
1297 unsigned int C_6_updated;
1298 gslpp::complex C_6_cache;
1300 unsigned int C_7_updated;
1301 gslpp::complex C_7_cache;
1303 unsigned int C_9_updated;
1304 gslpp::complex C_9_cache;
1306 unsigned int C_10_updated;
1307 gslpp::complex C_10_cache;
1309 unsigned int C_7p_updated;
1310 gslpp::complex C_7p_cache;
1312 unsigned int C_9p_updated;
1313 gslpp::complex C_9p_cache;
1315 unsigned int C_10p_updated;
1316 gslpp::complex C_10p_cache;
1318 unsigned int C_S_updated;
1319 gslpp::complex C_S_cache;
1321 unsigned int C_P_updated;
1322 gslpp::complex C_P_cache;
1324 unsigned int C_Sp_updated;
1325 gslpp::complex C_Sp_cache;
1327 unsigned int C_Pp_updated;
1328 gslpp::complex C_Pp_cache;
1330 unsigned int C_2Lh_updated;
1331 gslpp::complex C_2Lh_cache;
1333 unsigned int C_8Lh_updated;
1334 gslpp::complex C_8Lh_cache;
1336 unsigned int C_L_nunu_updated;
1337 gslpp::complex C_L_nunu_cache;
1339 unsigned int C_R_nunu_updated;
1340 gslpp::complex C_R_nunu_cache;
1342 unsigned int Yupdated;
1343 gslpp::vector<double> Ycache;
1345 gslpp::complex h0Ccache[4];
1346 gslpp::complex h1Ccache[4];
1347 gslpp::complex h2Ccache[4];
1349 gslpp::complex beta0Ccache[8];
1350 gslpp::complex beta1Ccache[8];
1351 gslpp::complex beta2Ccache[8];
1353 unsigned int h0_updated;
1354 unsigned int h1_updated;
1355 unsigned int h2_updated;
1357 unsigned int H_V0updated;
1358 gslpp::vector<double> H_V0cache;
1360 unsigned int H_V1updated;
1361 gslpp::vector<double> H_V1cache;
1363 unsigned int H_V2updated;
1364 gslpp::vector<double> H_V2cache;
1366 unsigned int H_A0updated;
1367 unsigned int H_A1updated;
1368 unsigned int H_A2updated;
1370 unsigned int H_Supdated;
1371 gslpp::vector<double> H_Scache;
1373 unsigned int H_Pupdated;
1374 gslpp::vector<double> H_Pcache;
1376 unsigned int I0_updated;
1377 unsigned int I1_updated;
1378 unsigned int I2_updated;
1379 unsigned int I3_updated;
1380 unsigned int I4_updated;
1381 unsigned int I5_updated;
1382 unsigned int I6_updated;
1383 unsigned int I7_updated;
1384 unsigned int I8_updated;
1385 unsigned int I9_updated;
1386 unsigned int I10_updated;
1387 unsigned int I11_updated;
1389 unsigned int Itree_updated;
1390 gslpp::vector<double> Itree_cache;
1392 std::map<std::pair<double, double>,
unsigned int > I1Cached;
1394 std::map<std::pair<double, double>,
unsigned int > sigma0Cached;
1395 std::map<std::pair<double, double>,
unsigned int > sigma1Cached;
1396 std::map<std::pair<double, double>,
unsigned int > sigma2Cached;
1397 std::map<std::pair<double, double>,
unsigned int > sigma3Cached;
1398 std::map<std::pair<double, double>,
unsigned int > sigma4Cached;
1399 std::map<std::pair<double, double>,
unsigned int > sigma5Cached;
1400 std::map<std::pair<double, double>,
unsigned int > sigma6Cached;
1401 std::map<std::pair<double, double>,
unsigned int > sigma7Cached;
1402 std::map<std::pair<double, double>,
unsigned int > sigma8Cached;
1403 std::map<std::pair<double, double>,
unsigned int > sigma9Cached;
1404 std::map<std::pair<double, double>,
unsigned int > sigma10Cached;
1405 std::map<std::pair<double, double>,
unsigned int > sigma11Cached;
1407 std::map<std::pair<double, double>,
unsigned int > delta0Cached;
1408 std::map<std::pair<double, double>,
unsigned int > delta1Cached;
1409 std::map<std::pair<double, double>,
unsigned int > delta2Cached;
1410 std::map<std::pair<double, double>,
unsigned int > delta3Cached;
1411 std::map<std::pair<double, double>,
unsigned int > delta6Cached;
1412 std::map<std::pair<double, double>,
unsigned int > delta7Cached;
1413 std::map<std::pair<double, double>,
unsigned int > delta8Cached;
1414 std::map<std::pair<double, double>,
unsigned int > delta10Cached;
1415 std::map<std::pair<double, double>,
unsigned int > delta11Cached;
1417 std::map<std::pair<double, double>,
unsigned int > sigmaTreeCached;
1419 std::map<double, unsigned int> deltaTparpCached;
1420 std::map<double, unsigned int> deltaTparmCached;
1421 std::map<double, unsigned int> deltaTperpCached;
1423 std::map<double, gslpp::complex> cacheDeltaTparp;
1424 std::map<double, gslpp::complex> cacheDeltaTparm;
1425 std::map<double, gslpp::complex> cacheDeltaTperp;
1427 unsigned int deltaTparpupdated;
1428 unsigned int deltaTparmupdated;
1429 unsigned int deltaTperpupdated;
1431 unsigned int T_updated;
1432 gslpp::vector<double> T_cache;
1437 void updateParameters();
1449 double z(
double q2);
1456 double z_DM(
double q2);
1464 double phi_f(
double q2,
double MRf_2);
1472 double phi_g(
double q2,
double MRg_2);
1480 double phi_F1(
double q2,
double MRF1_2);
1488 double phi_F2(
double q2,
double MRF2_2);
1496 double phi_T0(
double q2,
double MRT0_2);
1504 double phi_T1(
double q2,
double MRT1_2);
1512 double phi_T2(
double q2,
double MRT2_2);
1523 double f_DM(
double q2,
double a_0f,
double a_1f,
double a_2f,
double MRf_2);
1534 double g_DM(
double q2,
double a_0g,
double a_1g,
double a_2g,
double MRg_2);
1545 double F1_DM(
double q2,
double a_0F1,
double a_1F1,
double a_2F1,
double MRF1_2);
1556 double F2_DM(
double q2,
double a_0F2,
double a_1F2,
double a_2F2,
double MRF2_2);
1567 double T0_DM(
double q2,
double a_0T0,
double a_1T0,
double a_2T0,
double MRT0_2);
1578 double T1_DM(
double q2,
double a_0T1,
double a_1T1,
double a_2T1,
double MRT1_2);
1589 double T2_DM(
double q2,
double a_0T2,
double a_1T2,
double a_2T2,
double MRT2_2);
1596 double V(
double q2);
1604 double A_0(
double q2);
1612 double A_1(
double q2);
1619 double A_2(
double q2);
1626 double T_1(
double q2);
1634 double T_2(
double q2);
1641 double V_0t(
double q2);
1648 double V_p(
double q2);
1655 double V_m(
double q2);
1662 double T_0t(
double q2);
1669 double T_p(
double q2);
1676 double T_m(
double q2);
1683 double S_L(
double q2);
1690 gslpp::complex H_0(
double q2);
1699 gslpp::complex H(
double q2,
double m2,
double mu2);
1706 gslpp::complex Y(
double q2);
1708 gslpp::complex funct_g(
double q2);
1710 gslpp::complex DeltaC9_KD(
double q2,
int com);
1717 gslpp::complex zh(
double q2);
1724 gslpp::complex P(
double q2);
1731 gslpp::complex Phi_1(
double q2);
1738 gslpp::complex Phi_1_st(
double q2);
1745 gslpp::complex Phi_2(
double q2);
1752 gslpp::complex Phi_2_st(
double q2);
1759 gslpp::complex Phi_3(
double q2);
1766 gslpp::complex Phi_3_st(
double q2);
1773 gslpp::complex Phi_4(
double q2);
1780 gslpp::complex Phi_4_st(
double q2);
1787 gslpp::complex Phi_5(
double q2);
1794 gslpp::complex Phi_5_st(
double q2);
1801 gslpp::complex Phi_6(
double q2);
1808 gslpp::complex Phi_6_st(
double q2);
1814 gslpp::complex p0();
1821 gslpp::complex p1(
double q2);
1828 gslpp::complex p2(
double q2);
1835 gslpp::complex p3(
double q2);
1842 gslpp::complex p4(
double q2);
1849 gslpp::complex p5(
double q2);
1856 gslpp::complex p6(
double q2);
1863 gslpp::complex phi_1(
double q2);
1870 gslpp::complex phi_2(
double q2);
1877 gslpp::complex phi_3(
double q2);
1884 gslpp::complex phi_4(
double q2);
1892 gslpp::complex DeltaC9_zExpansion(
double q2,
int tran);
1899 double k2 (
double q2);
1906 double beta2 (
double q2);
1913 double lambda(
double q2);
1921 double F(
double q2,
double b_i);
1929 double I_1c(
double q2,
bool bar);
1937 double I_1s(
double q2,
bool bar);
1945 double I_2c(
double q2,
bool bar);
1953 double I_2s(
double q2,
bool bar);
1961 double I_3(
double q2,
bool bar);
1969 double I_4(
double q2,
bool bar);
1977 double I_5(
double q2,
bool bar);
1985 double I_6c(
double q2,
bool bar);
1993 double I_6s(
double q2,
bool bar);
2001 double I_7(
double q2,
bool bar);
2009 double I_8(
double q2,
bool bar);
2017 double I_9(
double q2,
bool bar);
2025 double h_1s(
double q2,
bool bar);
2033 double h_1c(
double q2,
bool bar);
2041 double h_2s(
double q2,
bool bar);
2049 double h_2c(
double q2,
bool bar);
2057 double h_3(
double q2,
bool bar);
2065 double h_4(
double q2,
bool bar);
2073 double h_7(
double q2,
bool bar);
2081 double s_5(
double q2,
bool bar);
2089 double s_6s(
double q2,
bool bar);
2097 double s_6c(
double q2,
bool bar);
2105 double s_8(
double q2,
bool bar);
2113 double s_9(
double q2,
bool bar);
2120 double getSigma1c(
double q2)
2124 return (I_1c(q2, 0) + I_1c(q2, 1))/2.;
2127 return (I_1c(q2, 0) + I_1c(q2, 1))/2.;
2130 return (I_1c(q2, 0) + I_1c(q2, 1) -
ys * h_1c(q2, 0) )/2.;
2133 std::stringstream out;
2135 throw std::runtime_error(
"MVll::getSigma1c : vector " + out.str() +
" not implemented");
2144 double getSigma1s(
double q2)
2148 return (I_1s(q2, 0) + I_1s(q2, 1))/2.;
2151 return (I_1s(q2, 0) + I_1s(q2, 1))/2.;
2154 return (I_1s(q2, 0) + I_1s(q2, 1) -
ys * h_1s(q2, 0))/2.;
2157 std::stringstream out;
2159 throw std::runtime_error(
"MVll::getSigma1s : vector " + out.str() +
" not implemented");
2168 double getSigma2c(
double q2)
2172 return (I_2c(q2, 0) + I_2c(q2, 1))/2.;
2175 return (I_2c(q2, 0) + I_2c(q2, 1))/2.;
2178 return (I_2c(q2, 0) + I_2c(q2, 1) -
ys * h_2c(q2, 0))/2.;
2181 std::stringstream out;
2183 throw std::runtime_error(
"MVll::getSigma2c : vector " + out.str() +
" not implemented");
2192 double getSigma2s(
double q2)
2196 return (I_2s(q2, 0) + I_2s(q2, 1))/2.;
2199 return (I_2s(q2, 0) + I_2s(q2, 1))/2.;
2202 return (I_2s(q2, 0) + I_2s(q2, 1) -
ys * h_2s(q2, 0))/2.;
2205 std::stringstream out;
2207 throw std::runtime_error(
"MVll::getSigma2s : vector " + out.str() +
" not implemented");
2216 double getSigma3(
double q2)
2220 return (I_3(q2, 0) + I_3(q2, 1))/2.;
2223 return (I_3(q2, 0) + I_3(q2, 1))/2.;
2226 return (I_3(q2, 0) + I_3(q2, 1) -
ys * h_3(q2, 0))/2.;
2229 std::stringstream out;
2231 throw std::runtime_error(
"MVll::getSigma3 : vector " + out.str() +
" not implemented");
2240 double getSigma4(
double q2)
2244 return (I_4(q2, 0) + I_4(q2, 1))/2.;
2247 return (I_4(q2, 0) + I_4(q2, 1))/2.;
2250 return (I_4(q2, 0) + I_4(q2, 1) -
ys * h_4(q2, 0))/2.;
2253 std::stringstream out;
2255 throw std::runtime_error(
"MVll::getSigma4 : vector " + out.str() +
" not implemented");
2264 double getSigma5(
double q2)
2266 return (I_5(q2, 0) + I_5(q2, 1))/2.;
2274 double getSigma6s(
double q2)
2276 return (I_6s(q2, 0) + I_6s(q2, 1))/2.;
2284 double getSigma6c(
double q2)
2286 return (I_6c(q2, 0) + I_6c(q2, 1))/2.;
2294 double getSigma7(
double q2)
2298 return (I_7(q2, 0) + I_7(q2, 1))/2.;
2301 return (I_7(q2, 0) + I_7(q2, 1))/2.;
2304 return (I_7(q2, 0) + I_7(q2, 1) -
ys * h_7(q2, 0))/2.;
2307 std::stringstream out;
2309 throw std::runtime_error(
"MVll::getSigma7 : vector " + out.str() +
" not implemented");
2318 double getSigma8(
double q2)
2320 return (I_8(q2, 0) + I_8(q2, 1))/2.;
2328 double getSigma9(
double q2)
2330 return (I_9(q2, 0) + I_9(q2, 1))/2.;
2338 double getDelta1c(
double q2)
2340 return (I_1c(q2, 0) - I_1c(q2, 1)) / 2.;
2348 double getDelta1s(
double q2)
2350 return (I_1s(q2, 0) - I_1s(q2, 1)) / 2.;
2358 double getDelta2c(
double q2)
2360 return (I_2c(q2, 0) - I_2c(q2, 1)) / 2.;
2368 double getDelta2s(
double q2)
2370 return (I_2s(q2, 0) - I_2s(q2, 1))/2.;
2378 double getDelta3(
double q2)
2380 return (I_3(q2, 0) - I_3(q2, 1))/2.;
2388 double getDelta4(
double q2)
2390 return (I_4(q2, 0) - I_4(q2, 1))/2.;
2398 double getDelta5(
double q2)
2402 return (I_5(q2, 0) - I_5(q2, 1))/2.;
2405 return (I_5(q2, 0) - I_5(q2, 1))/2.;
2408 return (1. -
ys*
ys)/(1. +
xs*
xs) * (I_5(q2, 0) - I_5(q2, 1) -
xs * s_5(q2, 0))/2.;
2411 std::stringstream out;
2413 throw std::runtime_error(
"MVll::getDelta5 : vector " + out.str() +
" not implemented");
2422 double getDelta6s(
double q2)
2426 return (I_6s(q2, 0) - I_6s(q2, 1))/2.;
2429 return (I_6s(q2, 0) - I_6s(q2, 1))/2.;
2432 return (1. -
ys*
ys)/(1. +
xs*
xs) * (I_6s(q2, 0) - I_6s(q2, 1) -
xs * s_6s(q2, 0))/2.;
2435 std::stringstream out;
2437 throw std::runtime_error(
"MVll::getDelta6s : vector " + out.str() +
" not implemented");
2446 double getDelta6c(
double q2)
2450 return (I_6c(q2, 0) - I_6c(q2, 1))/2.;
2453 return (I_6c(q2, 0) - I_6c(q2, 1))/2.;
2456 return (1. -
ys*
ys)/(1. +
xs*
xs) * (I_6c(q2, 0) - I_6c(q2, 1) -
xs * s_6c(q2, 0))/2.;
2459 std::stringstream out;
2461 throw std::runtime_error(
"MVll::getDelta6c : vector " + out.str() +
" not implemented");
2470 double getDelta7(
double q2)
2472 return (I_7(q2, 0) - I_7(q2, 1))/2.;
2480 double getDelta8(
double q2)
2484 return (I_8(q2, 0) - I_8(q2, 1))/2.;
2487 return (I_8(q2, 0) - I_8(q2, 1))/2.;
2490 return (1. -
ys*
ys)/(1. +
xs*
xs) * (I_8(q2, 0) - I_8(q2, 1) -
xs * s_8(q2, 0))/2.;
2493 std::stringstream out;
2495 throw std::runtime_error(
"MVll::getDelta8 : vector " + out.str() +
" not implemented");
2504 double getDelta9(
double q2)
2508 return (I_9(q2, 0) - I_9(q2, 1))/2.;
2511 return (I_9(q2, 0) - I_9(q2, 1))/2.;
2514 return (1. -
ys*
ys)/(1. +
xs*
xs) * (I_9(q2, 0) - I_9(q2, 1) -
xs * s_9(q2, 0))/2.;
2517 std::stringstream out;
2519 throw std::runtime_error(
"MVll::getDelta9 : vector " + out.str() +
" not implemented");
2536 gslpp::complex
A_Seidel(
double q2,
double mb2);
2538 gslpp::complex
B_Seidel(
double q2,
double mb2);
2540 gslpp::complex
C_Seidel(
double q2);
2547 gslpp::complex
deltaC7_QCDF(
double q2,
bool conjugate,
bool spline =
false);
2554 gslpp::complex
deltaC9_QCDF(
double q2,
bool conjugate,
bool spline =
false);
2561 gslpp::complex
Cq34(
bool conjugate);
2602 gslpp::complex
t_perp(
double q2,
double u,
double m2);
2610 gslpp::complex
t_para(
double q2,
double u,
double m2);
2612 gslpp::complex
I1(
double q2,
double u,
double m2);
2614 gslpp::complex
B0diff(
double q2,
double u,
double m2);
2616 gslpp::complex
B0(
double s,
double m2);
2618 gslpp::complex
h_func(
double s,
double m2);
2649 double phi_V(
double u);
2660 double T_perp_real(
double q2,
double u,
bool conjugate);
2669 double T_perp_imag(
double q2,
double u,
bool conjugate);
2678 double T_para_real(
double q2,
double u,
bool conjugate);
2687 double T_para_imag(
double q2,
double u,
bool conjugate);
2727 gslpp::complex
T_minus(
double q2,
bool conjugate);
2729 gslpp::complex
T_0(
double q2,
bool conjugate);
2740 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)
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.
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 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 .