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);
466 gslpp::complex
h_lambda(
int hel,
double q2);
510 gslpp::complex
H_V_0(
double q2,
bool bar);
517 gslpp::complex
H_V_p(
double q2,
bool bar);
524 gslpp::complex
H_V_m(
double q2,
bool bar);
531 gslpp::complex
H_A_0(
double q2,
bool bar);
538 gslpp::complex
H_A_p(
double q2,
bool bar);
545 gslpp::complex
H_A_m(
double q2,
bool bar);
552 gslpp::complex
H_S(
double q2,
bool bar);
559 gslpp::complex
H_P(
double q2,
bool bar);
611 return (
getQCDf_1(cutoff) * cutoff).abs();
617 return (
getQCDf_2(cutoff) * cutoff).abs();
623 return (
getQCDf_3(cutoff) * cutoff).abs();
634 return C2_inv * (gtilde_1_pre/(sqrt(lambda(q2)) * V(q2)) * (
h_lambda(2,q2)-
h_lambda(1,q2))).real()/q2;
645 return C2_inv * (gtilde_1_pre/(sqrt(lambda(q2)) * V(q2)) * (
h_lambda(2,q2)-
h_lambda(1,q2))).imag()/q2;
656 return C2_inv * (gtilde_2_pre/A_1(q2) * (
h_lambda(1,q2)+
h_lambda(2,q2))).real()/q2;
667 return C2_inv * (gtilde_2_pre/A_1(q2) * (
h_lambda(1,q2)+
h_lambda(2,q2))).imag()/q2;
678 return C2_inv * (gtilde_3_pre/(lambda(q2) * A_2(q2)) * (sqrt(q2)*
h_lambda(0,q2)/q2-
690 return C2_inv * (gtilde_3_pre/(lambda(q2) * A_2(q2)) * (sqrt(q2)*
h_lambda(0,q2)/q2-
701 return (sixteenM_PI2MM2 *
h_lambda(0,q2)/q2).real();
711 return (sixteenM_PI2MM2 *
h_lambda(0,q2)/q2).imag();
730 return (sixteenM_PI2MM2 *
h_lambda(1,q2)/q2).real();
740 return (sixteenM_PI2MM2 *
h_lambda(1,q2)/q2).imag();
759 return (sixteenM_PI2MM2 *
h_lambda(2,q2)/q2).real();
769 return (sixteenM_PI2MM2 *
h_lambda(2,q2)/q2).imag();
820 gslpp::complex lambda_t;
821 gslpp::complex lambda_u;
823 gslpp::complex
h_0[3];
824 gslpp::complex h_1[3];
825 gslpp::complex h_2[3];
826 gslpp::complex SU3_breaking;
828 gslpp::complex beta_0[7];
829 gslpp::complex beta_1[7];
830 gslpp::complex beta_2[7];
840 double twoalphaBtoKst;
887 double ninetysixM_PI3MM3;
890 double sixteenM_PI2MM2;
892 gslpp::complex H_0_pre;
900 gslpp::complex H_0_WC;
901 gslpp::complex H_c_WC;
902 gslpp::complex H_b_WC;
907 gslpp::complex ihalfMPI;
915 gslpp::complex NN_conjugate;
935 gslpp::complex F87_0;
936 gslpp::complex F87_1;
937 gslpp::complex F87_2;
938 gslpp::complex F87_3;
1005 gslpp::vector<gslpp::complex> ** allcoeff;
1006 gslpp::vector<gslpp::complex> ** allcoeffh;
1007 gslpp::vector<gslpp::complex> ** allcoeffprime;
1009 gslpp::vector<gslpp::complex> ** allcoeff_noSM;
1011 gslpp::vector<gslpp::complex> ** allcoeff_nu;
1013 gslpp::vector<gslpp::complex> ** allcoeff_noSM_nu;
1016 gslpp::complex C_1L_bar;
1017 gslpp::complex C_1Lh_bar;
1019 gslpp::complex C_2L_bar;
1020 gslpp::complex C_2Lh_bar;
1027 gslpp::complex C_8L;
1028 gslpp::complex C_8Lh;
1030 gslpp::complex C_10;
1034 gslpp::complex C_7p;
1035 gslpp::complex C_9p;
1036 gslpp::complex C_10p;
1037 gslpp::complex C_Sp;
1038 gslpp::complex C_Pp;
1040 gslpp::complex C_L_nunu;
1041 gslpp::complex C_R_nunu;
1043 gslpp::complex C_L_nunu_e;
1044 gslpp::complex C_R_nunu_e;
1045 gslpp::complex C_L_nunu_mu;
1046 gslpp::complex C_R_nunu_mu;
1047 gslpp::complex C_L_nunu_tau;
1048 gslpp::complex C_R_nunu_tau;
1050 std::vector<double> Re_T_perp;
1051 std::vector<double> Im_T_perp;
1052 std::vector<double> Re_T_para;
1053 std::vector<double> Im_T_para;
1055 gsl_interp_accel *acc_Re_T_perp;
1056 gsl_interp_accel *acc_Im_T_perp;
1057 gsl_interp_accel *acc_Re_T_para;
1058 gsl_interp_accel *acc_Im_T_para;
1060 gsl_spline *spline_Re_T_perp;
1061 gsl_spline *spline_Im_T_perp;
1062 gsl_spline *spline_Re_T_para;
1063 gsl_spline *spline_Im_T_para;
1065 gsl_interp_accel *acc_Re_deltaC7_QCDF;
1066 gsl_interp_accel *acc_Im_deltaC7_QCDF;
1067 gsl_interp_accel *acc_Re_deltaC9_QCDF;
1068 gsl_interp_accel *acc_Im_deltaC9_QCDF;
1070 gsl_spline *spline_Re_deltaC7_QCDF;
1071 gsl_spline *spline_Im_deltaC7_QCDF;
1072 gsl_spline *spline_Re_deltaC9_QCDF;
1073 gsl_spline *spline_Im_deltaC9_QCDF;
1076 std::vector<double> Re_T_perp_conj;
1077 std::vector<double> Im_T_perp_conj;
1078 std::vector<double> Re_T_para_conj;
1079 std::vector<double> Im_T_para_conj;
1081 gsl_interp_accel *acc_Re_T_perp_conj;
1082 gsl_interp_accel *acc_Im_T_perp_conj;
1083 gsl_interp_accel *acc_Re_T_para_conj;
1084 gsl_interp_accel *acc_Im_T_para_conj;
1086 gsl_interp_accel *acc_Re_deltaC7_QCDF_conj;
1087 gsl_interp_accel *acc_Im_deltaC7_QCDF_conj;
1088 gsl_interp_accel *acc_Re_deltaC9_QCDF_conj;
1089 gsl_interp_accel *acc_Im_deltaC9_QCDF_conj;
1091 gsl_spline *spline_Re_T_perp_conj;
1092 gsl_spline *spline_Im_T_perp_conj;
1093 gsl_spline *spline_Re_T_para_conj;
1094 gsl_spline *spline_Im_T_para_conj;
1096 gsl_spline *spline_Re_deltaC7_QCDF_conj;
1097 gsl_spline *spline_Im_deltaC7_QCDF_conj;
1098 gsl_spline *spline_Re_deltaC9_QCDF_conj;
1099 gsl_spline *spline_Im_deltaC9_QCDF_conj;
1102 std::vector<double> myq2;
1104 TFitResultPtr Re_T_perp_res;
1105 TFitResultPtr Im_T_perp_res;
1106 TFitResultPtr Re_T_para_res;
1107 TFitResultPtr Im_T_para_res;
1109 TFitResultPtr Re_T_perp_res_conj;
1110 TFitResultPtr Im_T_perp_res_conj;
1111 TFitResultPtr Re_T_para_res_conj;
1112 TFitResultPtr Im_T_para_res_conj;
1124 double avaSigmaTree;
1128 double errSigmaTree;
1133 gsl_integration_cquad_workspace * w_sigma;
1134 gsl_integration_cquad_workspace * w_delta;
1135 gsl_integration_cquad_workspace * w_sigmaTree;
1137 gsl_error_handler_t * old_handler;
1139 std::map<std::pair<double, double>, gslpp::complex > cacheI1;
1141 std::map<std::pair<double, double>,
double > cacheSigma0;
1142 std::map<std::pair<double, double>,
double > cacheSigma1;
1143 std::map<std::pair<double, double>,
double > cacheSigma2;
1144 std::map<std::pair<double, double>,
double > cacheSigma3;
1145 std::map<std::pair<double, double>,
double > cacheSigma4;
1146 std::map<std::pair<double, double>,
double > cacheSigma5;
1147 std::map<std::pair<double, double>,
double > cacheSigma6;
1148 std::map<std::pair<double, double>,
double > cacheSigma7;
1149 std::map<std::pair<double, double>,
double > cacheSigma9;
1150 std::map<std::pair<double, double>,
double > cacheSigma10;
1151 std::map<std::pair<double, double>,
double > cacheSigma11;
1153 std::map<std::pair<double, double>,
double > cacheDelta0;
1154 std::map<std::pair<double, double>,
double > cacheDelta1;
1155 std::map<std::pair<double, double>,
double > cacheDelta2;
1156 std::map<std::pair<double, double>,
double > cacheDelta3;
1157 std::map<std::pair<double, double>,
double > cacheDelta6;
1158 std::map<std::pair<double, double>,
double > cacheDelta7;
1159 std::map<std::pair<double, double>,
double > cacheDelta8;
1160 std::map<std::pair<double, double>,
double > cacheDelta10;
1161 std::map<std::pair<double, double>,
double > cacheDelta11;
1163 std::map<std::pair<double, double>,
double > cacheSigmaTree;
1165 unsigned int N_updated;
1166 gslpp::vector<double> N_cache;
1167 gslpp::complex Nc_cache;
1169 unsigned int V_updated;
1170 gslpp::vector<double> V_cache;
1172 unsigned int A0_updated;
1173 gslpp::vector<double> A0_cache;
1175 unsigned int A1_updated;
1176 gslpp::vector<double> A1_cache;
1178 unsigned int T1_updated;
1179 gslpp::vector<double> T1_cache;
1181 unsigned int T2_updated;
1182 gslpp::vector<double> T2_cache;
1184 unsigned int k2_updated;
1185 gslpp::vector<double> k2_cache;
1187 unsigned int z_updated;
1189 unsigned int lambda_updated;
1191 unsigned int beta_updated;
1194 unsigned int F_updated;
1196 unsigned int VL1_updated;
1197 unsigned int VL2_updated;
1199 unsigned int TL1_updated;
1200 unsigned int TL2_updated;
1202 unsigned int VR1_updated;
1203 unsigned int VR2_updated;
1205 unsigned int TR1_updated;
1206 unsigned int TR2_updated;
1208 unsigned int VL0_updated;
1209 gslpp::vector<double> VL0_cache;
1211 unsigned int TL0_updated;
1212 gslpp::vector<double> TL0_cache;
1214 unsigned int VR0_updated;
1216 unsigned int TR0_updated;
1218 unsigned int Mb_Ms_updated;
1220 unsigned int SL_updated;
1221 gslpp::vector<double> SL_cache;
1223 unsigned int SR_updated;
1225 unsigned int C_1_updated;
1226 gslpp::complex C_1_cache;
1228 unsigned int C_2_updated;
1229 gslpp::complex C_2_cache;
1231 unsigned int C_3_updated;
1232 gslpp::complex C_3_cache;
1234 unsigned int C_4_updated;
1235 gslpp::complex C_4_cache;
1237 unsigned int C_5_updated;
1238 gslpp::complex C_5_cache;
1240 unsigned int C_6_updated;
1241 gslpp::complex C_6_cache;
1243 unsigned int C_7_updated;
1244 gslpp::complex C_7_cache;
1246 unsigned int C_9_updated;
1247 gslpp::complex C_9_cache;
1249 unsigned int C_10_updated;
1250 gslpp::complex C_10_cache;
1252 unsigned int C_7p_updated;
1253 gslpp::complex C_7p_cache;
1255 unsigned int C_9p_updated;
1256 gslpp::complex C_9p_cache;
1258 unsigned int C_10p_updated;
1259 gslpp::complex C_10p_cache;
1261 unsigned int C_S_updated;
1262 gslpp::complex C_S_cache;
1264 unsigned int C_P_updated;
1265 gslpp::complex C_P_cache;
1267 unsigned int C_Sp_updated;
1268 gslpp::complex C_Sp_cache;
1270 unsigned int C_Pp_updated;
1271 gslpp::complex C_Pp_cache;
1273 unsigned int C_2Lh_updated;
1274 gslpp::complex C_2Lh_cache;
1276 unsigned int C_8Lh_updated;
1277 gslpp::complex C_8Lh_cache;
1279 unsigned int C_L_nunu_updated;
1280 gslpp::complex C_L_nunu_cache;
1282 unsigned int C_R_nunu_updated;
1283 gslpp::complex C_R_nunu_cache;
1285 unsigned int Yupdated;
1286 gslpp::vector<double> Ycache;
1288 gslpp::complex h0Ccache[4];
1289 gslpp::complex h1Ccache[4];
1290 gslpp::complex h2Ccache[4];
1292 gslpp::complex beta0Ccache[8];
1293 gslpp::complex beta1Ccache[8];
1294 gslpp::complex beta2Ccache[8];
1296 unsigned int h0_updated;
1297 unsigned int h1_updated;
1298 unsigned int h2_updated;
1300 unsigned int H_V0updated;
1301 gslpp::vector<double> H_V0cache;
1303 unsigned int H_V1updated;
1304 gslpp::vector<double> H_V1cache;
1306 unsigned int H_V2updated;
1307 gslpp::vector<double> H_V2cache;
1309 unsigned int H_A0updated;
1310 unsigned int H_A1updated;
1311 unsigned int H_A2updated;
1313 unsigned int H_Supdated;
1314 gslpp::vector<double> H_Scache;
1316 unsigned int H_Pupdated;
1317 gslpp::vector<double> H_Pcache;
1319 unsigned int I0_updated;
1320 unsigned int I1_updated;
1321 unsigned int I2_updated;
1322 unsigned int I3_updated;
1323 unsigned int I4_updated;
1324 unsigned int I5_updated;
1325 unsigned int I6_updated;
1326 unsigned int I7_updated;
1327 unsigned int I8_updated;
1328 unsigned int I9_updated;
1329 unsigned int I10_updated;
1330 unsigned int I11_updated;
1332 unsigned int Itree_updated;
1333 gslpp::vector<double> Itree_cache;
1335 std::map<std::pair<double, double>,
unsigned int > I1Cached;
1337 std::map<std::pair<double, double>,
unsigned int > sigma0Cached;
1338 std::map<std::pair<double, double>,
unsigned int > sigma1Cached;
1339 std::map<std::pair<double, double>,
unsigned int > sigma2Cached;
1340 std::map<std::pair<double, double>,
unsigned int > sigma3Cached;
1341 std::map<std::pair<double, double>,
unsigned int > sigma4Cached;
1342 std::map<std::pair<double, double>,
unsigned int > sigma5Cached;
1343 std::map<std::pair<double, double>,
unsigned int > sigma6Cached;
1344 std::map<std::pair<double, double>,
unsigned int > sigma7Cached;
1345 std::map<std::pair<double, double>,
unsigned int > sigma9Cached;
1346 std::map<std::pair<double, double>,
unsigned int > sigma10Cached;
1347 std::map<std::pair<double, double>,
unsigned int > sigma11Cached;
1349 std::map<std::pair<double, double>,
unsigned int > delta0Cached;
1350 std::map<std::pair<double, double>,
unsigned int > delta1Cached;
1351 std::map<std::pair<double, double>,
unsigned int > delta2Cached;
1352 std::map<std::pair<double, double>,
unsigned int > delta3Cached;
1353 std::map<std::pair<double, double>,
unsigned int > delta6Cached;
1354 std::map<std::pair<double, double>,
unsigned int > delta7Cached;
1355 std::map<std::pair<double, double>,
unsigned int > delta8Cached;
1356 std::map<std::pair<double, double>,
unsigned int > delta10Cached;
1357 std::map<std::pair<double, double>,
unsigned int > delta11Cached;
1359 std::map<std::pair<double, double>,
unsigned int > sigmaTreeCached;
1361 std::map<double, unsigned int> deltaTparpCached;
1362 std::map<double, unsigned int> deltaTparmCached;
1363 std::map<double, unsigned int> deltaTperpCached;
1365 std::map<double, gslpp::complex> cacheDeltaTparp;
1366 std::map<double, gslpp::complex> cacheDeltaTparm;
1367 std::map<double, gslpp::complex> cacheDeltaTperp;
1369 unsigned int deltaTparpupdated;
1370 unsigned int deltaTparmupdated;
1371 unsigned int deltaTperpupdated;
1373 unsigned int T_updated;
1374 gslpp::vector<double> T_cache;
1379 void updateParameters();
1391 double z(
double q2);
1398 double z_DM(
double q2);
1406 double phi_f(
double q2,
double MRf_2);
1414 double phi_g(
double q2,
double MRg_2);
1422 double phi_F1(
double q2,
double MRF1_2);
1430 double phi_F2(
double q2,
double MRF2_2);
1438 double phi_T0(
double q2,
double MRT0_2);
1446 double phi_T1(
double q2,
double MRT1_2);
1454 double phi_T2(
double q2,
double MRT2_2);
1465 double f_DM(
double q2,
double a_0f,
double a_1f,
double a_2f,
double MRf_2);
1476 double g_DM(
double q2,
double a_0g,
double a_1g,
double a_2g,
double MRg_2);
1487 double F1_DM(
double q2,
double a_0F1,
double a_1F1,
double a_2F1,
double MRF1_2);
1498 double F2_DM(
double q2,
double a_0F2,
double a_1F2,
double a_2F2,
double MRF2_2);
1509 double T0_DM(
double q2,
double a_0T0,
double a_1T0,
double a_2T0,
double MRT0_2);
1520 double T1_DM(
double q2,
double a_0T1,
double a_1T1,
double a_2T1,
double MRT1_2);
1531 double T2_DM(
double q2,
double a_0T2,
double a_1T2,
double a_2T2,
double MRT2_2);
1538 double V(
double q2);
1546 double A_0(
double q2);
1554 double A_1(
double q2);
1561 double A_2(
double q2);
1568 double T_1(
double q2);
1576 double T_2(
double q2);
1583 double V_0t(
double q2);
1590 double V_p(
double q2);
1597 double V_m(
double q2);
1604 double T_0t(
double q2);
1611 double T_p(
double q2);
1618 double T_m(
double q2);
1625 double S_L(
double q2);
1632 gslpp::complex H_0(
double q2);
1641 gslpp::complex H(
double q2,
double m2,
double mu2);
1648 gslpp::complex Y(
double q2);
1650 gslpp::complex funct_g(
double q2);
1652 gslpp::complex DeltaC9_KD(
double q2,
int com);
1659 gslpp::complex zh(
double q2);
1666 gslpp::complex P(
double q2);
1673 gslpp::complex Phi_1(
double q2);
1680 gslpp::complex Phi_1_st(
double q2);
1687 gslpp::complex Phi_2(
double q2);
1694 gslpp::complex Phi_2_st(
double q2);
1701 gslpp::complex Phi_3(
double q2);
1708 gslpp::complex Phi_3_st(
double q2);
1715 gslpp::complex Phi_4(
double q2);
1722 gslpp::complex Phi_4_st(
double q2);
1729 gslpp::complex Phi_5(
double q2);
1736 gslpp::complex Phi_5_st(
double q2);
1743 gslpp::complex Phi_6(
double q2);
1750 gslpp::complex Phi_6_st(
double q2);
1756 gslpp::complex p0();
1763 gslpp::complex p1(
double q2);
1770 gslpp::complex p2(
double q2);
1777 gslpp::complex p3(
double q2);
1784 gslpp::complex p4(
double q2);
1791 gslpp::complex p5(
double q2);
1798 gslpp::complex p6(
double q2);
1805 gslpp::complex phi_1(
double q2);
1812 gslpp::complex phi_2(
double q2);
1819 gslpp::complex phi_3(
double q2);
1826 gslpp::complex phi_4(
double q2);
1834 gslpp::complex DeltaC9_zExpansion(
double q2,
int tran);
1841 double k2 (
double q2);
1848 double beta2 (
double q2);
1855 double lambda(
double q2);
1863 double F(
double q2,
double b_i);
1871 double I_1c(
double q2,
bool bar);
1879 double I_1s(
double q2,
bool bar);
1887 double I_2c(
double q2,
bool bar);
1895 double I_2s(
double q2,
bool bar);
1903 double I_3(
double q2,
bool bar);
1911 double I_4(
double q2,
bool bar);
1919 double I_5(
double q2,
bool bar);
1927 double I_6c(
double q2,
bool bar);
1935 double I_6s(
double q2,
bool bar);
1943 double I_7(
double q2,
bool bar);
1951 double I_8(
double q2,
bool bar);
1959 double I_9(
double q2,
bool bar);
1967 double h_1s(
double q2,
bool bar);
1975 double h_1c(
double q2,
bool bar);
1983 double h_2s(
double q2,
bool bar);
1991 double h_2c(
double q2,
bool bar);
1999 double h_3(
double q2,
bool bar);
2007 double h_4(
double q2,
bool bar);
2015 double h_7(
double q2,
bool bar);
2023 double s_5(
double q2,
bool bar);
2031 double s_6s(
double q2,
bool bar);
2039 double s_6c(
double q2,
bool bar);
2047 double s_8(
double q2,
bool bar);
2055 double s_9(
double q2,
bool bar);
2062 double getSigma1c(
double q2)
2066 return (I_1c(q2, 0) + I_1c(q2, 1))/2.;
2069 return (I_1c(q2, 0) + I_1c(q2, 1))/2.;
2072 return (I_1c(q2, 0) + I_1c(q2, 1) -
ys * h_1c(q2, 0) )/2.;
2075 std::stringstream out;
2077 throw std::runtime_error(
"MVll::getSigma1c : vector " + out.str() +
" not implemented");
2086 double getSigma1s(
double q2)
2090 return (I_1s(q2, 0) + I_1s(q2, 1))/2.;
2093 return (I_1s(q2, 0) + I_1s(q2, 1))/2.;
2096 return (I_1s(q2, 0) + I_1s(q2, 1) -
ys * h_1s(q2, 0))/2.;
2099 std::stringstream out;
2101 throw std::runtime_error(
"MVll::getSigma1s : vector " + out.str() +
" not implemented");
2110 double getSigma2c(
double q2)
2114 return (I_2c(q2, 0) + I_2c(q2, 1))/2.;
2117 return (I_2c(q2, 0) + I_2c(q2, 1))/2.;
2120 return (I_2c(q2, 0) + I_2c(q2, 1) -
ys * h_2c(q2, 0))/2.;
2123 std::stringstream out;
2125 throw std::runtime_error(
"MVll::getSigma2c : vector " + out.str() +
" not implemented");
2134 double getSigma2s(
double q2)
2138 return (I_2s(q2, 0) + I_2s(q2, 1))/2.;
2141 return (I_2s(q2, 0) + I_2s(q2, 1))/2.;
2144 return (I_2s(q2, 0) + I_2s(q2, 1) -
ys * h_2s(q2, 0))/2.;
2147 std::stringstream out;
2149 throw std::runtime_error(
"MVll::getSigma2s : vector " + out.str() +
" not implemented");
2158 double getSigma3(
double q2)
2162 return (I_3(q2, 0) + I_3(q2, 1))/2.;
2165 return (I_3(q2, 0) + I_3(q2, 1))/2.;
2168 return (I_3(q2, 0) + I_3(q2, 1) -
ys * h_3(q2, 0))/2.;
2171 std::stringstream out;
2173 throw std::runtime_error(
"MVll::getSigma3 : vector " + out.str() +
" not implemented");
2182 double getSigma4(
double q2)
2186 return (I_4(q2, 0) + I_4(q2, 1))/2.;
2189 return (I_4(q2, 0) + I_4(q2, 1))/2.;
2192 return (I_4(q2, 0) + I_4(q2, 1) -
ys * h_4(q2, 0))/2.;
2195 std::stringstream out;
2197 throw std::runtime_error(
"MVll::getSigma4 : vector " + out.str() +
" not implemented");
2206 double getSigma5(
double q2)
2208 return (I_5(q2, 0) + I_5(q2, 1))/2.;
2216 double getSigma6s(
double q2)
2218 return (I_6s(q2, 0) + I_6s(q2, 1))/2.;
2226 double getSigma6c(
double q2)
2228 return (I_6c(q2, 0) + I_6c(q2, 1))/2.;
2236 double getSigma7(
double q2)
2240 return (I_7(q2, 0) + I_7(q2, 1))/2.;
2243 return (I_7(q2, 0) + I_7(q2, 1))/2.;
2246 return (I_7(q2, 0) + I_7(q2, 1) -
ys * h_7(q2, 0))/2.;
2249 std::stringstream out;
2251 throw std::runtime_error(
"MVll::getSigma7 : vector " + out.str() +
" not implemented");
2260 double getSigma8(
double q2)
2262 return (I_8(q2, 0) + I_8(q2, 1))/2.;
2270 double getSigma9(
double q2)
2272 return (I_9(q2, 0) + I_9(q2, 1))/2.;
2280 double getDelta1c(
double q2)
2282 return (I_1c(q2, 0) - I_1c(q2, 1)) / 2.;
2290 double getDelta1s(
double q2)
2292 return (I_1s(q2, 0) - I_1s(q2, 1)) / 2.;
2300 double getDelta2c(
double q2)
2302 return (I_2c(q2, 0) - I_2c(q2, 1)) / 2.;
2310 double getDelta2s(
double q2)
2312 return (I_2s(q2, 0) - I_2s(q2, 1))/2.;
2320 double getDelta3(
double q2)
2322 return (I_3(q2, 0) - I_3(q2, 1))/2.;
2330 double getDelta4(
double q2)
2332 return (I_4(q2, 0) - I_4(q2, 1))/2.;
2340 double getDelta5(
double q2)
2344 return (I_5(q2, 0) - I_5(q2, 1))/2.;
2347 return (I_5(q2, 0) - I_5(q2, 1))/2.;
2350 return (1. -
ys*
ys)/(1. +
xs*
xs) * (I_5(q2, 0) - I_5(q2, 1) -
xs * s_5(q2, 0))/2.;
2353 std::stringstream out;
2355 throw std::runtime_error(
"MVll::getDelta5 : vector " + out.str() +
" not implemented");
2364 double getDelta6s(
double q2)
2368 return (I_6s(q2, 0) - I_6s(q2, 1))/2.;
2371 return (I_6s(q2, 0) - I_6s(q2, 1))/2.;
2374 return (1. -
ys*
ys)/(1. +
xs*
xs) * (I_6s(q2, 0) - I_6s(q2, 1) -
xs * s_6s(q2, 0))/2.;
2377 std::stringstream out;
2379 throw std::runtime_error(
"MVll::getDelta6s : vector " + out.str() +
" not implemented");
2388 double getDelta6c(
double q2)
2392 return (I_6c(q2, 0) - I_6c(q2, 1))/2.;
2395 return (I_6c(q2, 0) - I_6c(q2, 1))/2.;
2398 return (1. -
ys*
ys)/(1. +
xs*
xs) * (I_6c(q2, 0) - I_6c(q2, 1) -
xs * s_6c(q2, 0))/2.;
2401 std::stringstream out;
2403 throw std::runtime_error(
"MVll::getDelta6c : vector " + out.str() +
" not implemented");
2412 double getDelta7(
double q2)
2414 return (I_7(q2, 0) - I_7(q2, 1))/2.;
2422 double getDelta8(
double q2)
2426 return (I_8(q2, 0) - I_8(q2, 1))/2.;
2429 return (I_8(q2, 0) - I_8(q2, 1))/2.;
2432 return (1. -
ys*
ys)/(1. +
xs*
xs) * (I_8(q2, 0) - I_8(q2, 1) -
xs * s_8(q2, 0))/2.;
2435 std::stringstream out;
2437 throw std::runtime_error(
"MVll::getDelta8 : vector " + out.str() +
" not implemented");
2446 double getDelta9(
double q2)
2450 return (I_9(q2, 0) - I_9(q2, 1))/2.;
2453 return (I_9(q2, 0) - I_9(q2, 1))/2.;
2456 return (1. -
ys*
ys)/(1. +
xs*
xs) * (I_9(q2, 0) - I_9(q2, 1) -
xs * s_9(q2, 0))/2.;
2459 std::stringstream out;
2461 throw std::runtime_error(
"MVll::getDelta9 : vector " + out.str() +
" not implemented");
2478 gslpp::complex
A_Seidel(
double q2,
double mb2);
2480 gslpp::complex
B_Seidel(
double q2,
double mb2);
2482 gslpp::complex
C_Seidel(
double q2);
2489 gslpp::complex
deltaC7_QCDF(
double q2,
bool conjugate,
bool spline =
false);
2496 gslpp::complex
deltaC9_QCDF(
double q2,
bool conjugate,
bool spline =
false);
2503 gslpp::complex
Cq34(
bool conjugate);
2544 gslpp::complex
t_perp(
double q2,
double u,
double m2);
2552 gslpp::complex
t_para(
double q2,
double u,
double m2);
2554 gslpp::complex
I1(
double q2,
double u,
double m2);
2556 gslpp::complex
B0diff(
double q2,
double u,
double m2);
2558 gslpp::complex
B0(
double s,
double m2);
2560 gslpp::complex
h_func(
double s,
double m2);
2591 double phi_V(
double u);
2602 double T_perp_real(
double q2,
double u,
bool conjugate);
2611 double T_perp_imag(
double q2,
double u,
bool conjugate);
2620 double T_para_real(
double q2,
double u,
bool conjugate);
2629 double T_para_imag(
double q2,
double u,
bool conjugate);
2669 gslpp::complex
T_minus(
double q2,
bool conjugate);
2671 gslpp::complex
T_0(
double q2,
bool conjugate);
2682 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 .
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 getV0(double q2)
The form factor .
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.
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 .
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 .