10#include "std_make_vector.h"
11#include "gslpp_function_adapter.h"
14#include <gsl/gsl_sf_zeta.h>
15#include <boost/bind/bind.hpp>
17#include <TFitResult.h>
18#include <gsl/gsl_sf_gegenbauer.h>
19#include <gsl/gsl_sf_expint.h>
20using namespace boost::placeholders;
23: mySM(SM_i), myF_1(new
F_1()), myF_2(new
F_2()),
55 mD2 = 1.8648 * 1.8648;
86 deltaTparpupdated = 0;
87 deltaTparmupdated = 0;
88 deltaTperpupdated = 0;
90 w_sigma = gsl_integration_cquad_workspace_alloc(100);
92 w_sigmaTree = gsl_integration_cquad_workspace_alloc(100);
93 w_delta = gsl_integration_cquad_workspace_alloc(100);
95 acc_Re_T_perp = gsl_interp_accel_alloc();
96 acc_Im_T_perp = gsl_interp_accel_alloc();
97 acc_Re_T_para = gsl_interp_accel_alloc();
98 acc_Im_T_para = gsl_interp_accel_alloc();
100 spline_Re_T_perp = gsl_spline_alloc(gsl_interp_cspline, GSL_INTERP_DIM);
101 spline_Im_T_perp = gsl_spline_alloc(gsl_interp_cspline, GSL_INTERP_DIM);
102 spline_Re_T_para = gsl_spline_alloc(gsl_interp_cspline, GSL_INTERP_DIM);
103 spline_Im_T_para = gsl_spline_alloc(gsl_interp_cspline, GSL_INTERP_DIM);
106 acc_Re_T_perp_conj = gsl_interp_accel_alloc();
107 acc_Im_T_perp_conj = gsl_interp_accel_alloc();
108 acc_Re_T_para_conj = gsl_interp_accel_alloc();
109 acc_Im_T_para_conj = gsl_interp_accel_alloc();
111 spline_Re_T_perp_conj = gsl_spline_alloc(gsl_interp_cspline, GSL_INTERP_DIM);
112 spline_Im_T_perp_conj = gsl_spline_alloc(gsl_interp_cspline, GSL_INTERP_DIM);
113 spline_Re_T_para_conj = gsl_spline_alloc(gsl_interp_cspline, GSL_INTERP_DIM);
114 spline_Im_T_para_conj = gsl_spline_alloc(gsl_interp_cspline, GSL_INTERP_DIM);
117 acc_Re_deltaC7_QCDF = gsl_interp_accel_alloc();
118 acc_Im_deltaC7_QCDF = gsl_interp_accel_alloc();
119 acc_Re_deltaC9_QCDF = gsl_interp_accel_alloc();
120 acc_Im_deltaC9_QCDF = gsl_interp_accel_alloc();
122 spline_Re_deltaC7_QCDF = gsl_spline_alloc(gsl_interp_cspline, GSL_INTERP_DIM_DC);
123 spline_Im_deltaC7_QCDF = gsl_spline_alloc(gsl_interp_cspline, GSL_INTERP_DIM_DC);
124 spline_Re_deltaC9_QCDF = gsl_spline_alloc(gsl_interp_cspline, GSL_INTERP_DIM_DC);
125 spline_Im_deltaC9_QCDF = gsl_spline_alloc(gsl_interp_cspline, GSL_INTERP_DIM_DC);
128 acc_Re_deltaC7_QCDF_conj = gsl_interp_accel_alloc();
129 acc_Im_deltaC7_QCDF_conj = gsl_interp_accel_alloc();
130 acc_Re_deltaC9_QCDF_conj = gsl_interp_accel_alloc();
131 acc_Im_deltaC9_QCDF_conj = gsl_interp_accel_alloc();
133 spline_Re_deltaC7_QCDF_conj = gsl_spline_alloc(gsl_interp_cspline, GSL_INTERP_DIM_DC);
134 spline_Im_deltaC7_QCDF_conj = gsl_spline_alloc(gsl_interp_cspline, GSL_INTERP_DIM_DC);
135 spline_Re_deltaC9_QCDF_conj = gsl_spline_alloc(gsl_interp_cspline, GSL_INTERP_DIM_DC);
136 spline_Im_deltaC9_QCDF_conj = gsl_spline_alloc(gsl_interp_cspline, GSL_INTERP_DIM_DC);
143 F87_1 = (4. / 3. * M_PI2 - 40. / 3.);
144 F87_2 = (32. / 9. * M_PI2 - 316. / 9.);
145 F87_3 = (200. / 27. * M_PI2 - 658. / 9.);
147 F89_0 = (104. / 9. - 32. / 27. * M_PI2);
148 F89_1 = (1184. / 27. - 40. / 9. * M_PI2);
149 F89_2 = (-32. / 3. * M_PI2 + 14212. / 135.);
150 F89_3 = (-560. / 27. * M_PI2 + 193444. / 945.);
171 <<
"a_0fphi" <<
"a_1fphi" <<
"a_2fphi" <<
"a_0gphi" <<
"a_1gphi" <<
"a_2gphi"
172 <<
"a_1F1phi" <<
"a_2F1phi" <<
"a_1F2phi" <<
"a_2F2phi"
173 <<
"a_0T1phi" <<
"a_1T1phi" <<
"a_2T1phi" <<
"a_1T2phi" <<
"a_2T2phi"
174 <<
"a_1T0phi" <<
"a_2T0phi"
175 <<
"mBs_1" <<
"mBs_2" <<
"mBsst_1" <<
"mBsst_2" <<
"mBs1_1" <<
"mBs1_2"
176 <<
"Chi1minus" <<
"Chi1plus" <<
"Chi0plus" <<
"Chi0minus" <<
"ChiTT" <<
"ChiBB"
177 <<
"absh_0" <<
"absh_p" <<
"absh_m" <<
"argh_0" <<
"argh_p" <<
"argh_m"
178 <<
"absh_0_1" <<
"absh_p_1" <<
"absh_m_1" <<
"argh_0_1" <<
"argh_p_1" <<
"argh_m_1"
179 <<
"absh_p_2" <<
"absh_m_2" <<
"argh_p_2" <<
"argh_m_2" <<
"xs_phi" <<
"SU3_breaking_abs" <<
"SU3_breaking_arg"
180 <<
"Delta_C7_U" <<
"Delta_C9_U";
182 <<
"a_0Vphi" <<
"a_1Vphi" <<
"a_2Vphi" <<
"MRV" <<
"a_0A0phi" <<
"a_1A0phi" <<
"a_2A0phi" <<
"MRA0"
183 <<
"a_0A1phi" <<
"a_1A1phi" <<
"a_2A1phi" <<
"MRA1" <<
"a_1A12phi" <<
"a_2A12phi" <<
"MRA12"
184 <<
"a_0T1phi" <<
"a_1T1phi" <<
"a_2T1phi" <<
"MRT1" <<
"a_1T2phi" <<
"a_2T2phi" <<
"MRT2"
185 <<
"a_0T23phi" <<
"a_1T23phi" <<
"a_2T23phi" <<
"MRT23"
186 <<
"absh_0" <<
"absh_p" <<
"absh_m" <<
"argh_0" <<
"argh_p" <<
"argh_m"
187 <<
"absh_0_1" <<
"absh_p_1" <<
"absh_m_1" <<
"argh_0_1" <<
"argh_p_1" <<
"argh_m_1"
188 <<
"absh_p_2" <<
"absh_m_2" <<
"argh_p_2" <<
"argh_m_2" <<
"xs_phi" <<
"SU3_breaking_abs" <<
"SU3_breaking_arg"
189 <<
"Delta_C7_U" <<
"Delta_C9_U";
192 <<
"a_0f" <<
"a_1f" <<
"a_2f" <<
"a_0g" <<
"a_1g" <<
"a_2g"
193 <<
"a_1F1" <<
"a_2F1" <<
"a_1F2" <<
"a_2F2"
194 <<
"a_0T1" <<
"a_1T1" <<
"a_2T1" <<
"a_1T2" <<
"a_2T2"
195 <<
"a_1T0" <<
"a_2T0"
196 <<
"mBs_1" <<
"mBs_2" <<
"mBsst_1" <<
"mBsst_2" <<
"mBs1_1" <<
"mBs1_2"
197 <<
"Chi1minus" <<
"Chi1plus" <<
"Chi0plus" <<
"Chi0minus" <<
"ChiTT" <<
"ChiBB"
198 <<
"absh_0" <<
"absh_p" <<
"absh_m" <<
"argh_0" <<
"argh_p" <<
"argh_m"
199 <<
"absh_0_1" <<
"absh_p_1" <<
"absh_m_1" <<
"argh_0_1" <<
"argh_p_1" <<
"argh_m_1"
200 <<
"absh_p_2" <<
"absh_m_2" <<
"argh_p_2" <<
"argh_m_2" <<
"Delta_C7_U" <<
"Delta_C9_U";
202 <<
"a_0V" <<
"a_1V" <<
"a_2V" <<
"MRV" <<
"a_0A0" <<
"a_1A0" <<
"a_2A0" <<
"MRA0"
203 <<
"a_0A1" <<
"a_1A1" <<
"a_2A1" <<
"MRA1" <<
"a_1A12" <<
"a_2A12" <<
"MRA12"
204 <<
"a_0T1" <<
"a_1T1" <<
"a_2T1" <<
"MRT1" <<
"a_1T2" <<
"a_2T2" <<
"MRT2"
205 <<
"a_0T23" <<
"a_1T23" <<
"a_2T23" <<
"MRT23"
206 <<
"absh_0" <<
"absh_p" <<
"absh_m" <<
"argh_0" <<
"argh_p" <<
"argh_m"
207 <<
"absh_0_1" <<
"absh_p_1" <<
"absh_m_1" <<
"argh_0_1" <<
"argh_p_1" <<
"argh_m_1"
208 <<
"absh_p_2" <<
"absh_m_2" <<
"argh_p_2" <<
"argh_m_2" <<
"Delta_C7_U" <<
"Delta_C9_U";
212 <<
"a_0fphi" <<
"a_1fphi" <<
"a_2fphi" <<
"a_0gphi" <<
"a_1gphi" <<
"a_2gphi"
213 <<
"a_1F1phi" <<
"a_2F1phi" <<
"a_1F2phi" <<
"a_2F2phi"
214 <<
"a_0T1phi" <<
"a_1T1phi" <<
"a_2T1phi" <<
"a_1T2phi" <<
"a_2T2phi"
215 <<
"a_1T0phi" <<
"a_2T0phi"
216 <<
"mBs_1" <<
"mBs_2" <<
"mBsst_1" <<
"mBsst_2" <<
"mBs1_1" <<
"mBs1_2"
217 <<
"Chi1minus" <<
"Chi1plus" <<
"Chi0plus" <<
"Chi0minus" <<
"ChiTT" <<
"ChiBB"
218 <<
"reh_0" <<
"reh_p" <<
"reh_m" <<
"imh_0" <<
"imh_p" <<
"imh_m"
219 <<
"reh_0_1" <<
"reh_p_1" <<
"reh_m_1" <<
"imh_0_1" <<
"imh_p_1" <<
"imh_m_1"
220 <<
"reh_p_2" <<
"reh_m_2" <<
"imh_p_2" <<
"imh_m_2" <<
"xs_phi" <<
"SU3_breaking_abs" <<
"SU3_breaking_arg"
221 <<
"Delta_C7_U" <<
"Delta_C9_U";
223 <<
"a_0Vphi" <<
"a_1Vphi" <<
"a_2Vphi" <<
"MRV" <<
"a_0A0phi" <<
"a_1A0phi" <<
"a_2A0phi" <<
"MRA0"
224 <<
"a_0A1phi" <<
"a_1A1phi" <<
"a_2A1phi" <<
"MRA1" <<
"a_1A12phi" <<
"a_2A12phi" <<
"MRA12"
225 <<
"a_0T1phi" <<
"a_1T1phi" <<
"a_2T1phi" <<
"MRT1" <<
"a_1T2phi" <<
"a_2T2phi" <<
"MRT2"
226 <<
"a_0T23phi" <<
"a_1T23phi" <<
"a_2T23phi" <<
"MRT23"
227 <<
"reh_0" <<
"reh_p" <<
"reh_m" <<
"imh_0" <<
"imh_p" <<
"imh_m"
228 <<
"reh_0_1" <<
"reh_p_1" <<
"reh_m_1" <<
"imh_0_1" <<
"imh_p_1" <<
"imh_m_1"
229 <<
"reh_p_2" <<
"reh_m_2" <<
"imh_p_2" <<
"imh_m_2" <<
"xs_phi" <<
"SU3_breaking_abs" <<
"SU3_breaking_arg"
230 <<
"Delta_C7_U" <<
"Delta_C9_U";
233 <<
"a_0f" <<
"a_1f" <<
"a_2f" <<
"a_0g" <<
"a_1g" <<
"a_2g"
234 <<
"a_1F1" <<
"a_2F1" <<
"a_1F2" <<
"a_2F2"
235 <<
"a_0T1" <<
"a_1T1" <<
"a_2T1" <<
"a_1T2" <<
"a_2T2"
236 <<
"a_1T0" <<
"a_2T0"
237 <<
"mBs_1" <<
"mBs_2" <<
"mBsst_1" <<
"mBsst_2" <<
"mBs1_1" <<
"mBs1_2"
238 <<
"Chi1minus" <<
"Chi1plus" <<
"Chi0plus" <<
"Chi0minus" <<
"ChiTT" <<
"ChiBB"
239 <<
"reh_0" <<
"reh_p" <<
"reh_m" <<
"imh_0" <<
"imh_p" <<
"imh_m"
240 <<
"reh_0_1" <<
"reh_p_1" <<
"reh_m_1" <<
"imh_0_1" <<
"imh_p_1" <<
"imh_m_1"
241 <<
"reh_p_2" <<
"reh_m_2" <<
"imh_p_2" <<
"imh_m_2"
242 <<
"Delta_C7_U" <<
"Delta_C9_U";
244 <<
"a_0V" <<
"a_1V" <<
"a_2V" <<
"MRV" <<
"a_0A0" <<
"a_1A0" <<
"a_2A0" <<
"MRA0"
245 <<
"a_0A1" <<
"a_1A1" <<
"a_2A1" <<
"MRA1" <<
"a_1A12" <<
"a_2A12" <<
"MRA12"
246 <<
"a_0T1" <<
"a_1T1" <<
"a_2T1" <<
"MRT1" <<
"a_1T2" <<
"a_2T2" <<
"MRT2"
247 <<
"a_0T23" <<
"a_1T23" <<
"a_2T23" <<
"MRT23"
248 <<
"reh_0" <<
"reh_p" <<
"reh_m" <<
"imh_0" <<
"imh_p" <<
"imh_m"
249 <<
"reh_0_1" <<
"reh_p_1" <<
"reh_m_1" <<
"imh_0_1" <<
"imh_p_1" <<
"imh_m_1"
250 <<
"reh_p_2" <<
"reh_m_2" <<
"imh_p_2" <<
"imh_m_2"
251 <<
"Delta_C7_U" <<
"Delta_C9_U";
254 std::stringstream out;
256 throw std::runtime_error(
"MVll: vector " + out.str() +
" not implemented");
263 <<
"a_0fphi" <<
"a_1fphi" <<
"a_2fphi" <<
"a_0gphi" <<
"a_1gphi" <<
"a_2gphi"
264 <<
"a_1F1phi" <<
"a_2F1phi" <<
"a_1F2phi" <<
"a_2F2phi"
265 <<
"a_0T1phi" <<
"a_1T1phi" <<
"a_2T1phi" <<
"a_1T2phi" <<
"a_2T2phi"
266 <<
"a_1T0phi" <<
"a_2T0phi"
267 <<
"mBs_1" <<
"mBs_2" <<
"mBsst_1" <<
"mBsst_2" <<
"mBs1_1" <<
"mBs1_2"
268 <<
"Chi1minus" <<
"Chi1plus" <<
"Chi0plus" <<
"Chi0minus" <<
"ChiTT" <<
"ChiBB"
269 <<
"r1_1" <<
"r2_1" <<
"deltaC9_1" <<
"phDC9_1"
270 <<
"r1_2" <<
"r2_2" <<
"deltaC9_2" <<
"phDC9_2"
271 <<
"r1_3" <<
"r2_3" <<
"deltaC9_3" <<
"phDC9_3" <<
"xs_phi" <<
"SU3_breaking_abs" <<
"SU3_breaking_arg";
273 <<
"a_0Vphi" <<
"a_1Vphi" <<
"a_2Vphi" <<
"MRV" <<
"a_0A0phi" <<
"a_1A0phi" <<
"a_2A0phi" <<
"MRA0"
274 <<
"a_0A1phi" <<
"a_1A1phi" <<
"a_2A1phi" <<
"MRA1" <<
"a_1A12phi" <<
"a_2A12phi" <<
"MRA12"
275 <<
"a_0T1phi" <<
"a_1T1phi" <<
"a_2T1phi" <<
"MRT1" <<
"a_1T2phi" <<
"a_2T2phi" <<
"MRT2"
276 <<
"a_0T23phi" <<
"a_1T23phi" <<
"a_2T23phi" <<
"MRT23"
277 <<
"r1_1" <<
"r2_1" <<
"deltaC9_1" <<
"phDC9_1"
278 <<
"r1_2" <<
"r2_2" <<
"deltaC9_2" <<
"phDC9_2"
279 <<
"r1_3" <<
"r2_3" <<
"deltaC9_3" <<
"phDC9_3" <<
"xs_phi" <<
"SU3_breaking_abs" <<
"SU3_breaking_arg";
282 <<
"a_0f" <<
"a_1f" <<
"a_2f" <<
"a_0g" <<
"a_1g" <<
"a_2g"
283 <<
"a_1F1" <<
"a_2F1" <<
"a_1F2" <<
"a_2F2"
284 <<
"a_0T1" <<
"a_1T1" <<
"a_2T1" <<
"a_1T2" <<
"a_2T2"
285 <<
"a_1T0" <<
"a_2T0"
286 <<
"mBs_1" <<
"mBs_2" <<
"mBsst_1" <<
"mBsst_2" <<
"mBs1_1" <<
"mBs1_2"
287 <<
"Chi1minus" <<
"Chi1plus" <<
"Chi0plus" <<
"Chi0minus" <<
"ChiTT" <<
"ChiBB"
288 <<
"r1_1" <<
"r2_1" <<
"deltaC9_1" <<
"phDC9_1"
289 <<
"r1_2" <<
"r2_2" <<
"deltaC9_2" <<
"phDC9_2"
290 <<
"r1_3" <<
"r2_3" <<
"deltaC9_3" <<
"phDC9_3";
292 <<
"a_0V" <<
"a_1V" <<
"a_2V" <<
"MRV" <<
"a_0A0" <<
"a_1A0" <<
"a_2A0" <<
"MRA0"
293 <<
"a_0A1" <<
"a_1A1" <<
"a_2A1" <<
"MRA1" <<
"a_1A12" <<
"a_2A12" <<
"MRA12"
294 <<
"a_0T1" <<
"a_1T1" <<
"a_2T1" <<
"MRT1" <<
"a_1T2" <<
"a_2T2" <<
"MRT2"
295 <<
"a_0T23" <<
"a_1T23" <<
"a_2T23" <<
"MRT23"
296 <<
"r1_1" <<
"r2_1" <<
"deltaC9_1" <<
"phDC9_1"
297 <<
"r1_2" <<
"r2_2" <<
"deltaC9_2" <<
"phDC9_2"
298 <<
"r1_3" <<
"r2_3" <<
"deltaC9_3" <<
"phDC9_3";
305 <<
"a_0fphi" <<
"a_1fphi" <<
"a_2fphi" <<
"a_0gphi" <<
"a_1gphi" <<
"a_2gphi"
306 <<
"a_1F1phi" <<
"a_2F1phi" <<
"a_1F2phi" <<
"a_2F2phi"
307 <<
"a_0T1phi" <<
"a_1T1phi" <<
"a_2T1phi" <<
"a_1T2phi" <<
"a_2T2phi"
308 <<
"a_1T0phi" <<
"a_2T0phi"
309 <<
"mBs_1" <<
"mBs_2" <<
"mBsst_1" <<
"mBsst_2" <<
"mBs1_1" <<
"mBs1_2"
310 <<
"Chi1minus" <<
"Chi1plus" <<
"Chi0plus" <<
"Chi0minus" <<
"ChiTT" <<
"ChiBB"
311 <<
"DeltaC9" <<
"DeltaC10"
312 <<
"re_beta_0_0" <<
"re_beta_0_1" <<
"re_beta_0_2" <<
"re_beta_0_3" <<
"re_beta_0_4" <<
"re_beta_0_5" <<
"re_beta_0_6"
313 <<
"im_beta_0_0" <<
"im_beta_0_1" <<
"im_beta_0_2" <<
"im_beta_0_3" <<
"im_beta_0_4" <<
"im_beta_0_5" <<
"im_beta_0_6"
314 <<
"re_beta_1_0" <<
"re_beta_1_1" <<
"re_beta_1_2" <<
"re_beta_1_3" <<
"re_beta_1_4" <<
"re_beta_1_5" <<
"re_beta_1_6"
315 <<
"im_beta_1_0" <<
"im_beta_1_1" <<
"im_beta_1_2" <<
"im_beta_1_3" <<
"im_beta_1_4" <<
"im_beta_1_5" <<
"im_beta_1_6"
316 <<
"re_beta_2_0" <<
"re_beta_2_1" <<
"re_beta_2_2" <<
"re_beta_2_3" <<
"re_beta_2_4" <<
"re_beta_2_5" <<
"re_beta_2_6"
317 <<
"im_beta_2_0" <<
"im_beta_2_1" <<
"im_beta_2_2" <<
"im_beta_2_3" <<
"im_beta_2_4" <<
"im_beta_2_5" <<
"im_beta_2_6"
318 <<
"xs_phi" <<
"SU3_breaking_abs" <<
"SU3_breaking_arg";
320 <<
"a_0Vphi" <<
"a_1Vphi" <<
"a_2Vphi" <<
"MRV" <<
"a_0A0phi" <<
"a_1A0phi" <<
"a_2A0phi" <<
"MRA0"
321 <<
"a_0A1phi" <<
"a_1A1phi" <<
"a_2A1phi" <<
"MRA1" <<
"a_1A12phi" <<
"a_2A12phi" <<
"MRA12"
322 <<
"a_0T1phi" <<
"a_1T1phi" <<
"a_2T1phi" <<
"MRT1" <<
"a_1T2phi" <<
"a_2T2phi" <<
"MRT2"
323 <<
"a_0T23phi" <<
"a_1T23phi" <<
"a_2T23phi" <<
"MRT23" <<
"DeltaC9" <<
"DeltaC10"
324 <<
"re_beta_0_0" <<
"re_beta_0_1" <<
"re_beta_0_2" <<
"re_beta_0_3" <<
"re_beta_0_4" <<
"re_beta_0_5" <<
"re_beta_0_6"
325 <<
"im_beta_0_0" <<
"im_beta_0_1" <<
"im_beta_0_2" <<
"im_beta_0_3" <<
"im_beta_0_4" <<
"im_beta_0_5" <<
"im_beta_0_6"
326 <<
"re_beta_1_0" <<
"re_beta_1_1" <<
"re_beta_1_2" <<
"re_beta_1_3" <<
"re_beta_1_4" <<
"re_beta_1_5" <<
"re_beta_1_6"
327 <<
"im_beta_1_0" <<
"im_beta_1_1" <<
"im_beta_1_2" <<
"im_beta_1_3" <<
"im_beta_1_4" <<
"im_beta_1_5" <<
"im_beta_1_6"
328 <<
"re_beta_2_0" <<
"re_beta_2_1" <<
"re_beta_2_2" <<
"re_beta_2_3" <<
"re_beta_2_4" <<
"re_beta_2_5" <<
"re_beta_2_6"
329 <<
"im_beta_2_0" <<
"im_beta_2_1" <<
"im_beta_2_2" <<
"im_beta_2_3" <<
"im_beta_2_4" <<
"im_beta_2_5" <<
"im_beta_2_6"
330 <<
"xs_phi" <<
"SU3_breaking_abs" <<
"SU3_breaking_arg";
333 <<
"a_0f" <<
"a_1f" <<
"a_2f" <<
"a_0g" <<
"a_1g" <<
"a_2g"
334 <<
"a_1F1" <<
"a_2F1" <<
"a_1F2" <<
"a_2F2"
335 <<
"a_0T1" <<
"a_1T1" <<
"a_2T1" <<
"a_1T2" <<
"a_2T2"
336 <<
"a_1T0" <<
"a_2T0"
337 <<
"mBs_1" <<
"mBs_2" <<
"mBsst_1" <<
"mBsst_2" <<
"mBs1_1" <<
"mBs1_2"
338 <<
"Chi1minus" <<
"Chi1plus" <<
"Chi0plus" <<
"Chi0minus" <<
"ChiTT" <<
"ChiBB"
339 <<
"DeltaC9" <<
"DeltaC10"
340 <<
"re_beta_0_0" <<
"re_beta_0_1" <<
"re_beta_0_2" <<
"re_beta_0_3" <<
"re_beta_0_4" <<
"re_beta_0_5" <<
"re_beta_0_6"
341 <<
"im_beta_0_0" <<
"im_beta_0_1" <<
"im_beta_0_2" <<
"im_beta_0_3" <<
"im_beta_0_4" <<
"im_beta_0_5" <<
"im_beta_0_6"
342 <<
"re_beta_1_0" <<
"re_beta_1_1" <<
"re_beta_1_2" <<
"re_beta_1_3" <<
"re_beta_1_4" <<
"re_beta_1_5" <<
"re_beta_1_6"
343 <<
"im_beta_1_0" <<
"im_beta_1_1" <<
"im_beta_1_2" <<
"im_beta_1_3" <<
"im_beta_1_4" <<
"im_beta_1_5" <<
"im_beta_1_6"
344 <<
"re_beta_2_0" <<
"re_beta_2_1" <<
"re_beta_2_2" <<
"re_beta_2_3" <<
"re_beta_2_4" <<
"re_beta_2_5" <<
"re_beta_2_6"
345 <<
"im_beta_2_0" <<
"im_beta_2_1" <<
"im_beta_2_2" <<
"im_beta_2_3" <<
"im_beta_2_4" <<
"im_beta_2_5" <<
"im_beta_2_6";
347 <<
"a_0V" <<
"a_1V" <<
"a_2V" <<
"MRV" <<
"a_0A0" <<
"a_1A0" <<
"a_2A0" <<
"MRA0"
348 <<
"a_0A1" <<
"a_1A1" <<
"a_2A1" <<
"MRA1" <<
"a_1A12" <<
"a_2A12" <<
"MRA12"
349 <<
"a_0T1" <<
"a_1T1" <<
"a_2T1" <<
"MRT1" <<
"a_1T2" <<
"a_2T2" <<
"MRT2"
350 <<
"a_0T23" <<
"a_1T23" <<
"a_2T23" <<
"MRT23" <<
"DeltaC9" <<
"DeltaC10"
351 <<
"re_beta_0_0" <<
"re_beta_0_1" <<
"re_beta_0_2" <<
"re_beta_0_3" <<
"re_beta_0_4" <<
"re_beta_0_5" <<
"re_beta_0_6"
352 <<
"im_beta_0_0" <<
"im_beta_0_1" <<
"im_beta_0_2" <<
"im_beta_0_3" <<
"im_beta_0_4" <<
"im_beta_0_5" <<
"im_beta_0_6"
353 <<
"re_beta_1_0" <<
"re_beta_1_1" <<
"re_beta_1_2" <<
"re_beta_1_3" <<
"re_beta_1_4" <<
"re_beta_1_5" <<
"re_beta_1_6"
354 <<
"im_beta_1_0" <<
"im_beta_1_1" <<
"im_beta_1_2" <<
"im_beta_1_3" <<
"im_beta_1_4" <<
"im_beta_1_5" <<
"im_beta_1_6"
355 <<
"re_beta_2_0" <<
"re_beta_2_1" <<
"re_beta_2_2" <<
"re_beta_2_3" <<
"re_beta_2_4" <<
"re_beta_2_5" <<
"re_beta_2_6"
356 <<
"im_beta_2_0" <<
"im_beta_2_1" <<
"im_beta_2_2" <<
"im_beta_2_3" <<
"im_beta_2_4" <<
"im_beta_2_5" <<
"im_beta_2_6";
368void MVll::updateParameters()
400 t_p = pow(
MM +
MV, 2.);
401 t_m = pow(
MM -
MV, 2.);
434 a_0F1 = f_DM(t_m,a_0f,a_1f,a_2f,MRf_2,MRf2_2)*
MM*(1. - rV)*phi_F1(t_m, MRF1_2, MRF12_2) - a_1F1*z_DM(t_m) - a_2F1*z_DM(t_m)*z_DM(t_m);
440 a_0F2 = F1_DM(0.,a_0F1,a_1F1,a_2F1,MRF1_2,MRF12_2)*2./MM2/(1. - rV*rV)*phi_F2(0., MRF2_2, MRF22_2) - a_1F2*z_DM(0.) - a_2F2*z_DM(0.)*z_DM(0.);
452 a_0T2 = T1_DM(0.,a_0T1,a_1T1,a_2T1,MRT1_2,MRT12_2)*phi_T2(0., MRT2_2, MRT22_2) - a_1T2*z_DM(0.) - a_2T2*z_DM(0.)*z_DM(0.);
458 a_0T0 = T2_DM(t_m,a_0T2,a_1T2,a_2T2,MRT2_2,MRT22_2)*phi_T0(t_m, MRT0_2, MRT02_2) - a_1T0*z_DM(t_m) - a_2T0*z_DM(t_m)*z_DM(t_m);
460 unitarity_bound_f_F1 = pow(a_0f,2) + pow(a_1f,2) + pow(a_2f,2) + pow(a_0F1,2) + pow(a_1F1,2) + pow(a_2F1,2);
464 unitarity_bound_T2_T0 = pow(a_0T2,2) + pow(a_1T2,2) + pow(a_2T2,2) + pow(a_0T0,2) + pow(a_1T0,2) + pow(a_2T0,2);
539 a_0F1 = f_DM(t_m,a_0f,a_1f,a_2f,MRf_2,MRf2_2)*
MM*(1. - rV)*phi_F1(t_m, MRF1_2, MRF12_2) - a_1F1*z_DM(t_m) - a_2F1*z_DM(t_m)*z_DM(t_m);
545 a_0F2 = F1_DM(0.,a_0F1,a_1F1,a_2F1,MRF1_2,MRF12_2)*2./MM2/(1. - rV*rV)*phi_F2(0., MRF2_2, MRF22_2) - a_1F2*z_DM(0.) - a_2F2*z_DM(0.)*z_DM(0.);
557 a_0T2 = T1_DM(0.,a_0T1,a_1T1,a_2T1,MRT1_2,MRT12_2)*phi_T2(0., MRT2_2, MRT22_2) - a_1T2*z_DM(0.) - a_2T2*z_DM(0.)*z_DM(0.);
563 a_0T0 = T2_DM(t_m,a_0T2,a_1T2,a_2T2,MRT2_2,MRT22_2)*phi_T0(t_m, MRT0_2, MRT02_2) - a_1T0*z_DM(t_m) - a_2T0*z_DM(t_m)*z_DM(t_m);
565 unitarity_bound_f_F1 = pow(a_0f,2) + pow(a_1f,2) + pow(a_2f,2) + pow(a_0F1,2) + pow(a_1F1,2) + pow(a_2F1,2);
569 unitarity_bound_T2_T0 = pow(a_0T2,2) + pow(a_1T2,2) + pow(a_2T2,2) + pow(a_0T0,2) + pow(a_1T0,2) + pow(a_2T0,2);
622 std::stringstream out;
624 throw std::runtime_error(
"MVll: vector " + out.str() +
" not implemented");
712 Gammatau = HCUT / 0.2903;
715 C_R_nunu_e = ((*(allcoeff_nu[
LO]))(1) + (*(allcoeff_nu[
NLO]))(1) + (*(allcoeff_nu[
NLO_QED11]))(1));
720 C_L_nunu_e = ((*(allcoeff_nu[
LO]))(0) + (*(allcoeff_nu[
NLO]))(0) + (*(allcoeff_nu[
NLO_QED11]))(0));
723 C_R_nunu_mu = ((*(allcoeff_nu[
LO]))(1) + (*(allcoeff_nu[
NLO]))(1) + (*(allcoeff_nu[
NLO_QED11]))(1));
728 C_L_nunu_mu = ((*(allcoeff_nu[
LO]))(0) + (*(allcoeff_nu[
NLO]))(0) + (*(allcoeff_nu[
NLO_QED11]))(0));
731 C_R_nunu_tau = ((*(allcoeff_nu[
LO]))(1) + (*(allcoeff_nu[
NLO]))(1) + (*(allcoeff_nu[
NLO_QED11]))(1));
736 C_L_nunu_tau = ((*(allcoeff_nu[
LO]))(0) + (*(allcoeff_nu[
NLO]))(0) + (*(allcoeff_nu[
NLO_QED11]))(0));
742 C_1 = ((*(allcoeff[
LO]))(0) + (*(allcoeff[
NLO]))(0));
743 C_1L_bar = (*(allcoeff[
LO]))(0) / 2.;
744 C_2 = ((*(allcoeff[
LO]))(1) + (*(allcoeff[
NLO]))(1));
745 C_2L_bar = (*(allcoeff[
LO]))(1) - (*(allcoeff[
LO]))(0) / 6.;
746 C_3 = ((*(allcoeff[
LO]))(2) + (*(allcoeff[
NLO]))(2));
747 C_4 = ((*(allcoeff[
LO]))(3) + (*(allcoeff[
NLO]))(3));
748 C_5 = ((*(allcoeff[
LO]))(4) + (*(allcoeff[
NLO]))(4));
749 C_6 = ((*(allcoeff[
LO]))(5) + (*(allcoeff[
NLO]))(5));
750 C_8 = ((*(allcoeff[
LO]))(7) + (*(allcoeff[
NLO]))(7));
751 C_8L = (*(allcoeff[
LO]))(7);
752 C_S = MW /
Mb * (((*(allcoeff[
LO]))(10) + (*(allcoeff[
NLO]))(10)));
753 C_P = MW /
Mb * (((*(allcoeff[
LO]))(11) + (*(allcoeff[
NLO]))(11)));
754 C_9p = (*(allcoeffprime[
LO]))(8) + (*(allcoeffprime[
NLO]))(8);
755 C_10p = (*(allcoeffprime[
LO]))(9) + (*(allcoeffprime[
NLO]))(9);
756 C_Sp = MW /
Mb * ((*(allcoeffprime[
LO]))(10) + (*(allcoeffprime[
NLO]))(10));
757 C_Pp = MW /
Mb * ((*(allcoeffprime[
LO]))(11) + (*(allcoeffprime[
NLO]))(11));
765 C_7 = ((*(allcoeff[
LO]))(6) + (*(allcoeff[
NLO]))(6));
766 C_9 = ((*(allcoeff[
LO]))(8) + (*(allcoeff[
NLO]))(8));
767 C_10 = ((*(allcoeff[
LO]))(9) + (*(allcoeff[
NLO]))(9));
769 C_7p = MsoMb * ((*(allcoeffprime[
LO]))(6) + (*(allcoeffprime[
NLO]))(6));
770 C_7p -= MsoMb * (C_7 + 1. / 3. * C_3 + 4 / 9 * C_4 + 20. / 3. * C_5 + 80. / 9. * C_6);
774 C_1Lh_bar = (*(allcoeffh[
LO]))(0) / 2.;
775 C_2Lh_bar = (*(allcoeffh[
LO]))(1) - (*(allcoeff[
LO]))(0) / 6.;
776 C_8Lh = (*(allcoeffh[
LO]))(7);
795 t_0 = t_p * (1. - sqrt(1. - t_m / t_p));
796 z_0 = (sqrt(t_p) - sqrt(t_p - t_0)) / (sqrt(t_p) + sqrt(t_p - t_0));
799 s_0 = s_p - sqrt(s_p * (s_p -
mPsi2S2));
802 twoalphaBtoKst = 2.276;
809 onemrho_0_2 = 1. - rho_0*rho_0;
810 onemrho_1_2 = 1. - rho_1*rho_1;
811 onemrho_2_2 = 1. - rho_2*rho_2;
812 onemrho_3_2 = 1. - rho_3*rho_3;
813 onemrho_4_2 = 1. - rho_4*rho_4;
814 onemrho_5_2 = 1. - rho_5*rho_5;
816 MMpMV2 = MMpMV * MMpMV;
818 MMmMV2 = MMmMV * MMmMV;
828 onepMMoMV = (1. +
MV /
MM);
829 MM_MMpMV =
MM * MMpMV;
830 twoMM_mbpms = 2. *
MM * (
Mb +
Ms);
836 ninetysixM_PI3MM3 = 96. * M_PI * M_PI * M_PI *
MM *
MM*
MM;
837 sixteenM_PI2 = 16. * M_PI2;
838 sixteenM_PI2MM2 = sixteenM_PI2 *
MM*
MM;
839 twoMboMM = 2 *
Mb /
MM;
840 H_0_pre = 8. / 27. + 4. / 9. * gslpp::complex::i() * M_PI;
841 H_0_WC = (C_3 + 4. / 3. * C_4 + 16. * C_5 + 64. / 3. * C_6);
842 H_c_WC = (4. / 3. * C_1 + C_2 + 6. * C_3 + 60. * C_5);
843 H_b_WC = (7. * C_3 + 4. / 3. * C_4 + 76. * C_5 + 64. / 3. * C_6);
849 logMc = log(Mc2 / mu_b2);
850 logMb = log(Mb2 / mu_b2);
851 fournineth = 4. / 9.;
854 ihalfMPI = gslpp::complex::i() * M_PI / 2.;
855 twoMM3 = 2. * MM2 *
MM;
856 C2_inv = 1. / (2. * C_2.real());
857 gtilde_1_pre = -16. * pow(
MM, 3.)*(
MM +
MV) * pow(M_PI, 2.);
858 gtilde_2_pre = -16. * pow(
MM, 3.) * pow(M_PI, 2.) / MMpMV;
859 gtilde_3_pre = 64. * pow(
MM, 3.) * pow(M_PI, 2.) *
MV*MMpMV;
860 S_L_pre = (-2. *
MM * (
Mb +
Ms));
862 M_PI2osix = M_PI2 / 6.;
865 N_QCDF = M_PI2 / 3. * fB * fperp /
MM;
873 F87_0 = -32. / 9. * log(
mu_b /
Mb) + 8. / 27. * M_PI2 - 44. / 9. - 8. / 9. * gslpp::complex::i() * M_PI;
875 NN = -(4. *
GF *
MM *
ale * lambda_t) / (sqrt(2.)*4. * M_PI);
876 NN_conjugate = -(4. *
GF *
MM *
ale * lambda_t.conjugate()) / (sqrt(2.)*4. * M_PI);
878 std::map<std::pair<double, double>,
unsigned int >::iterator it;
880 if (I0_updated == 0)
for (it = sigma0Cached.begin(); it != sigma0Cached.end(); ++it) it->second = 0;
881 if (I1_updated == 0)
for (it = sigma1Cached.begin(); it != sigma1Cached.end(); ++it) it->second = 0;
882 if (I2_updated == 0)
for (it = sigma2Cached.begin(); it != sigma2Cached.end(); ++it) it->second = 0;
883 if (I3_updated == 0)
for (it = sigma3Cached.begin(); it != sigma3Cached.end(); ++it) it->second = 0;
884 if (I4_updated == 0)
for (it = sigma4Cached.begin(); it != sigma4Cached.end(); ++it) it->second = 0;
885 if (I5_updated == 0)
for (it = sigma5Cached.begin(); it != sigma5Cached.end(); ++it) it->second = 0;
886 if (I6_updated == 0)
for (it = sigma6Cached.begin(); it != sigma6Cached.end(); ++it) it->second = 0;
887 if (I7_updated == 0)
for (it = sigma7Cached.begin(); it != sigma7Cached.end(); ++it) it->second = 0;
888 if (I8_updated == 0)
for (it = sigma8Cached.begin(); it != sigma8Cached.end(); ++it) it->second = 0;
889 if (I9_updated == 0)
for (it = sigma9Cached.begin(); it != sigma9Cached.end(); ++it) it->second = 0;
890 if (I10_updated == 0)
for (it = sigma10Cached.begin(); it != sigma10Cached.end(); ++it) it->second = 0;
891 if (I11_updated == 0)
for (it = sigma11Cached.begin(); it != sigma11Cached.end(); ++it) it->second = 0;
893 if (I0_updated == 0)
for (it = delta0Cached.begin(); it != delta0Cached.end(); ++it) it->second = 0;
894 if (I1_updated == 0)
for (it = delta1Cached.begin(); it != delta1Cached.end(); ++it) it->second = 0;
895 if (I2_updated == 0)
for (it = delta2Cached.begin(); it != delta2Cached.end(); ++it) it->second = 0;
896 if (I3_updated == 0)
for (it = delta3Cached.begin(); it != delta3Cached.end(); ++it) it->second = 0;
897 if (I11_updated == 0)
for (it = delta11Cached.begin(); it != delta11Cached.end(); ++it) it->second = 0;
899 if (Itree_updated)
for (it = sigmaTreeCached.begin(); it != sigmaTreeCached.end(); ++it) it->second = 0;
901 std::map<double, unsigned int >::iterator iti;
902 if (deltaTparpupdated == 0)
for (iti = deltaTparpCached.begin(); iti != deltaTparpCached.end(); ++iti) iti->second = 0;
903 if (deltaTparmupdated == 0)
for (iti = deltaTparmCached.begin(); iti != deltaTparmCached.end(); ++iti) iti->second = 0;
904 if (deltaTperpupdated == 0)
for (iti = deltaTparpCached.begin(); iti != deltaTparpCached.end(); ++iti) iti->second = 0;
906 if (deltaTparpupdated * deltaTparmupdated == 0)
for (it = I1Cached.begin(); it != I1Cached.end(); ++it) it->second = 0;
977void MVll::checkCache()
980 if (
MM == k2_cache(0) &&
MV == k2_cache(1)) {
990 if (
Mlep == beta_cache) {
997 lambda_updated = k2_updated;
998 F_updated = lambda_updated * beta_updated;
1000 if (
GF == N_cache(0) &&
ale == N_cache(1) &&
MM == N_cache(2) && lambda_t == Nc_cache) {
1007 Nc_cache = lambda_t;
1010 if (a_0g == V_cache(0) && a_1g == V_cache(1) && a_2g == V_cache(2)) {
1011 V_updated = V_updated * z_updated;
1019 if (a_0F2 == A0_cache(0) && a_1F2 == A0_cache(1) && a_2F2 == A0_cache(2)) {
1020 A0_updated = A0_updated * z_updated;
1023 A0_cache(0) = a_0F2;
1024 A0_cache(1) = a_1F2;
1025 A0_cache(2) = a_2F2;
1028 if (a_0f == A1_cache(0) && a_1f == A1_cache(1) && a_2f == A1_cache(2)) {
1029 A1_updated = A1_updated * z_updated;
1037 if (a_0T1 == T1_cache(0) && a_1T1 == T1_cache(1) && a_2T1 == T1_cache(2)) {
1038 T1_updated = T1_updated * z_updated;
1041 T1_cache(0) = a_0T1;
1042 T1_cache(1) = a_1T1;
1043 T1_cache(2) = a_2T1;
1046 if (a_0T2 == T2_cache(0) && a_1T2 == T2_cache(1) && a_2T2 == T2_cache(2)) {
1047 T2_updated = T2_updated * z_updated;
1050 T2_cache(0) = a_0T2;
1051 T2_cache(1) = a_1T2;
1052 T2_cache(2) = a_2T2;
1055 if (a_0V == V_cache(0) && a_1V == V_cache(1) && a_2V == V_cache(2)) {
1056 V_updated = V_updated * z_updated;
1064 if (a_0A0 == A0_cache(0) && a_1A0 == A0_cache(1) && a_2A0 == A0_cache(2)) {
1065 A0_updated = A0_updated * z_updated;
1068 A0_cache(0) = a_0A0;
1069 A0_cache(1) = a_1A0;
1070 A0_cache(2) = a_2A0;
1073 if (a_0A1 == A1_cache(0) && a_1A1 == A1_cache(1) && a_2A1 == A1_cache(2)) {
1074 A1_updated = A1_updated * z_updated;
1077 A1_cache(0) = a_0A1;
1078 A1_cache(1) = a_1A1;
1079 A1_cache(2) = a_2A1;
1082 if (a_0T1 == T1_cache(0) && a_1T1 == T1_cache(1) && a_2T1 == T1_cache(2)) {
1083 T1_updated = T1_updated * z_updated;
1086 T1_cache(0) = a_0T1;
1087 T1_cache(1) = a_1T1;
1088 T1_cache(2) = a_2T1;
1091 if (a_0T2 == T2_cache(0) && a_1T2 == T2_cache(1) && a_2T2 == T2_cache(2)) {
1092 T2_updated = T2_updated * z_updated;
1095 T2_cache(0) = a_0T2;
1096 T2_cache(1) = a_1T2;
1097 T2_cache(2) = a_2T2;
1101 VL1_updated = k2_updated * lambda_updated * A1_updated * V_updated;
1102 VL2_updated = VL1_updated;
1104 TL1_updated = k2_updated * lambda_updated * T1_updated * T2_updated;
1105 TL2_updated = TL1_updated;
1107 VR1_updated = VL2_updated;
1108 VR2_updated = VL1_updated;
1110 TR1_updated = TL2_updated;
1111 TR2_updated = TL1_updated;
1113 if (
Mb == SL_cache(0) &&
Ms == SL_cache(1)) {
1115 SL_updated = lambda_updated * A0_updated;
1116 SR_updated = SL_updated;
1120 SR_updated = SL_updated;
1126 if (a_0F1 == VL0_cache(0) && a_1F1 == VL0_cache(1) && a_2F1 == VL0_cache(2)) {
1127 VL0_updated = VL0_updated * z_updated;
1128 VR0_updated = VL0_updated;
1131 VR0_updated = VL0_updated;
1132 VL0_cache(0) = a_0F1;
1133 VL0_cache(1) = a_1F1;
1134 VL0_cache(2) = a_2F1;
1137 if (a_0T0 == TL0_cache(0) && a_1T0 == TL0_cache(1) && a_2T0 == TL0_cache(2)) {
1138 TL0_updated = TL0_updated * z_updated;
1139 TR0_updated = TL0_updated;
1142 TR0_updated = TL0_updated;
1143 TL0_cache(0) = a_0T0;
1144 TL0_cache(1) = a_1T0;
1145 TL0_cache(2) = a_2T0;
1148 if (a_0A12 == VL0_cache(0) && a_1A12 == VL0_cache(1) && a_2A12 == VL0_cache(2)) {
1149 VL0_updated = VL0_updated * z_updated;
1150 VR0_updated = VL0_updated;
1153 VR0_updated = VL0_updated;
1154 VL0_cache(0) = a_0A12;
1155 VL0_cache(1) = a_1A12;
1156 VL0_cache(2) = a_2A12;
1159 if (a_0T23 == TL0_cache(0) && a_1T23 == TL0_cache(1) && a_2T23 == TL0_cache(2)) {
1160 TL0_updated = TL0_updated * z_updated;
1161 TR0_updated = TL0_updated;
1164 TR0_updated = TL0_updated;
1165 TL0_cache(0) = a_0T23;
1166 TL0_cache(1) = a_1T23;
1167 TL0_cache(2) = a_2T23;
1172 if (C_1 == C_1_cache) {
1179 if (C_2 == C_2_cache) {
1186 if (C_3 == C_3_cache) {
1193 if (C_4 == C_4_cache) {
1200 if (C_5 == C_5_cache) {
1207 if (C_6 == C_6_cache) {
1214 if (C_7 == C_7_cache) {
1221 if (C_9 == C_9_cache) {
1228 if (C_10 == C_10_cache) {
1235 if (C_S == C_S_cache) {
1242 if (C_P == C_P_cache) {
1249 if (C_7p == C_7p_cache) {
1256 if (C_9p == C_9p_cache) {
1263 if (C_10p == C_10p_cache) {
1267 C_10p_cache = C_10p;
1270 if (C_Sp == C_Sp_cache) {
1277 if (C_Pp == C_Pp_cache) {
1284 if (C_2Lh_bar == C_2Lh_cache) {
1288 C_2Lh_cache = C_2Lh_bar;
1291 if (C_8Lh == C_8Lh_cache) {
1295 C_8Lh_cache = C_8Lh;
1298 if (C_L_nunu_e == C_L_nunu_e_cache) {
1299 C_L_nunu_e_updated = 1;
1301 C_L_nunu_e_updated = 0;
1302 C_L_nunu_e_cache = C_L_nunu_e;
1305 if (C_L_nunu_mu == C_L_nunu_mu_cache) {
1306 C_L_nunu_mu_updated = 1;
1308 C_L_nunu_mu_updated = 0;
1309 C_L_nunu_mu_cache = C_L_nunu_mu;
1312 if (C_L_nunu_tau == C_L_nunu_tau_cache) {
1313 C_L_nunu_tau_updated = 1;
1315 C_L_nunu_tau_updated = 0;
1316 C_L_nunu_tau_cache = C_L_nunu_tau;
1319 if (C_R_nunu_e == C_R_nunu_e_cache) {
1320 C_R_nunu_e_updated = 1;
1322 C_R_nunu_e_updated = 0;
1323 C_R_nunu_e_cache = C_R_nunu_e;
1326 if (C_R_nunu_mu == C_R_nunu_mu_cache) {
1327 C_R_nunu_mu_updated = 1;
1329 C_R_nunu_mu_updated = 0;
1330 C_R_nunu_mu_cache = C_R_nunu_mu;
1333 if (C_R_nunu_tau == C_R_nunu_tau_cache) {
1334 C_R_nunu_tau_updated = 1;
1336 C_R_nunu_tau_updated = 0;
1337 C_R_nunu_tau_cache = C_R_nunu_tau;
1340 if (
Mb == Ycache(0) &&
Mc == Ycache(1)) {
1341 Yupdated = C_1_updated * C_2_updated * C_3_updated * C_4_updated * C_5_updated * C_6_updated;
1349 if (beta_0[0] == beta0Ccache[0] && beta_0[1] == beta0Ccache[1] && beta_0[2] == beta0Ccache[2] && beta_0[3] == beta0Ccache[3]
1350 && beta_0[4] == beta0Ccache[4] && beta_0[5] == beta0Ccache[5] && beta_0[6] == beta0Ccache[6] && SU3_breaking == beta0Ccache[7]) {
1354 beta0Ccache[0] = beta_0[0];
1355 beta0Ccache[1] = beta_0[1];
1356 beta0Ccache[2] = beta_0[2];
1357 beta0Ccache[3] = beta_0[3];
1358 beta0Ccache[4] = beta_0[4];
1359 beta0Ccache[5] = beta_0[5];
1360 beta0Ccache[6] = beta_0[6];
1361 beta0Ccache[7] = SU3_breaking;
1364 if (beta_1[0] == beta1Ccache[0] && beta_1[1] == beta1Ccache[1] && beta_1[2] == beta1Ccache[2] && beta_1[3] == beta1Ccache[3]
1365 && beta_1[4] == beta1Ccache[4] && beta_1[5] == beta1Ccache[5] && beta_1[6] == beta1Ccache[6] && SU3_breaking == beta1Ccache[7]) {
1369 beta1Ccache[0] = beta_1[0];
1370 beta1Ccache[1] = beta_1[1];
1371 beta1Ccache[2] = beta_1[2];
1372 beta1Ccache[3] = beta_1[3];
1373 beta1Ccache[4] = beta_1[4];
1374 beta1Ccache[5] = beta_1[5];
1375 beta1Ccache[6] = beta_1[6];
1376 beta1Ccache[7] = SU3_breaking;
1379 if (beta_2[0] == beta2Ccache[0] && beta_2[1] == beta2Ccache[1] && beta_2[2] == beta2Ccache[2] && beta_2[3] == beta2Ccache[3]
1380 && beta_2[4] == beta2Ccache[4] && beta_2[5] == beta2Ccache[5] && beta_2[6] == beta2Ccache[6] && SU3_breaking == beta2Ccache[7]) {
1384 beta2Ccache[0] = beta_2[0];
1385 beta2Ccache[1] = beta_2[1];
1386 beta2Ccache[2] = beta_2[2];
1387 beta2Ccache[3] = beta_2[3];
1388 beta2Ccache[4] = beta_2[4];
1389 beta2Ccache[5] = beta_2[5];
1390 beta2Ccache[6] = beta_2[6];
1391 beta2Ccache[7] = SU3_breaking;
1394 if (
h_0[0] == h0Ccache[0] && h_1[0] == h0Ccache[1] && h_2[0] == h0Ccache[2] && SU3_breaking == h0Ccache[3]) {
1398 h0Ccache[0] =
h_0[0];
1399 h0Ccache[1] = h_1[0];
1400 h0Ccache[2] = h_2[0];
1401 h0Ccache[3] = SU3_breaking;
1404 if (
h_0[1] == h1Ccache[0] && h_1[1] == h1Ccache[1] && h_2[1] == h1Ccache[2] && SU3_breaking == h1Ccache[3]) {
1408 h1Ccache[0] =
h_0[1];
1409 h1Ccache[1] = h_1[1];
1410 h1Ccache[2] = h_2[1];
1411 h1Ccache[3] = SU3_breaking;
1414 if (
h_0[2] == h2Ccache[0] && h_1[2] == h2Ccache[1] && h_2[2] == h2Ccache[2] && SU3_breaking == h2Ccache[3]) {
1418 h2Ccache[0] =
h_0[2];
1419 h2Ccache[1] = h_1[2];
1420 h2Ccache[2] = h_2[2];
1421 h2Ccache[3] = SU3_breaking;
1426 H_V0updated = N_updated * VL0_updated * C_L_nunu_e_updated * C_L_nunu_mu_updated * C_L_nunu_tau_updated * C_R_nunu_e_updated * C_R_nunu_mu_updated * C_R_nunu_tau_updated * VR0_updated;
1427 H_V1updated = N_updated * VL1_updated * C_L_nunu_e_updated * C_L_nunu_mu_updated * C_L_nunu_tau_updated * C_R_nunu_e_updated * C_R_nunu_mu_updated * C_R_nunu_tau_updated * VR1_updated;
1428 H_V2updated = N_updated * VL2_updated * C_L_nunu_e_updated * C_L_nunu_mu_updated * C_L_nunu_tau_updated * C_R_nunu_e_updated * C_R_nunu_mu_updated * C_R_nunu_tau_updated * VR2_updated;
1429 H_A0updated = N_updated * VL0_updated * C_L_nunu_e_updated * C_L_nunu_mu_updated * C_L_nunu_tau_updated * C_R_nunu_e_updated * C_R_nunu_mu_updated * C_R_nunu_tau_updated * VR0_updated;
1430 H_A1updated = N_updated * VL1_updated * C_L_nunu_e_updated * C_L_nunu_mu_updated * C_L_nunu_tau_updated * C_R_nunu_e_updated * C_R_nunu_mu_updated * C_R_nunu_tau_updated * VR1_updated;
1431 H_A2updated = N_updated * VL2_updated * C_L_nunu_e_updated * C_L_nunu_mu_updated * C_L_nunu_tau_updated * C_R_nunu_e_updated * C_R_nunu_mu_updated * C_R_nunu_tau_updated * VR2_updated;
1433 if (
MM == H_V0cache(0) &&
Mb == H_V0cache(1)) {
1434 H_V0updated = N_updated * C_9_updated * Yupdated * VL0_updated * C_9p_updated * VR0_updated * C_7_updated * TL0_updated * C_7p_updated * TR0_updated * h0_updated;
1441 if (
MM == H_V1cache(0) &&
Mb == H_V1cache(1)) {
1442 H_V1updated = N_updated * C_9_updated * Yupdated * VL1_updated * C_9p_updated * VR1_updated * C_7_updated * TL1_updated * C_7p_updated * TR1_updated * h1_updated;
1449 if (
MM == H_V2cache(0) &&
Mb == H_V2cache(1)) {
1450 H_V2updated = N_updated * C_9_updated * Yupdated * VL2_updated * C_9p_updated * VR2_updated * C_7_updated * TL2_updated * C_7p_updated * TR2_updated * h2_updated;
1457 H_A0updated = N_updated * C_10_updated * VL0_updated * C_10p_updated * VR0_updated;
1458 H_A1updated = N_updated * C_10_updated * VL1_updated * C_10p_updated * VR1_updated;
1459 H_A2updated = N_updated * C_10_updated * VL2_updated * C_10p_updated * VR2_updated;
1462 if (
Mb == H_Scache(0) && MW == H_Scache(1)) {
1463 H_Supdated = N_updated * C_S_updated * SL_updated * C_Sp_updated * SR_updated;
1470 if (
Mb == H_Pcache(0) && MW == H_Pcache(1) &&
Mlep == H_Pcache(2) &&
Ms == H_Pcache(3)) {
1471 H_Pupdated = N_updated * C_P_updated * SL_updated * C_Pp_updated * SR_updated * C_10_updated * C_10p_updated;
1481 if (
MM == T_cache(0) &&
Mb == T_cache(1) &&
Mc == T_cache(2) &&
1493 deltaTparpupdated = C_2Lh_updated * T_updated;
1494 deltaTparmupdated = C_2Lh_updated * C_8Lh_updated * T_updated;
1495 deltaTperpupdated = deltaTparpupdated;
1497 I0_updated = F_updated * H_V0updated * H_A0updated * H_Pupdated * beta_updated * H_Supdated * deltaTparmupdated;
1498 I1_updated = F_updated * beta_updated * H_V1updated * H_V2updated * H_A1updated * H_A2updated * deltaTparmupdated;
1499 I2_updated = F_updated * beta_updated * H_V0updated * H_A0updated * deltaTparmupdated;
1500 I3_updated = F_updated * H_V1updated * H_V2updated * H_A1updated * H_A2updated * beta_updated * deltaTparmupdated;
1501 I4_updated = F_updated * H_V1updated * H_V2updated * H_A1updated * H_A2updated * deltaTparmupdated;
1502 I5_updated = F_updated * H_V0updated * H_V1updated * H_V2updated * H_A0updated * H_A1updated * H_A2updated * beta_updated * deltaTparmupdated;
1503 I6_updated = F_updated * H_V1updated * H_V2updated * H_A0updated * H_A1updated * H_A2updated * H_V0updated * beta_updated * H_Supdated * deltaTparmupdated;
1504 I7_updated = I4_updated * beta_updated;
1505 I8_updated = F_updated * beta_updated * H_Supdated * H_V0updated * deltaTparmupdated;
1506 I9_updated = I6_updated;
1507 I10_updated = I5_updated;
1508 I11_updated = I7_updated;
1510 if (MM2 == Itree_cache(0) && mtau2 == Itree_cache(1) && MV2 == Itree_cache(2)) {
1514 Itree_cache(0) = MM2;
1515 Itree_cache(1) = mtau2;
1516 Itree_cache(2) = MV2;
1525double MVll::FF_fit(
double q2,
double a_0,
double a_1,
double a_2,
double MR_2)
1527 return 1. / (1. - q2 / MR_2) * (a_0 + a_1 * (z(q2) - z_0) + a_2 * (z(q2) - z_0) * (z(q2) - z_0));
1530double MVll::z(
double q2)
1532 return ( sqrt(t_p - q2) - sqrt(t_p - t_0)) / (sqrt(t_p - q2) + sqrt(t_p - t_0));
1535double MVll::z_DM(
double q2)
1537 return (sqrt(t_p - q2) - sqrt(t_p - t_m)) / (sqrt(t_p - q2) + sqrt(t_p - t_m));
1540double MVll::phi_f(
double q2,
double MRf_2,
double MRf2_2)
1542 double z = z_DM(q2);
1543 double z_M = z_DM(MRf_2);
1544 double z_M2 = z_DM(MRf2_2);
1547 return 2.*rV/MM2*sqrt(n_I/3./Chi1plus/M_PI) * (1. + z)*pow(1. - z,1.5)/pow((1. + rV)*(1. - z)+2.*sqrt(rV)*(1. + z),4) * (z - z_M)/(1. - z_M*z) * (z - z_M2)/(1. - z_M2*z);
1549 return 4.*rV/MM2*sqrt(n_I/3./Chi1plus/M_PI) * (1. + z)*pow(1. - z,1.5)/pow((1. + rV)*(1. - z)+2.*sqrt(rV)*(1. + z),4) * (z - z_M)/(1. - z_M*z);
1552double MVll::phi_g(
double q2,
double MRg_2,
double MRg2_2)
1554 double z = z_DM(q2);
1555 double z_M = z_DM(MRg_2);
1556 double z_M2 = z_DM(MRg2_2);
1558 return 16.*rV*rV*sqrt(n_I/3./Chi1minus/M_PI) * (1. + z)*(1. + z)*pow(1. - z,-0.5)/pow((1. + rV)*(1. - z)+2.*sqrt(rV)*(1. + z),4) * (z - z_M)/(1. - z_M*z) * (z - z_M2)/(1. - z_M2*z);
1561double MVll::phi_F1(
double q2,
double MRF1_2,
double MRF12_2)
1563 double z = z_DM(q2);
1564 double z_M = z_DM(MRF1_2);
1565 double z_M2 = z_DM(MRF12_2);
1568 return 2.*rV/MM3*sqrt(2.*n_I/3./Chi1plus/M_PI) * (1. + z)*pow(1. - z,2.5)/pow((1. + rV)*(1. - z)+2.*sqrt(rV)*(1. + z),5) * (z - z_M)/(1. - z_M*z) * (z - z_M2)/(1. - z_M2*z);
1570 return 2.*rV/MM3*sqrt(2.*n_I/3./Chi1plus/M_PI) * (1. + z)*pow(1. - z,2.5)/pow((1. + rV)*(1. - z)+2.*sqrt(rV)*(1. + z),5) * (z - z_M)/(1. - z_M*z);
1573double MVll::phi_F2(
double q2,
double MRF2_2,
double MRF22_2)
1575 double z = z_DM(q2);
1576 double z_M = z_DM(MRF2_2);
1577 double z_M2 = z_DM(MRF22_2);
1579 return 8.*rV*rV*sqrt(2.*n_I/Chi0minus/M_PI) * (1. + z)*(1. + z)*pow(1. - z,-0.5)/pow((1. + rV)*(1. - z)+2.*sqrt(rV)*(1. + z),4) * (z - z_M)/(1. - z_M*z) * (z - z_M2)/(1. - z_M2*z);
1582double MVll::phi_T0(
double q2,
double MRT0_2,
double MRT02_2)
1584 double z = z_DM(q2);
1585 double z_M = z_DM(MRT0_2);
1586 double z_M2 = z_DM(MRT02_2);
1589 return 2.*rV*(1. + rV)/
MM*sqrt(2.*n_I/3./ChiBB/M_PI) * (1. + z)*pow(1. - z,1.5)/pow((1. + rV)*(1. - z)+2.*sqrt(rV)*(1. + z),4) * (z - z_M)/(1. - z_M*z) * (z - z_M2)/(1. - z_M2*z);
1591 return 2.*rV*(1. + rV)/
MM*sqrt(2.*n_I/3./ChiBB/M_PI) * (1. + z)*pow(1. - z,1.5)/pow((1. + rV)*(1. - z)+2.*sqrt(rV)*(1. + z),4) * (z - z_M)/(1. - z_M*z);
1594double MVll::phi_T1(
double q2,
double MRT1_2,
double MRT12_2)
1596 double z = z_DM(q2);
1597 double z_M = z_DM(MRT1_2);
1598 double z_M2 = z_DM(MRT12_2);
1600 return 32.*rV*rV/
MM*sqrt(n_I/3./ChiTT/M_PI) * (1. + z)*(1. + z)*pow(1. - z,0.5)/pow((1. + rV)*(1. - z)+2.*sqrt(rV)*(1. + z),5) * (z - z_M)/(1. - z_M*z) * (z - z_M2)/(1. - z_M2*z);
1603double MVll::phi_T2(
double q2,
double MRT2_2,
double MRT22_2)
1605 double z = z_DM(q2);
1606 double z_M = z_DM(MRT2_2);
1607 double z_M2 = z_DM(MRT22_2);
1610 return 4.*rV*(1. - rV*rV)/
MM*sqrt(n_I/3./ChiBB/M_PI) * (1. + z)*pow(1. - z,2.5)/pow((1. + rV)*(1. - z)+2.*sqrt(rV)*(1. + z),5) * (z - z_M)/(1. - z_M*z) * (z - z_M2)/(1. - z_M2*z);
1612 return 4.*rV*(1. - rV*rV)/
MM*sqrt(n_I/3./ChiBB/M_PI) * (1. + z)*pow(1. - z,2.5)/pow((1. + rV)*(1. - z)+2.*sqrt(rV)*(1. + z),5) * (z - z_M)/(1. - z_M*z);
1615double MVll::f_DM(
double q2,
double a_0f,
double a_1f,
double a_2f,
double MRf_2,
double MRf2_2)
1617 double z = z_DM(q2);
1618 return (a_0f + a_1f*z + a_2f*z*z) / phi_f(q2, MRf_2, MRf2_2);
1621double MVll::g_DM(
double q2,
double a_0g,
double a_1g,
double a_2g,
double MRg_2,
double MRg2_2)
1623 double z = z_DM(q2);
1624 return (a_0g + a_1g*z + a_2g*z*z) / phi_g(q2, MRg_2, MRg2_2);
1627double MVll::F1_DM(
double q2,
double a_0F1,
double a_1F1,
double a_2F1,
double MRF1_2,
double MRF12_2)
1629 double z = z_DM(q2);
1630 return (a_0F1 + a_1F1*z + a_2F1*z*z) / phi_F1(q2, MRF1_2, MRF12_2);
1633double MVll::F2_DM(
double q2,
double a_0F2,
double a_1F2,
double a_2F2,
double MRF2_2,
double MRF22_2)
1635 double z = z_DM(q2);
1636 return (a_0F2 + a_1F2*z + a_2F2*z*z) / phi_F2(q2, MRF2_2, MRF22_2);
1639double MVll::T0_DM(
double q2,
double a_0T0,
double a_1T0,
double a_2T0,
double MRT0_2,
double MRT02_2)
1641 double z = z_DM(q2);
1642 return (a_0T0 + a_1T0*z + a_2T0*z*z) / phi_T0(q2, MRT0_2, MRT02_2);
1645double MVll::T1_DM(
double q2,
double a_0T1,
double a_1T1,
double a_2T1,
double MRT1_2,
double MRT12_2)
1647 double z = z_DM(q2);
1648 return (a_0T1 + a_1T1*z + a_2T1*z*z) / phi_T1(q2, MRT1_2, MRT12_2);
1651double MVll::T2_DM(
double q2,
double a_0T2,
double a_1T2,
double a_2T2,
double MRT2_2,
double MRT22_2)
1653 double z = z_DM(q2);
1654 return (a_0T2 + a_1T2*z + a_2T2*z*z) / phi_T2(q2, MRT2_2, MRT22_2);
1657double MVll::V(
double q2)
1660 return g_DM(q2, a_0g, a_1g, a_2g, MRg_2, MRg2_2)*MMpMV/2.;
1662 return FF_fit(q2, a_0V, a_1V, a_2V, MRV_2);
1666double MVll::A_0(
double q2)
1669 return F2_DM(q2, a_0F2, a_1F2, a_2F2, MRF2_2, MRF22_2)/2.;
1671 return FF_fit(q2, a_0A0, a_1A0, a_2A0, MRA0_2);
1675double MVll::A_1(
double q2)
1678 return f_DM(q2, a_0f, a_1f, a_2f, MRf_2, MRf2_2)/MMpMV;
1680 return FF_fit(q2, a_0A1, a_1A1, a_2A1, MRA1_2);
1684double MVll::A_2(
double q2)
1688 A12 = F1_DM(q2, a_0F1, a_1F1, a_2F1, MRF1_2, MRF12_2)/MMMV/8.;
1690 A12 =
FF_fit(q2, a_0A12, a_1A12, a_2A12, MRA12_2);
1693 return (MMpMV2 * (MM2mMV2 - q2) * A_1(q2) - 16. *
MM * MV2 * MMpMV * A12) / lambda(q2);
1696double MVll::T_1(
double q2)
1699 return T1_DM(q2, a_0T1, a_1T1, a_2T1, MRT1_2, MRT12_2);
1701 return FF_fit(q2, a_0T1, a_1T1, a_2T1, MRT1_2);
1705double MVll::T_2(
double q2)
1708 return T2_DM(q2, a_0T2, a_1T2, a_2T2, MRT2_2, MRT22_2);
1710 return FF_fit(q2, a_0T2, a_1T2, a_2T2, MRT2_2);
1714double MVll::V_0t(
double q2)
1718 A12 = F1_DM(q2, a_0F1, a_1F1, a_2F1, MRF1_2, MRF12_2)/MMMV/8.;
1720 A12 =
FF_fit(q2, a_0A12, a_1A12, a_2A12, MRA12_2);
1723 return fourMV / sqrt(q2) * A12;
1726double MVll::V_p(
double q2)
1728 return half * (onepMMoMV * A_1(q2) - sqrt(lambda(q2)) / (MM_MMpMV) * V(q2));
1731double MVll::V_m(
double q2)
1733 return half * (onepMMoMV * A_1(q2) + sqrt(lambda(q2)) / (MM_MMpMV) * V(q2));
1736double MVll::T_0t(
double q2)
1740 T23 = T0_DM(q2, a_0T0, a_1T0, a_2T0, MRT0_2, MRT02_2)*MMpMV*MMpMV/4./
MM/
MV;
1742 T23 =
FF_fit(q2, a_0T23, a_1T23, a_2T23, MRT23_2);
1745 return 2 * sqrt(q2) *
MV / MM_MMpMV * T23;
1748double MVll::T_p(
double q2)
1750 return (MM2mMV2 * T_2(q2) - sqrt(lambda(q2)) * T_1(q2)) / twoMM2;
1753double MVll::T_m(
double q2)
1755 return (MM2mMV2 * T_2(q2) + sqrt(lambda(q2)) * T_1(q2)) / twoMM2;
1758double MVll::S_L(
double q2)
1760 return -sqrt(lambda(q2)) / twoMM_mbpms * A_0(q2);
1769 double sh = q2 / mb2;
1770 double z = (4. * mb2) / q2;
1771 double lsh = log(sh);
1772 gslpp::complex acsq = arccot((gslpp::complex)sqrt(z - 1.));
1774 double osh2 = (1. - sh)*(1. - sh);
1775 return (-(104.) / (243.) * log((mb2) / (mu_b2)) + (4. * sh) / (27. * (1. - sh)) * (dilog((gslpp::complex)sh) + lsh * log(1. - sh))
1776 + (1.) / (729. * osh2) * (6. * sh * (29. - 47. * sh) * lsh + 785. - 1600. * sh + 833. * sh * sh + 6. * M_PI * gslpp::complex::i() * (20. - 49. * sh + 47. * sh2))
1777 - (2.) / (243. * osh2 * (1. - sh)) * (2. * sqrt(z - 1.) * (-4. + 9. * sh - 15. * sh2 + 4. * sh2 * sh) * acsq + 9. * sh2 * sh * lsh * lsh + 18. * M_PI * gslpp::complex::i() * sh * (1. - 2. * sh) * lsh)
1778 + (2. * sh) / (243. * osh2 * osh2) * (36. * acsq * acsq + M_PI2 * (-4. + 9. * sh - 9. * sh2 + 3. * sh2 * sh)));
1783 double sh = q2 / mb2;
1784 double z = (4. * mb2) / q2;
1785 double sqrt_z_m_1 = sqrt(z - 1.);
1786 gslpp::complex x1 = 0.5 + gslpp::complex::i() / 2. * sqrt_z_m_1;
1787 gslpp::complex x2 = 0.5 - gslpp::complex::i() / 2. * sqrt_z_m_1;
1788 gslpp::complex x3 = 0.5 + gslpp::complex::i() / (2. * sqrt_z_m_1);
1789 gslpp::complex x4 = 0.5 - gslpp::complex::i() / (2. * sqrt_z_m_1);
1790 gslpp::complex lx1 = log(x1);
1791 gslpp::complex lx2 = log(x2);
1792 gslpp::complex lx3 = log(x3);
1793 gslpp::complex lx4 = log(x4);
1794 gslpp::complex lx2_x1 = lx2 - lx1;
1795 gslpp::complex lzm1 = log(z - 1.);
1796 gslpp::complex acsq = arccot((gslpp::complex)sqrt_z_m_1);
1798 double lsh = log(sh);
1799 double osh2 = (1. - sh)*(1. - sh);
1800 double lmb_mu = log(mb2 / mu_b2);
1801 return (8. / (243. * sh) * ((4. - 34. * sh - 17. * M_PI * gslpp::complex::i() * sh) * lmb_mu + 8. * sh * lmb_mu * lmb_mu + 17. * sh * lsh * lmb_mu)
1802 + ((2. + sh) * sqrt_z_m_1) / (729. * sh) * (-48. * lmb_mu * acsq - 18. * M_PI * log(z - 1.) + 3. * gslpp::complex::i() * lzm1 * lzm1
1803 - 24. * gslpp::complex::i() * dilog(-x2 / x1) - 5. * M_PI2 * gslpp::complex::i()
1804 + 6. * gslpp::complex::i() * (-9. * lx1 * lx1 + lx2 * lx2 - 2. * lx4 * lx4 + 6. * lx1 * lx2 - 4. * lx1 * lx3 + 8. * lx1 * lx4)
1805 - 12. * M_PI * (2. * lx1 + lx3 + lx4)) - 2. / (243. * sh * (1 - sh)) * (4. * sh * (-8. + 17. * sh) * (dilog((gslpp::complex)sh) + lsh * log(1. - sh))
1806 + 3. * (2. + sh) * (3. - sh) * lx2_x1 * lx2_x1 + 12. * M_PI * (-6. - sh + sh2) * acsq) + 2. / (2187. * sh * osh2) * (-18. * sh * (120. - 211. * sh + 73. * sh2) * lsh
1807 - 288. - 8. * sh + 934. * sh2 - 692. * sh2 * sh + 18. * M_PI * gslpp::complex::i() * sh * (82. - 173. * sh + 73. * sh2))
1808 - 4. / (243. * sh * osh2 * (1 - sh)) * (-2. * sqrt_z_m_1 * (4. - 3. * sh - 18. * sh2 + 16. * sh2 * sh - 5. * sh2 * sh2) * acsq - 9. * sh * sh2 * lsh * lsh
1809 + 2. * M_PI * gslpp::complex::i() * sh * (8. - 33. * sh + 51. * sh2 - 17. * sh * sh2) * lsh) + 2. / (729. * sh * osh2 * osh2) * (72. * (3. - 8. * sh + 2. * sh2) * acsq * acsq
1810 - M_PI2 * (54. - 53. * sh - 286. * sh2 + 612. * sh * sh2 - 446. * sh2 * sh2 + 113. * sh2 * sh2 * sh)));
1815 return -(16.) / (81.) * log((q2) / (mu_b2)) + (428.) / (243.) - (64.) / (27.) * gsl_sf_zeta_int(3) + (16.) / (81.) * M_PI * gslpp::complex::i();
1824 #if COMPUTECP && SPLINE
1825 if (spline && !conjugate)
return gsl_spline_eval(spline_Re_deltaC7_QCDF, q2, acc_Re_deltaC7_QCDF);
1826 else if (spline && conjugate)
return gsl_spline_eval(spline_Re_deltaC7_QCDF_conj, q2, acc_Re_deltaC7_QCDF_conj);
1828 if (spline)
return gsl_spline_eval(spline_Re_deltaC7_QCDF, q2, acc_Re_deltaC7_QCDF);
1836 #if FULLNLOQCDF_MVLL
1838 gslpp::complex Fu_17 = -A_Sdl;
1839 gslpp::complex Fu_27 = 6. * A_Sdl;
1841 gslpp::complex F_17 =
myF_1->F_17re(muh, z, sh, 20) + gslpp::complex::i() *
myF_1->F_17im(muh, z, sh, 20);
1842 gslpp::complex F_27 =
myF_2->F_27re(muh, z, sh, 20) + gslpp::complex::i() *
myF_2->F_27im(muh, z, sh, 20);
1843 gslpp::complex F_87 = F87_0 + F87_1 * sh + F87_2 * sh2 + F87_3 * sh * sh2 - 8. / 9. * log(sh) * (sh + sh2 + sh * sh2);
1846 gslpp::complex delta = C_1 * F_17 + C_2 * F_27;
1847 gslpp::complex delta_t = C_8 * F_87 + delta;
1848 #if FULLNLOQCDF_MVLL
1849 gslpp::complex delta_u = delta + C_1 * Fu_17 + C_2 * Fu_27;
1850 return -
alpha_s_mub / (4. * M_PI) * (delta_t - lambda_u / lambda_t * delta_u);
1855 gslpp::complex delta = C_1.conjugate() * F_17 + C_2.conjugate() * F_27;
1856 gslpp::complex delta_t = C_8.conjugate() * F_87 + delta;
1857 #if FULLNLOQCDF_MVLL
1858 gslpp::complex delta_u = delta + C_1.conjugate() * Fu_17 + C_2.conjugate() * Fu_27;
1859 return -
alpha_s_mub / (4. * M_PI) * (delta_t - (lambda_u / lambda_t).conjugate() * delta_u);
1872 #if COMPUTECP && SPLINE
1873 if (spline && !conjugate)
return gsl_spline_eval(spline_Re_deltaC9_QCDF, q2, acc_Re_deltaC9_QCDF);
1874 else if (spline && conjugate)
return gsl_spline_eval(spline_Re_deltaC9_QCDF_conj, q2, acc_Re_deltaC9_QCDF_conj);
1876 if (spline)
return gsl_spline_eval(spline_Re_deltaC9_QCDF, q2, acc_Re_deltaC9_QCDF);
1884 #if FULLNLOQCDF_MVLL
1886 gslpp::complex C_Sdl =
C_Seidel(q2);
1887 gslpp::complex Fu_19 = -(B_Sdl + 4. * C_Sdl);
1888 gslpp::complex Fu_29 = -(-6. * B_Sdl + 3. * C_Sdl);
1890 gslpp::complex F_19 =
myF_1->F_19re(muh, z, sh, 20) + gslpp::complex::i() *
myF_1->F_19im(muh, z, sh, 20);
1891 gslpp::complex F_29 =
myF_2->F_29re(muh, z, sh, 20) + gslpp::complex::i() *
myF_2->F_29im(muh, z, sh, 20);
1892 gslpp::complex F_89 = (F89_0 + F89_1 * sh + F89_2 * sh2 + F89_3 * sh * sh2 + 16. / 9. * log(sh) * (1. + sh + sh2 + sh * sh2));
1895 gslpp::complex delta = C_1 * F_19 + C_2 * F_29;
1896 gslpp::complex delta_t = C_8 * F_89 + delta;
1897 #if FULLNLOQCDF_MVLL
1898 gslpp::complex delta_u = delta + C_1 * Fu_19 + C_2 * Fu_29;
1899 return -
alpha_s_mub / (4. * M_PI) * (delta_t - lambda_u / lambda_t * delta_u);
1904 gslpp::complex delta = C_1.conjugate() * F_19 + C_2.conjugate() * F_29;
1905 gslpp::complex delta_t = C_8.conjugate() * F_89 + delta;
1906 #if FULLNLOQCDF_MVLL
1907 gslpp::complex delta_u = delta + C_1.conjugate() * Fu_19 + C_2.conjugate() * Fu_29;
1908 return -
alpha_s_mub / (4. * M_PI) * (delta_t - (lambda_u / lambda_t).conjugate() * delta_u);
1918 gslpp::complex T_t = C_3 + 4. / 3. * (C_4 + 12. * C_5 + 16. * C_6);
1919 gslpp::complex T_u = 0.;
1922 if (!conjugate)
return T_t + lambda_u / lambda_t * T_u;
1923 else return T_t + (lambda_u / lambda_t).conjugate() * T_u;
1943 double ubar = 1. - u;
1944 double ed = -1. / 3.;
1946 return -(
alpha_s_mub / (3. * M_PI))*4. * ed * C_8 / (u + ubar * q2 / MM2);
1951 double ubar = 1. - u;
1958 double EV = (MM2 - q2 + MV2) / (2. *
MM);
1959 double ubar = 1. - u;
1961 return (2. *
MM) / (ubar * EV) *
I1(q2, u, m2) + q2 / (ubar * ubar * EV * EV) *
B0diff(q2, u, m2);
1967 double EV = (MM2pMV2 - q2) / (2. *
MM);
1968 double ubar = 1. - u;
1969 return (2. *
MM) / (ubar * EV) *
I1(q2, u, m2) + (ubar * MM2 + u * q2) / (ubar * ubar * EV * EV) *
B0diff(q2, u, m2);
1974 if (m2 == 0.)
return 1.;
1977 xp = 0.5 + sqrt(0.25 - ((gslpp::complex) m2) / (ubar * MM2 + u * q2));
1978 xm = 0.5 - sqrt(0.25 - ((gslpp::complex) m2) / (ubar * MM2 + u * q2));
1979 yp = 0.5 + sqrt(0.25 - ((gslpp::complex) m2) / q2);
1980 ym = 0.5 - sqrt(0.25 - ((gslpp::complex) m2) / q2);
1981 L1xp = log(1. - 1. / xp) * log(1. - xp) - M_PI2osix + dilog(xp / (xp - 1.));
1982 L1xm = log(1. - 1. / xm) * log(1. - xm) - M_PI2osix + dilog(xm / (xm - 1.));
1983 L1yp = log(1. - 1. / yp) * log(1. - yp) - M_PI2osix + dilog(yp / (yp - 1.));
1984 L1ym = log(1. - 1. / ym) * log(1. - ym) - M_PI2osix + dilog(ym / (ym - 1.));
1986 return 1. + 2. * m2 / ubar / (MM2 - q2)*(L1xp + L1xm - L1yp - L1ym);
1991 double ubar = 1. - u;
1993 if (m2 == 0.)
return -log((gslpp::complex)(-(2. / q2))) + log((gslpp::complex)(-(2. / (q2 * u + MM2 * ubar))));
1994 else return B0(ubar * MM2 + u * q2, m2) -
B0(q2, m2);
1999 if (4. * m2 /
s == 1.)
return gslpp::complex(0.);
2000 else return -2. * sqrt(4. * (m2 - gslpp::complex::i()*1.e-10) /
s - 1.) * arctan(1. / sqrt(4. * (m2 - gslpp::complex::i()*1.e-10) /
s - 1.));
2005 if (m2 == 0.)
return 8. / 27. + 4. * gslpp::complex::i() * M_PI / 9. + 8. * log(
mu_b) / 9. - 4. * log(
s) / 9.;
2006 if (
s == 0.)
return -4. / 9. * (1. + log(m2 /
mu_b /
mu_b));
2008 double z = 4 * m2 /
s;
2009 gslpp::complex term;
2010 if (z > 1) term = atan(1. / sqrt(z - 1.));
2011 else term = log((1. + sqrt(1. - z)) / sqrt(z)) - ihalfMPI;
2013 return -4. / 9. * log(m2 /
mu_b /
mu_b) + 8. / 27. + 4. / 9. * z - 4. / 9. * (2. + z) * sqrt(std::abs(z - 1.)) * term;
2020 double eu = 0.666666667;
2023 gslpp::complex t_perp_0 =
t_perp(q2, u, 0.);
2024 double ed = -0.333333333;
2026 gslpp::complex T_t = (eu * t_perp_mc * (-C_1 / 6. + C_2 + 6. * C_6)
2027 + ed * t_perp_mb * (C_3 - C_4/6. + 16. * C_5 + 10. * C_6/3. + 4. *
mb_pole /
MM * (-C_3 + C_4/6. - 4. * C_5 + 2. * C_6/3.))
2028 + ed * t_perp_0 * (C_3 - C_4/6. + 16. * C_5 - 8. * C_6/3.));
2030 gslpp::complex T_u = eu * (t_perp_mc - t_perp_0)*(C_2 - C_1 / 6.);
2032 if (!conjugate)
return alpha_s_mub / (3. * M_PI) *
MM / (2. *
mb_pole)*(T_t + lambda_u / lambda_t * T_u);
2033 else return alpha_s_mub / (3. * M_PI) *
MM / (2. *
mb_pole)*(T_t + (lambda_u / lambda_t).conjugate() * T_u);
2035 return alpha_s_mub / (3. * M_PI) *
MM / (2. *
mb_pole)*(eu * t_perp_mc * (-C_1 / 6. + C_2 + 6. * C_6));
2042 double eu = 0.666666667;
2045 gslpp::complex t_para_0 =
t_para(q2, u, 0.);
2046 double ed = -0.333333333;
2048 gslpp::complex T_t = (eu * t_para_mc * (-C_1 / 6. + C_2 + 6. * C_6)
2049 + ed * t_para_mb * (C_3 - C_4/6. + 16.*C_5 + 10.*C_6/3.)
2050 + ed * t_para_0 * (C_3 - C_4/6. + 16.*C_5 - 8.*C_6/3.));
2052 gslpp::complex T_u = eu * (t_para_mc - t_para_0) * (C_2 - C_1/6.);
2054 if (!conjugate)
return alpha_s_mub / (3. * M_PI) *
MM /
mb_pole * (T_t + lambda_u / lambda_t * T_u);
2055 else return alpha_s_mub / (3. * M_PI) *
MM /
mb_pole * (T_t + (lambda_u / lambda_t).conjugate() * T_u);
2057 return alpha_s_mub / (3. * M_PI) *
MM /
mb_pole * (eu * t_para_mc * (-C_1 / 6. + C_2 + 6. * C_6));
2063 double ubar = 1. - u;
2067 gslpp::complex
h_0 =
h_func(ubar*MM2 + u*q2, 0);
2069 gslpp::complex T_t = (h_mc * (-C_1 / 6. + C_2 + C_4 + 10. * C_6)
2070 + h_mb * (C_3 + 5.*C_4/6. + 16.*C_5 + 22.*C_6/3.)
2071 +
h_0 * (C_3 + 17.*C_4/6. + 16.*C_5 + 82.*C_6/3.)
2072 - 8./27. * (-15.*C_4/2. + 12.*C_5 - 32.*C_6));
2074 gslpp::complex T_u = (h_mc -
h_0)*(C_2 - C_1/6.);
2091 return 1. / (exp(-q2 /
MM / w0) / w0 * (-gsl_sf_expint_Ei(q2 /
MM / w0) + gslpp::complex::i() * M_PI));
2098 double ubar = 1. - u;
2104 return T_amp.real();
2111 double ubar = 1. - u;
2117 return T_amp.imag();
2122 double N = N_QCDF * (
MV / ((MM2pMV2 - q2) / (2. *
MM)));
2129 return sqrt(q2) * T_amp.real();
2134 double N = N_QCDF * (
MV / ((MM2pMV2 - q2) / (2. *
MM)));
2141 return sqrt(q2) * T_amp.imag();
2146 FS = convertToGslFunction(bind(&
MVll::T_perp_real, &(*
this), q2, _1, conjugate));
2147 gsl_integration_cquad(&FS, 0., 1., 1.e-2, 1.e-1, w_sigma, &avaSigma, &errSigma, NULL);
2154 FS = convertToGslFunction(bind(&
MVll::T_perp_imag, &(*
this), q2, _1, conjugate));
2155 gsl_integration_cquad(&FS, 0., 1., 1.e-2, 1.e-1, w_sigma, &avaSigma, &errSigma, NULL);
2162 FS = convertToGslFunction(bind(&
MVll::T_para_real, &(*
this), q2, _1, conjugate));
2163 gsl_integration_cquad(&FS, 0., 1., 1.e-2, 1.e-1, w_sigma, &avaSigma, &errSigma, NULL);
2170 FS = convertToGslFunction(bind(&
MVll::T_para_imag, &(*
this), q2, _1, conjugate));
2171 gsl_integration_cquad(&FS, 0., 1., 1.e-2, 1.e-1, w_sigma, &avaSigma, &errSigma, NULL);
2178 return p[0] + p[1] * x[0] + p[2] * x[0] * x[0] + p[3] * x[0] * x[0] * x[0] + p[4] * x[0] * x[0] * x[0] * x[0] + p[5] * x[0] * x[0] * x[0] * x[0] * x[0] + p[6] * x[0] * x[0] * x[0] * x[0] * x[0] * x[0];
2184 for (
double i = 0.001; i < 8.6; i += 0.5) {
2200 gr1 = TGraph(dim, myq2.data(), Re_T_perp.data());
2202 Re_T_perp_res = gr1.Fit(&QCDFfit,
"SQN0+rob=0.99");
2205 gr1 = TGraph(dim, myq2.data(), Im_T_perp.data());
2207 Im_T_perp_res = gr1.Fit(&QCDFfit,
"SQN0+rob=0.99");
2210 gr1 = TGraph(dim, myq2.data(), Re_T_para.data());
2212 Re_T_para_res = gr1.Fit(&QCDFfit,
"SQN0+rob=0.99");
2215 gr1 = TGraph(dim, myq2.data(), Im_T_para.data());
2217 Im_T_para_res = gr1.Fit(&QCDFfit,
"SQN0+rob=0.99");
2221 gr1 = TGraph(dim, myq2.data(), Re_T_perp_conj.data());
2223 Re_T_perp_res_conj = gr1.Fit(&QCDFfit,
"SQN0+rob=0.99");
2224 Re_T_perp_conj.clear();
2226 gr1 = TGraph(dim, myq2.data(), Im_T_perp_conj.data());
2228 Im_T_perp_res_conj = gr1.Fit(&QCDFfit,
"SQN0+rob=0.99");
2229 Im_T_perp_conj.clear();
2231 gr1 = TGraph(dim, myq2.data(), Re_T_para_conj.data());
2233 Re_T_para_res_conj = gr1.Fit(&QCDFfit,
"SQN0+rob=0.99");
2234 Re_T_para_conj.clear();
2236 gr1 = TGraph(dim, myq2.data(), Im_T_para_conj.data());
2238 Im_T_para_res_conj = gr1.Fit(&QCDFfit,
"SQN0+rob=0.99");
2239 Im_T_para_conj.clear();
2247 int dim = GSL_INTERP_DIM;
2248 int dim_DC = GSL_INTERP_DIM_DC;
2250 double interval = (9.9 - min) / ((
double) dim);
2251 double interval_DC = (9.9 - min) / ((
double) dim_DC);
2252 double q2_spline[dim];
2253 double fq2_Re_T_perp[dim], fq2_Im_T_perp[dim], fq2_Re_T_para[dim], fq2_Im_T_para[dim];
2254 double q2_spline_DC[dim_DC];
2255 double fq2_Re_deltaC7_QCDF[dim_DC], fq2_Im_deltaC7_QCDF[dim_DC], fq2_Re_deltaC9_QCDF[dim_DC], fq2_Im_deltaC9_QCDF[dim_DC];
2257 double fq2_Re_T_perp_conj[dim], fq2_Im_T_perp_conj[dim], fq2_Re_T_para_conj[dim], fq2_Im_T_para_conj[dim];
2258 double fq2_Re_deltaC7_QCDF_conj[dim_DC], fq2_Im_deltaC7_QCDF_conj[dim_DC], fq2_Re_deltaC9_QCDF_conj[dim_DC], fq2_Im_deltaC9_QCDF_conj[dim_DC];
2261 for (
int i = 0; i < dim; i++) {
2262 q2_spline[i] = min + (double) i*interval;
2263 fq2_Re_T_perp[i] =
T_perp_real(q2_spline[i],
false);
2264 fq2_Im_T_perp[i] =
T_perp_imag(q2_spline[i],
false);
2265 fq2_Re_T_para[i] =
T_para_real(q2_spline[i],
false);
2266 fq2_Im_T_para[i] =
T_para_imag(q2_spline[i],
false);
2269 fq2_Re_T_perp_conj[i] =
T_perp_real(q2_spline[i],
true);
2270 fq2_Im_T_perp_conj[i] =
T_perp_imag(q2_spline[i],
true);
2271 fq2_Re_T_para_conj[i] =
T_para_real(q2_spline[i],
true);
2272 fq2_Im_T_para_conj[i] =
T_para_imag(q2_spline[i],
true);
2275 for (
int i = 0; i < dim_DC; i++) {
2276 q2_spline_DC[i] = min + (double) i*interval_DC;
2277 fq2_Re_deltaC7_QCDF[i] =
deltaC7_QCDF(q2_spline_DC[i],
false).real();
2278 fq2_Im_deltaC7_QCDF[i] =
deltaC7_QCDF(q2_spline_DC[i],
false).imag();
2279 fq2_Re_deltaC9_QCDF[i] =
deltaC9_QCDF(q2_spline_DC[i],
false).real();
2280 fq2_Im_deltaC9_QCDF[i] =
deltaC9_QCDF(q2_spline_DC[i],
false).imag();
2283 fq2_Re_deltaC7_QCDF_conj[i] =
deltaC7_QCDF(q2_spline_DC[i],
true).real();
2284 fq2_Im_deltaC7_QCDF_conj[i] =
deltaC7_QCDF(q2_spline_DC[i],
true).imag();
2285 fq2_Re_deltaC9_QCDF_conj[i] =
deltaC9_QCDF(q2_spline_DC[i],
true).real();
2286 fq2_Im_deltaC9_QCDF_conj[i] =
deltaC9_QCDF(q2_spline_DC[i],
true).imag();
2290 gsl_spline_init(spline_Re_T_perp, q2_spline, fq2_Re_T_perp, dim);
2291 gsl_spline_init(spline_Im_T_perp, q2_spline, fq2_Im_T_perp, dim);
2292 gsl_spline_init(spline_Re_T_para, q2_spline, fq2_Re_T_para, dim);
2293 gsl_spline_init(spline_Im_T_para, q2_spline, fq2_Im_T_para, dim);
2295 gsl_spline_init(spline_Re_deltaC7_QCDF, q2_spline_DC, fq2_Re_deltaC7_QCDF, dim_DC);
2296 gsl_spline_init(spline_Im_deltaC7_QCDF, q2_spline_DC, fq2_Im_deltaC7_QCDF, dim_DC);
2297 gsl_spline_init(spline_Re_deltaC9_QCDF, q2_spline_DC, fq2_Re_deltaC9_QCDF, dim_DC);
2298 gsl_spline_init(spline_Im_deltaC9_QCDF, q2_spline_DC, fq2_Im_deltaC9_QCDF, dim_DC);
2301 gsl_spline_init(spline_Re_T_perp_conj, q2_spline, fq2_Re_T_perp_conj, dim);
2302 gsl_spline_init(spline_Im_T_perp_conj, q2_spline, fq2_Im_T_perp_conj, dim);
2303 gsl_spline_init(spline_Re_T_para_conj, q2_spline, fq2_Re_T_para_conj, dim);
2304 gsl_spline_init(spline_Im_T_para_conj, q2_spline, fq2_Im_T_para_conj, dim);
2306 gsl_spline_init(spline_Re_deltaC7_QCDF_conj, q2_spline_DC, fq2_Re_deltaC7_QCDF_conj, dim_DC);
2307 gsl_spline_init(spline_Im_deltaC7_QCDF_conj, q2_spline_DC, fq2_Im_deltaC7_QCDF_conj, dim_DC);
2308 gsl_spline_init(spline_Re_deltaC9_QCDF_conj, q2_spline_DC, fq2_Re_deltaC9_QCDF_conj, dim_DC);
2309 gsl_spline_init(spline_Im_deltaC9_QCDF_conj, q2_spline_DC, fq2_Im_deltaC9_QCDF_conj, dim_DC);
2319 #if COMPUTECP && SPLINE
2320 if (!conjugate)
return -2. *
MM *
mb_pole / q2 * (1. - q2 / MM2) * (gsl_spline_eval(spline_Re_T_perp, q2, acc_Re_T_perp) + gslpp::complex::i() * gsl_spline_eval(spline_Im_T_perp, q2, acc_Im_T_perp));
2321 else return -2. *
MM *
mb_pole / q2 * (1. - q2 / MM2) * (gsl_spline_eval(spline_Re_T_perp_conj, q2, acc_Re_T_perp_conj) + gslpp::complex::i() * gsl_spline_eval(spline_Im_T_perp_conj, q2, acc_Im_T_perp_conj));
2323 return -2. *
MM *
mb_pole / q2 * (1. - q2 / MM2) * (gsl_spline_eval(spline_Re_T_perp, q2, acc_Re_T_perp) + gslpp::complex::i() * gsl_spline_eval(spline_Im_T_perp, q2, acc_Im_T_perp));
2326 #if COMPUTECP && !SPLINE
2327 if (!conjugate)
return -2. *
MM *
mb_pole / q2 * (1. - q2 / MM2) * (
QCDF_fit_func(&q2,
const_cast<double *
> (Re_T_perp_res->GetParams())) + gslpp::complex::i() *
QCDF_fit_func(&q2,
const_cast<double *
> (Im_T_perp_res->GetParams())));
2328 else return -2. *
MM *
mb_pole / q2 * (1. - q2 / MM2) * (
QCDF_fit_func(&q2,
const_cast<double *
> (Re_T_perp_res_conj->GetParams())) + gslpp::complex::i() *
QCDF_fit_func(&q2,
const_cast<double *
> (Im_T_perp_res_conj->GetParams())));
2330 return -2. *
MM *
mb_pole / q2 * (1. - q2 / MM2) * (
QCDF_fit_func(&q2,
const_cast<double *
> (Re_T_perp_res->GetParams())) + gslpp::complex::i() *
QCDF_fit_func(&q2,
const_cast<double *
> (Im_T_perp_res->GetParams())));
2341 #if COMPUTECP && SPLINE
2342 if (!conjugate)
return -(1. - q2 / MM2)* (1. - q2 / MM2) *
MM *
mb_pole / sqrt(q2) * (gsl_spline_eval(spline_Re_T_para, q2, acc_Re_T_para) + gslpp::complex::i() * gsl_spline_eval(spline_Im_T_para, q2, acc_Im_T_para));
2343 else return -(1. - q2 / MM2)* (1. - q2 / MM2) *
MM *
mb_pole / sqrt(q2) * (gsl_spline_eval(spline_Re_T_para_conj, q2, acc_Re_T_para_conj) + gslpp::complex::i() * gsl_spline_eval(spline_Im_T_para_conj, q2, acc_Im_T_para_conj));
2345 return -(1. - q2 / MM2)* (1. - q2 / MM2) *
MM *
mb_pole / sqrt(q2) * (gsl_spline_eval(spline_Re_T_para, q2, acc_Re_T_para) + gslpp::complex::i() * gsl_spline_eval(spline_Im_T_para, q2, acc_Im_T_para));
2348 #if COMPUTECP && !SPLINE
2349 if (!conjugate)
return -(1. - q2 / MM2)* (1. - q2 / MM2) *
MM *
mb_pole / sqrt(q2) * (
QCDF_fit_func(&q2,
const_cast<double *
> (Re_T_para_res->GetParams())) + gslpp::complex::i() *
QCDF_fit_func(&q2,
const_cast<double *
> (Im_T_para_res->GetParams())));
2350 else return -(1. - q2 / MM2)* (1. - q2 / MM2) *
MM *
mb_pole / sqrt(q2) * (
QCDF_fit_func(&q2,
const_cast<double *
> (Re_T_para_res_conj->GetParams())) + gslpp::complex::i() *
QCDF_fit_func(&q2,
const_cast<double *
> (Im_T_para_res_conj->GetParams())));
2352 return -(1. - q2 / MM2)* (1. - q2 / MM2) *
MM *
mb_pole / sqrt(q2) * (
QCDF_fit_func(&q2,
const_cast<double *
> (Re_T_para_res->GetParams())) + gslpp::complex::i() *
QCDF_fit_func(&q2,
const_cast<double *
> (Im_T_para_res->GetParams())));
2360gslpp::complex MVll::H(
double q2,
double m2,
double mu2)
2362 double x = 4. * m2 / q2;
2365 if (x > 1.) par = sqrt(x - 1.) * atan(1. / sqrt(x - 1.));
2366 else par = sqrt(1. - x) * (log((1. + sqrt(1. - x)) / sqrt(x)) - ihalfMPI);
2368 return -fournineth * (log(m2 / mu2) - twothird - x) - fournineth * (2. + x) * par;
2371gslpp::complex MVll::H_0(
double q2)
2373 return (H_0_pre - fournineth * log(q2 / mu_b2));
2376gslpp::complex MVll::Y(
double q2)
2384gslpp::complex MVll::funct_g(
double q2)
2386 if (q2 < 4. *
Mc *
Mc)
2387 return -8. / 9. * log(
Mc /
Mb) + 8. / 27. + 16. / 9. *
Mc *
Mc / q2 - 4. / 9. * (2. + 4. *
Mc *
Mc / q2) * (sqrt(4. *
Mc *
Mc / q2 - 1.) * atan(1. / sqrt(4. *
Mc *
Mc / q2 - 1.)));
2389 return -8. / 9. * log(
Mc /
Mb) + 8. / 27. + 16. / 9. *
Mc *
Mc / q2 - 4. / 9. * (2. + 4. *
Mc *
Mc / q2) * (sqrt(1. - 4. *
Mc *
Mc / q2) * (log(1. + sqrt(1. - 4. *
Mc *
Mc / q2) / sqrt(4. *
Mc *
Mc / q2)) - gslpp::complex::i() * M_PI_2));
2392gslpp::complex MVll::DeltaC9_KD(
double q2,
int com)
2394 return ((
h_0[com] * (1. - 1. / q2) + h_2[com] / q2) / (1. + h_1[com] * (1. - q2) /
mJ2) - (3. * (-0.267) + 1.117) * funct_g(q2))*
exp_Phase[com];
2398gslpp::complex MVll::zh(
double q2)
2400 return ( sqrt(s_p - q2) - sqrt(s_p - s_0)) / (sqrt(s_p - q2) + sqrt(s_p - s_0));
2403gslpp::complex MVll::P(
double q2)
2405 gslpp::complex facmj2 = ( zh(q2) - zh(
mJ2) ) / ( 1. - zh(q2)*zh(
mJ2).conjugate() );
2406 if(fabs(q2 -
mJ2)< 1.e-5) facmj2 = 1/(4.*(
mJ2 - s_p));
2407 gslpp::complex facmPsi2S2 = ( zh(q2) - zh(
mPsi2S2) ) / ( 1. - zh(q2)*zh(
mPsi2S2).conjugate() );
2408 if(fabs(q2 -
mPsi2S2)< 1.e-5) facmPsi2S2 = 1/(4.*(
mPsi2S2 - s_p));
2410 return facmj2*facmPsi2S2;
2413gslpp::complex MVll::Phi_1(
double q2)
2415 return zh(q2)*1. - rho_0*1;
2418gslpp::complex MVll::Phi_1_st(
double q2)
2420 return 1. - rho_0*zh(q2)*1.;
2423gslpp::complex MVll::Phi_2(
double q2)
2425 return zh(q2)*Phi_1(q2) - rho_1*Phi_1_st(q2);
2428gslpp::complex MVll::Phi_2_st(
double q2)
2430 return Phi_1_st(q2) - rho_1*zh(q2)*Phi_1(q2);
2433gslpp::complex MVll::Phi_3(
double q2)
2435 return zh(q2)*Phi_2(q2) - rho_2*Phi_2_st(q2);
2438gslpp::complex MVll::Phi_3_st(
double q2)
2440 return Phi_2_st(q2) - rho_2*zh(q2)*Phi_2(q2);
2443gslpp::complex MVll::Phi_4(
double q2)
2445 return zh(q2)*Phi_3(q2) - rho_3*Phi_3_st(q2);
2448gslpp::complex MVll::Phi_4_st(
double q2)
2450 return Phi_3_st(q2) - rho_3*zh(q2)*Phi_3(q2);
2453gslpp::complex MVll::Phi_5(
double q2)
2455 return zh(q2)*Phi_4(q2) - rho_4*Phi_4_st(q2);
2458gslpp::complex MVll::Phi_5_st(
double q2)
2460 return Phi_4_st(q2) - rho_4*zh(q2)*Phi_4(q2);
2463gslpp::complex MVll::Phi_6(
double q2)
2465 return zh(q2)*Phi_5(q2) - rho_5*Phi_5_st(q2);
2468gslpp::complex MVll::Phi_6_st(
double q2)
2470 return Phi_5_st(q2) - rho_5*zh(q2)*Phi_5(q2);
2473gslpp::complex MVll::p0()
2475 return 1. / sqrt(twoalphaBtoKst);
2478gslpp::complex MVll::p1(
double q2)
2480 return Phi_1(q2) / sqrt(twoalphaBtoKst * onemrho_0_2);
2483gslpp::complex MVll::p2(
double q2)
2485 return Phi_2(q2) / sqrt(twoalphaBtoKst * onemrho_0_2 * onemrho_1_2);
2488gslpp::complex MVll::p3(
double q2)
2490 return Phi_3(q2) / sqrt(twoalphaBtoKst * onemrho_0_2 * onemrho_1_2 * onemrho_2_2);
2493gslpp::complex MVll::p4(
double q2)
2495 return Phi_4(q2) / sqrt(twoalphaBtoKst * onemrho_0_2 * onemrho_1_2 * onemrho_2_2 * onemrho_3_2);
2498gslpp::complex MVll::p5(
double q2)
2500 return Phi_5(q2) / sqrt(twoalphaBtoKst * onemrho_0_2 * onemrho_1_2 * onemrho_2_2 * onemrho_3_2 * onemrho_4_2);
2503gslpp::complex MVll::p6(
double q2)
2505 return Phi_6(q2) / sqrt(twoalphaBtoKst * onemrho_0_2 * onemrho_1_2 * onemrho_2_2 * onemrho_3_2 * onemrho_4_2 * onemrho_5_2);
2508gslpp::complex MVll::phi_1(
double q2)
2510 return - sqrt( 2.*sqrt((4.*
mD2-Q2)*(4.*
mD2-s_0)) + 8.*
mD2 - Q2 - s_0 ) / ( 2.*sqrt((4.*
mD2-Q2)*(4.*
mD2-s_0)) + 8.*
mD2 + Q2*(zh(q2)-1.) - s_0*(zh(q2)+1.) ) ;
2513gslpp::complex MVll::phi_2(
double q2)
2515 gslpp::complex zhm1_2 = (zh(q2)-1.)*(zh(q2)-1.);
2516 gslpp::complex zhp1_2 = (zh(q2)+1.)*(zh(q2)+1.);
2518 return sqrt( MM4*zhm1_2*zhm1_2 - 2.*MM2*zhm1_2*(-16.*
mD2*zh(q2) + MV2*zhm1_2 + s_0*zhp1_2) + (16.*
mD2*zh(q2) + MV2*zhm1_2 - s_0*zhp1_2)*(16.*
mD2*zh(q2) + MV2*zhm1_2 - s_0*zhp1_2) );
2521gslpp::complex MVll::phi_3(
double q2)
2523 return sqrt( 8.*
mD2 + 4.*sqrt(4.*
mD2*
mD2 -
mD2*s_0) - s_0 ) / ( -8.*
mD2 - 4.*sqrt(4.*
mD2*
mD2 -
mD2*s_0) + s_0*(zh(q2)+1.) ) ;
2526gslpp::complex MVll::phi_4(
double q2)
2528 return 1. / sqrt( s_0*(zh(q2)+1.)*(zh(q2)+1.) - 16.*
mD2*zh(q2) ) ;
2531gslpp::complex MVll::DeltaC9_zExpansion(
double q2,
int tran)
2533 gslpp::complex z = zh(q2);
2535 gslpp::complex invpref = 4.*M_PI*sqrt(2.*(4.*
mD2-s_0)/3./chiOPE)*sqrt(1+zh(q2)) * P(q2);
2538 invpref *= MM4 * pow(1.-zh(q2),4.5) * phi_1(q2)*phi_1(q2)*phi_1(q2) * sqrt(phi_2(q2)) * phi_3(q2)*phi_3(q2) * phi_4(q2)*phi_4(q2);
2540 return 1./invpref * (beta_0[0] + beta_0[1]*z + beta_0[2]*z*z + beta_0[3]*z*z*z + beta_0[4]*z*z*z*z + beta_0[5]*z*z*z*z*z + beta_0[6]*z*z*z*z*z*z);
2541 }
else if (tran == 1) {
2542 invpref *= MM2*
MM * pow(1.-zh(q2),3.5) * phi_1(q2)*phi_1(q2)*phi_1(q2) * sqrt(phi_2(q2)) * phi_3(q2)*phi_3(q2)*phi_3(q2);
2544 return 1./invpref * (beta_1[0] + beta_1[1]*z + beta_1[2]*z*z + beta_1[3]*z*z*z + beta_1[4]*z*z*z*z + beta_1[5]*z*z*z*z*z + beta_1[6]*z*z*z*z*z*z);
2546 invpref *= MM2*
MM * pow(1.-zh(q2),3.5) * phi_1(q2)*phi_1(q2)*phi_1(q2) * sqrt(phi_2(q2)) * phi_3(q2)*phi_3(q2)*phi_3(q2);
2548 return 1./invpref * (beta_2[0] + beta_2[1]*z + beta_2[2]*z*z + beta_2[3]*z*z*z + beta_2[4]*z*z*z*z + beta_2[5]*z*z*z*z*z + beta_2[6]*z*z*z*z*z*z);
2556 return DeltaC9_zExpansion(q2, 0) *
MM / sqrt(q2);
2558 return (DeltaC9_zExpansion(q2, 1) - DeltaC9_zExpansion(q2, 2)) / sqrt(2.);
2560 return (DeltaC9_zExpansion(q2, 1) + DeltaC9_zExpansion(q2, 2)) / sqrt(2.);
2562 if (hel == 0)
return SU3_breaking * (-sqrt(q2) / (MM2 * 16. * M_PI * M_PI) * ((MMpMV2 * (MM2mMV2 - q2) * A_1(q2) * DeltaC9_KD(q2, 1) - lambda(q2) * A_2(q2) * DeltaC9_KD(q2, 2)) / (4. *
MV *
MM * MMpMV)));
2563 else if (hel == 1) {
2564 if (q2 == 0.)
return SU3_breaking * (-1. / (MM2 * 16. * M_PI * M_PI) * (
2565 (MMpMV * A_1(0.)) / (2. *
MM) * ((-
h_0[1] + h_2[1]) / (1. + h_1[1] /
mJ2)) *
exp_Phase[1]
2566 - sqrt(lambda(0.)) / (2. *
MM * MMpMV) * V(0.) * ((-
h_0[0] + h_2[0]) / (1. + h_1[0] /
mJ2)) *
exp_Phase[0]));
2567 else return SU3_breaking * (-q2 / (MM2 * 16. * M_PI * M_PI) * ((MMpMV * A_1(q2)) / (2. *
MM) * DeltaC9_KD(q2, 1) - sqrt(lambda(q2)) / (2. *
MM * MMpMV) * V(q2) * DeltaC9_KD(q2, 0)));
2569 if (q2 == 0.)
return SU3_breaking * (-1. / (MM2 * 16. * M_PI * M_PI) *
2570 ((MMpMV * A_1(0.)) / (2. *
MM) * ((-
h_0[1] + h_2[1]) / (1. + h_1[1] /
mJ2)) *
exp_Phase[1]
2571 + sqrt(lambda(0.)) / (2. *
MM * MMpMV) * V(0.) * ((-
h_0[0] + h_2[0]) / (1. + h_1[0] /
mJ2)) *
exp_Phase[0]));
2572 else return SU3_breaking * (-q2 / (MM2 * 16. * M_PI * M_PI) * ((MMpMV * A_1(q2)) / (2. *
MM) * DeltaC9_KD(q2, 1) + sqrt(lambda(q2)) / (2. *
MM * MMpMV) * V(q2) * DeltaC9_KD(q2, 0)));
2575 if (h_pole ==
true)
return SU3_breaking * (
h_0[hel]+(1. - h_2[hel]) * q2 * (h_1[hel] -
h_0[hel]) / (q2 - h_2[hel]));
2576 else if (hel == 1)
return SU3_breaking * (
h_0[1] + h_1[1] * q2 + h_2[1] * q2 * q2 + (twoMboMM *
h_0[2] * T_p(q2) + h_1[2] * q2 / MM2 * V_p(q2)) / sixteenM_PI2);
2577 else if (hel == 2)
return SU3_breaking * (twoMboMM *
h_0[2] * T_m(q2) + h_1[2] * q2 / MM2 * V_m(q2)) / sixteenM_PI2 + h_2[2] * q2 * q2;
2578 else return SU3_breaking * ((
h_0[hel] + h_1[hel] * q2) * sqrt(q2) + (twoMboMM *
h_0[2] * T_0t(q2) + h_1[2] * q2 * V_0t(q2) / MM2) / sixteenM_PI2);
2585 return beta_0[3].real()*(-26.55265491727846*a_0A12)/a_0A12/a_0A12 +
2586 beta_0[2].real()*(-60.539167428104925*a_0A12)/a_0A12/a_0A12 +
2587 beta_0[1].real()*(-138.02728217972742*a_0A12)/a_0A12/a_0A12 +
2588 beta_0[0].real()*(-314.6975988486678*a_0A12)/a_0A12/a_0A12;
2590 return (63.24357991272575*a_0A1 - 293.67248647811704*a_0V + 66.1650673421469*a_1A1 - 46.966706577539846*a_1V)*(beta_1[0].real() - beta_2[0].real())/
2591 (1.*a_0A1 - 0.7098414384537659*a_0V)/(1.*a_0A1 - 0.7098414384537659*a_0V) +
2592 (-119.89709952961475*a_0A1 - 24.007514603707598*a_0V + 29.020190982985117*a_1A1 - 20.59973411156516*a_1V)*(beta_1[1].real() - beta_2[1].real())/
2593 (1.*a_0A1 - 0.7098414384537659*a_0V)/(1.*a_0A1 - 0.7098414384537659*a_0V) +
2594 (-117.34075946812884*a_0A1 + 35.43498229234759*a_0V + 12.728340172828181*a_1A1 - 9.035103297409211*a_1V)*(beta_1[2].real() - beta_2[2].real())/
2595 (1.*a_0A1 - 0.7098414384537659*a_0V)/(1.*a_0A1 - 0.7098414384537659*a_0V) +
2596 (-79.86709064819027*a_0A1 + 35.702158475408076*a_0V + 5.582687021261181*a_1A1 - 3.962822585609206*a_1V)*(beta_1[3].real() - beta_2[3].real())/
2597 (1.*a_0A1 - 0.7098414384537659*a_0V)/(1.*a_0A1 - 0.7098414384537659*a_0V);
2599 return (63.24357991272575*a_0A1 + 293.67248647811704*a_0V + 66.1650673421469*a_1A1 + 46.966706577539846*a_1V)*(beta_1[0].real() + beta_2[0].real())/
2600 (1.*a_0A1 + 0.7098414384537659*a_0V)/(1.*a_0A1 + 0.7098414384537659*a_0V) +
2601 (-119.89709952961475*a_0A1 + 24.007514603707598*a_0V + 29.020190982985117*a_1A1 + 20.59973411156516*a_1V)*(beta_1[1].real() + beta_2[1].real())/
2602 (1.*a_0A1 + 0.7098414384537659*a_0V)/(1.*a_0A1 + 0.7098414384537659*a_0V) +
2603 (-117.34075946812884*a_0A1 - 35.43498229234759*a_0V + 12.728340172828181*a_1A1 + 9.035103297409211*a_1V)*(beta_1[2].real() + beta_2[2].real())/
2604 (1.*a_0A1 + 0.7098414384537659*a_0V)/(1.*a_0A1 + 0.7098414384537659*a_0V) +
2605 (-79.86709064819027*a_0A1 - 35.702158475408076*a_0V + 5.582687021261181*a_1A1 + 3.962822585609206*a_1V)*(beta_1[3].real() - beta_2[3].real())/
2606 (1.*a_0A1 + 0.7098414384537659*a_0V)/(1.*a_0A1 + 0.7098414384537659*a_0V);
2611 if (!bar)
return -gslpp::complex::i() * NN * (((C_9 +
deltaC9_QCDF(q2, !bar, SPLINE) + Y(q2)) -
etaV * pow(-1,
angmomV) * C_9p) * V_0t(q2) +
T_0(q2, !bar) + MM2 / q2 * (twoMboMM * (C_7 +
deltaC7_QCDF(q2, !bar, SPLINE) -
etaV * pow(-1,
angmomV) * C_7p) * T_0t(q2) - sixteenM_PI2 *
h_lambda(0, q2)));
2612 return -gslpp::complex::i() * NN_conjugate * (((C_9.conjugate() +
deltaC9_QCDF(q2, bar, SPLINE) + Y(q2)) -
etaV * pow(-1,
angmomV) * C_9p.conjugate()) * V_0t(q2) +
T_0(q2, bar) + MM2 / q2 * (twoMboMM * (C_7.conjugate() +
deltaC7_QCDF(q2, bar, SPLINE) -
etaV * pow(-1,
angmomV) * C_7p.conjugate()) * T_0t(q2) - sixteenM_PI2 *
h_lambda(0, q2)));
2617 if (!bar)
return -gslpp::complex::i() * NN * (((C_9 +
deltaC9_QCDF(q2, !bar, SPLINE) + Y(q2)) * V_p(q2) -
etaV * pow(-1,
angmomV) * C_9p * V_m(q2)) + MM2 / q2 * (twoMboMM * ((C_7 +
deltaC7_QCDF(q2, !bar, SPLINE)) * T_p(q2) -
etaV * pow(-1,
angmomV) * C_7p * T_m(q2)) - sixteenM_PI2 *
h_lambda(1, q2)));
2618 return -gslpp::complex::i() * NN_conjugate * (((C_9.conjugate() +
deltaC9_QCDF(q2, bar, SPLINE) + Y(q2)) * V_p(q2) -
etaV * pow(-1,
angmomV) * C_9p.conjugate() * V_m(q2)) + MM2 / q2 * (twoMboMM * ((C_7.conjugate() +
deltaC7_QCDF(q2, bar, SPLINE)) * T_p(q2) -
etaV * pow(-1,
angmomV) * C_7p.conjugate() * T_m(q2)) - sixteenM_PI2 *
h_lambda(1, q2)));
2623 if (!bar)
return -gslpp::complex::i() * NN * (((C_9 +
deltaC9_QCDF(q2, !bar, SPLINE) + Y(q2)) * V_m(q2) -
etaV * pow(-1,
angmomV) * C_9p * V_p(q2)) +
T_minus(q2, !bar) + MM2 / q2 * (twoMboMM * ((C_7 +
deltaC7_QCDF(q2, !bar, SPLINE)) * T_m(q2) -
etaV * pow(-1,
angmomV) * C_7p * T_p(q2)) - sixteenM_PI2 *
h_lambda(2, q2)));
2624 return -gslpp::complex::i() * NN_conjugate * (((C_9.conjugate() +
deltaC9_QCDF(q2, bar, SPLINE) + Y(q2)) * V_m(q2) -
etaV * pow(-1,
angmomV) * C_9p.conjugate() * V_p(q2)) +
T_minus(q2, bar) + MM2 / q2 * (twoMboMM * ((C_7.conjugate() +
deltaC7_QCDF(q2, bar, SPLINE)) * T_m(q2) -
etaV * pow(-1,
angmomV) * C_7p.conjugate() * T_p(q2)) - sixteenM_PI2 *
h_lambda(2, q2)));
2629 if (!bar)
return gslpp::complex::i() * NN * (-C_10 +
etaV * pow(-1,
angmomV) * C_10p) * V_0t(q2);
2630 return gslpp::complex::i() * NN_conjugate * (-C_10.conjugate() +
etaV * pow(-1,
angmomV) * C_10p.conjugate()) * V_0t(q2);
2635 if (!bar)
return gslpp::complex::i() * NN * (-C_10 * V_p(q2) +
etaV * pow(-1,
angmomV) * C_10p * V_m(q2));
2636 return gslpp::complex::i() * NN_conjugate * (-C_10.conjugate() * V_p(q2) +
etaV * pow(-1,
angmomV) * C_10p.conjugate() * V_m(q2));
2641 if (!bar)
return gslpp::complex::i() * NN * (-C_10 * V_m(q2) +
etaV * pow(-1,
angmomV) * C_10p * V_p(q2));
2642 return gslpp::complex::i() * NN_conjugate * (-C_10.conjugate() * V_m(q2) +
etaV * pow(-1,
angmomV) * C_10p.conjugate() * V_p(q2));
2649 if (!bar)
return gslpp::complex::i() * NN * MboMW * (C_S -
etaV * pow(-1,
angmomV) * C_Sp) * S_L(q2);
2650 return gslpp::complex::i() * NN_conjugate * MboMW * (C_S.conjugate() -
etaV * pow(-1,
angmomV) * C_Sp.conjugate()) * S_L(q2);
2657 if (!bar)
return gslpp::complex::i() * NN * (MboMW * (C_P -
etaV * pow(-1,
angmomV) * C_Pp) + twoMlepMb / q2 * (C_10 * (1. +
etaV * pow(-1,
angmomV) * MsoMb) - C_10p * (
etaV * pow(-1,
angmomV) + MsoMb))) * S_L(q2);
2658 return gslpp::complex::i() * NN_conjugate * (MboMW * (C_P.conjugate() -
etaV * pow(-1,
angmomV) * C_Pp.conjugate()) + twoMlepMb / q2 * (C_10.conjugate()*(1. +
etaV * pow(-1,
angmomV) * MsoMb) - C_10p.conjugate()*(
etaV * pow(-1,
angmomV) + MsoMb))) * S_L(q2);
2664 if (!bar)
return -gslpp::complex::i() * NN * (C_L_nunu_e -
etaV * pow(-1,
angmomV) * C_R_nunu_e) * V_0t(q2);
2665 return -gslpp::complex::i() * NN_conjugate * (C_L_nunu_e.conjugate() -
etaV * pow(-1,
angmomV) * C_R_nunu_e.conjugate()) * V_0t(q2);
2667 if (!bar)
return -gslpp::complex::i() * NN * (C_L_nunu_mu -
etaV * pow(-1,
angmomV) * C_R_nunu_mu) * V_0t(q2);
2668 return -gslpp::complex::i() * NN_conjugate * (C_L_nunu_mu.conjugate() -
etaV * pow(-1,
angmomV) * C_R_nunu_mu.conjugate()) * V_0t(q2);
2670 if (!bar)
return -gslpp::complex::i() * NN * (C_L_nunu_tau -
etaV * pow(-1,
angmomV) * C_R_nunu_tau) * V_0t(q2);
2671 return -gslpp::complex::i() * NN_conjugate * (C_L_nunu_tau.conjugate() -
etaV * pow(-1,
angmomV) * C_R_nunu_tau.conjugate()) * V_0t(q2);
2678 if (!bar)
return -gslpp::complex::i() * NN * (C_L_nunu_e * V_p(q2) -
etaV * pow(-1,
angmomV) * C_R_nunu_e * V_m(q2));
2679 return -gslpp::complex::i() * NN_conjugate * (C_L_nunu_e.conjugate() * V_p(q2) -
etaV * pow(-1,
angmomV) * C_R_nunu_e.conjugate() * V_m(q2));
2681 if (!bar)
return -gslpp::complex::i() * NN * (C_L_nunu_mu * V_p(q2) -
etaV * pow(-1,
angmomV) * C_R_nunu_mu * V_m(q2));
2682 return -gslpp::complex::i() * NN_conjugate * (C_L_nunu_mu.conjugate() * V_p(q2) -
etaV * pow(-1,
angmomV) * C_R_nunu_mu.conjugate() * V_m(q2));
2684 if (!bar)
return -gslpp::complex::i() * NN * (C_L_nunu_tau * V_p(q2) -
etaV * pow(-1,
angmomV) * C_R_nunu_tau * V_m(q2));
2685 return -gslpp::complex::i() * NN_conjugate * (C_L_nunu_tau.conjugate() * V_p(q2) -
etaV * pow(-1,
angmomV) * C_R_nunu_tau.conjugate() * V_m(q2));
2692 if (!bar)
return -gslpp::complex::i() * NN * (C_L_nunu_e * V_m(q2) -
etaV * pow(-1,
angmomV) * C_R_nunu_e * V_p(q2));
2693 return -gslpp::complex::i() * NN_conjugate * (C_L_nunu_e.conjugate() * V_m(q2) -
etaV * pow(-1,
angmomV) * C_R_nunu_e.conjugate() * V_p(q2));
2695 if (!bar)
return -gslpp::complex::i() * NN * (C_L_nunu_mu * V_m(q2) -
etaV * pow(-1,
angmomV) * C_R_nunu_mu * V_p(q2));
2696 return -gslpp::complex::i() * NN_conjugate * (C_L_nunu_mu.conjugate() * V_m(q2) -
etaV * pow(-1,
angmomV) * C_R_nunu_mu.conjugate() * V_p(q2));
2698 if (!bar)
return -gslpp::complex::i() * NN * (C_L_nunu_tau * V_m(q2) -
etaV * pow(-1,
angmomV) * C_R_nunu_tau * V_p(q2));
2699 return -gslpp::complex::i() * NN_conjugate * (C_L_nunu_tau.conjugate() * V_m(q2) -
etaV * pow(-1,
angmomV) * C_R_nunu_tau.conjugate() * V_p(q2));
2708 double q2 = mpsi*mpsi;
2711 if(fabs(mpsi -
mJpsi) <1.e-5){
2712 double Gammaepm = 5.971/100.*(92.6*1e-6);
2713 fpsi = sqrt(Gammaepm*(3.*sqrt(q2))/(4.*M_PI*
ale*
ale)/(4./9.));
2715 else if(fabs(mpsi -
mPsi2S)< 1.e-5){
2716 double Gammaepm = 7.93/1000.*(294.*1e-6);
2717 fpsi = sqrt(Gammaepm*(3.*sqrt(q2))/(4.*M_PI*
ale*
ale)/(4./9.));
2722 gslpp::complex Norm =
GF*lambda_t.conjugate()*sqrt(sqrt(lambda(q2))/(2.*M_PI*
MM))*
MM*
MM/sqrt(q2)/fpsi;
2723 if(tran == 0) Norm *=
MM/sqrt(q2);
2724 return Norm*DeltaC9_zExpansion(q2,tran);
2730double MVll::k2(
double q2)
2732 return (MM4 + q2 * q2 + MV4 - twoMV2 * q2 - twoMM2 * (q2 + MV2)) / fourMM2;
2737 return sqrt(1. - 4. * Mlep2 / q2);
2740double MVll::beta2(
double q2)
2742 return 1. - 4. * Mlep2 / q2;
2745double MVll::lambda(
double q2)
2747 return (MM4 + q2 * q2 + MV4 - twoMV2 * q2 - twoMM2 * (q2 + MV2));
2750double MVll::F(
double q2,
double b_i)
2752 return sqrt(lambda(q2)) *
beta(q2) * q2 * b_i / (ninetysixM_PI3MM3);
2755double MVll::I_1c(
double q2,
bool bar)
2759 else return F(q2, b)*((
H_V_0(q2, bar).abs2() +
H_A_0(q2, bar).abs2()) / 2. +
H_P(q2, bar).abs2() + 2. * Mlep2 / q2 * (
H_V_0(q2, bar).abs2()
2760 -
H_A_0(q2, bar).abs2()) + beta2(q2) *
H_S(q2, bar).abs2());
2763double MVll::I_1s(
double q2,
bool bar)
2769 else return F(q2, b)*((beta2(q2) + 2.) / 8. * (
H_V_p(q2, bar).abs2() +
H_V_m(q2, bar).abs2() +
H_A_p(q2, bar).abs2() +
H_A_m(q2, bar).abs2()) +
2770 Mlep2 / q2 * (
H_V_p(q2, bar).abs2() +
H_V_m(q2, bar).abs2() -
H_A_p(q2, bar).abs2() -
H_A_m(q2, bar).abs2()));
2773double MVll::I_2c(
double q2,
bool bar)
2777 else return -F(q2, b) * beta2(q2) / 2. * (
H_V_0(q2, bar).abs2() +
H_A_0(q2, bar).abs2());
2780double MVll::I_2s(
double q2,
bool bar)
2786 else return F(q2, b) * beta2(q2) / 8. * (
H_V_p(q2, bar).abs2() +
H_V_m(q2, bar).abs2() +
H_A_p(q2, bar).abs2() +
H_A_m(q2, bar).abs2());
2789double MVll::I_3(
double q2,
bool bar)
2791 return -F(q2, b) * beta2(q2) / 2. * ((
H_V_p(q2, bar) *
H_V_m(q2, bar).conjugate()).real() + (
H_A_p(q2, bar) *
H_A_m(q2, bar).conjugate()).real());
2794double MVll::I_4(
double q2,
bool bar)
2796 return F(q2, b) * beta2(q2) / 4. * (((
H_V_m(q2, bar) +
H_V_p(q2, bar)) *
H_V_0(q2, bar).conjugate()).real() + ((
H_A_m(q2, bar) +
H_A_p(q2, bar)) *
H_A_0(q2, bar).conjugate()).real());
2799double MVll::I_5(
double q2,
bool bar)
2801 return F(q2, b)*(
beta(q2) / 2. * (((
H_V_m(q2, bar) -
H_V_p(q2, bar)) *
H_A_0(q2, bar).conjugate()).real() + ((
H_A_m(q2, bar) -
H_A_p(q2, bar)) *
H_V_0(q2, bar).conjugate()).real()) -
2805double MVll::I_6s(
double q2,
bool bar)
2811 else return F(q2, b) *
beta(q2)*(
H_V_m(q2, bar)*(
H_A_m(q2, bar).conjugate()) -
H_V_p(q2, bar)*(
H_A_p(q2, bar).conjugate())).real();
2814double MVll::I_6c(
double q2,
bool bar)
2816 return 4. * F(q2, b) *
beta(q2) *
Mlep / sqrt(q2)*(
H_S(q2, bar).conjugate() *
H_V_0(q2, bar)).real();
2819double MVll::I_7(
double q2,
bool bar)
2821 return F(q2, b)*(
beta(q2) / 2. * (((
H_V_m(q2, bar) +
H_V_p(q2, bar)) *
H_A_0(q2, bar).conjugate()).imag() + ((
H_A_m(q2, bar) +
H_A_p(q2, bar)) *
H_V_0(q2, bar).conjugate()).imag()) -
2825double MVll::I_8(
double q2,
bool bar)
2827 return F(q2, b) * beta2(q2) / 4. * (((
H_V_m(q2, bar) -
H_V_p(q2, bar)) *
H_V_0(q2, bar).conjugate()).imag() + ((
H_A_m(q2, bar) -
H_A_p(q2, bar)) *
H_A_0(q2, bar).conjugate()).imag());
2830double MVll::I_9(
double q2,
bool bar)
2832 return F(q2, b) * beta2(q2) / 2. * ((
H_V_p(q2, bar) *
H_V_m(q2, bar).conjugate()).imag() + (
H_A_p(q2, bar) *
H_A_m(q2, bar).conjugate()).imag());
2835double MVll::h_1c(
double q2,
bool bar)
2837 return F(q2, b)*((
H_V_0(q2, bar).abs2() +
H_A_0(q2, bar).abs2()) + 2. *
H_P(q2, bar).abs2() + 4. * Mlep2 / q2 * (
H_V_0(q2, bar).abs2()
2838 -
H_A_0(q2, bar).abs2()) - 2. * beta2(q2) *
H_S(q2, bar).abs2());
2841double MVll::h_1s(
double q2,
bool bar)
2843 return F(q2, b)*((beta2(q2) + 2.) / 2. * ((
H_V_p(q2, bar) *
H_V_m(q2, bar).conjugate()).real()
2844 + (
H_A_p(q2, bar) *
H_A_m(q2, bar).conjugate()).real()) +
2845 4. * Mlep2 / q2 * ((
H_V_p(q2, bar) *
H_V_m(q2, bar).conjugate()).real()
2846 - (
H_A_p(q2, bar) *
H_A_m(q2, bar).conjugate()).real()));
2849double MVll::h_2c(
double q2,
bool bar)
2851 return -F(q2, b) * beta2(q2) * (
H_V_0(q2, bar).abs2() +
H_A_0(q2, bar).abs2());
2854double MVll::h_2s(
double q2,
bool bar)
2856 return F(q2, b) * beta2(q2) / 2. * ((
H_V_p(q2, bar) *
H_V_m(q2, bar).conjugate()).real()
2857 + (
H_A_p(q2, bar) *
H_A_m(q2, bar).conjugate()).real());
2860double MVll::h_3(
double q2,
bool bar)
2862 return -F(q2, b) * beta2(q2) / 2. * (
H_V_p(q2, bar).abs2() +
H_V_m(q2, bar).abs2()
2863 +
H_A_p(q2, bar).abs2() +
H_A_m(q2, bar).abs2());
2866double MVll::h_4(
double q2,
bool bar)
2868 return F(q2, b) * beta2(q2) / 2. * (((
H_V_m(q2, bar) +
H_V_p(q2, bar)) *
H_V_0(q2, bar).conjugate()).real()
2869 + ((
H_A_m(q2, bar) +
H_A_p(q2, bar)) *
H_A_0(q2, bar).conjugate()).real());
2872double MVll::h_7(
double q2,
bool bar)
2874 return F(q2, b)*(
beta(q2) * (((
H_V_m(q2, bar) +
H_V_p(q2, bar)) *
H_A_0(q2, bar).conjugate()).imag()
2875 + ((
H_A_m(q2, bar) +
H_A_p(q2, bar)) *
H_V_0(q2, bar).conjugate()).imag()) -
2876 beta(q2) * 2. *
Mlep / sqrt(q2)*(
H_S(q2, bar).conjugate()*(
H_V_m(q2, bar) -
H_V_p(q2, bar))).imag());
2879double MVll::s_5(
double q2,
bool bar)
2881 return beta(q2) * (2. *
Mlep * ((
H_V_m(q2, bar) +
H_V_p(q2, bar)) * F(q2, b) *
H_S(q2, bar).conjugate()).imag() / sqrt(q2)
2882 - F(q2, b)*((
H_A_m(q2, bar) -
H_A_p(q2, bar)) *
H_V_0(q2, bar).conjugate()
2883 + (
H_V_m(q2, bar) -
H_V_p(q2, bar)) *
H_A_0(q2, bar).conjugate()).imag());
2886double MVll::s_6s(
double q2,
bool bar)
2888 return 2. *
beta(q2) * F(q2, b) * (
H_A_p(q2, bar) *
H_V_m(q2, bar).conjugate() +
H_V_p(q2, bar) *
H_A_m(q2, bar).conjugate()).imag();
2891double MVll::s_6c(
double q2,
bool bar)
2893 return -8. *
beta(q2) *
Mlep * (
H_V_0(q2, bar) * F(q2, b) *
H_S(q2, bar).conjugate()).imag() / sqrt(q2);
2896double MVll::s_8(
double q2,
bool bar)
2898 return beta2(q2) * F(q2, b) * ((
H_A_m(q2, bar) -
H_A_p(q2, bar)) *
H_A_0(q2, bar).conjugate()
2899 + (
H_V_m(q2, bar) -
H_V_p(q2, bar)) *
H_V_0(q2, bar).conjugate()).real() / 2.;
2902double MVll::s_9(
double q2,
bool bar)
2904 return beta2(q2) * F(q2, b) * (
H_A_p(q2, bar).abs2() -
H_A_m(q2, bar).abs2()
2905 +
H_V_p(q2, bar).abs2() -
H_V_m(q2, bar).abs2()) / 2.;
2912 std::pair<double, double > qbin = std::make_pair(q_min, q_max);
2914 old_handler = gsl_set_error_handler_off();
2918 if (sigma0Cached[qbin] == 0) {
2919 FS = convertToGslFunction(bind(&MVll::getSigma1c, &(*
this), _1));
2920 if (gsl_integration_cquad(&FS, q_min, q_max, 1.e-2, 1.e-1, w_sigma, &avaSigma, &errSigma, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
2921 cacheSigma0[qbin] = avaSigma;
2922 sigma0Cached[qbin] = 1;
2924 return cacheSigma0[qbin];
2927 if (sigma1Cached[qbin] == 0) {
2928 FS = convertToGslFunction(bind(&MVll::getSigma1s, &(*
this), _1));
2929 if (gsl_integration_cquad(&FS, q_min, q_max, 1.e-2, 1.e-1, w_sigma, &avaSigma, &errSigma, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
2930 cacheSigma1[qbin] = avaSigma;
2931 sigma1Cached[qbin] = 1;
2933 return cacheSigma1[qbin];
2936 if (sigma2Cached[qbin] == 0) {
2937 FS = convertToGslFunction(bind(&MVll::getSigma2c, &(*
this), _1));
2938 if (gsl_integration_cquad(&FS, q_min, q_max, 1.e-2, 1.e-1, w_sigma, &avaSigma, &errSigma, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
2939 cacheSigma2[qbin] = avaSigma;
2940 sigma2Cached[qbin] = 1;
2942 return cacheSigma2[qbin];
2945 if (sigma3Cached[qbin] == 0) {
2946 FS = convertToGslFunction(bind(&MVll::getSigma2s, &(*
this), _1));
2947 if (gsl_integration_cquad(&FS, q_min, q_max, 1.e-2, 1.e-1, w_sigma, &avaSigma, &errSigma, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
2948 cacheSigma3[qbin] = avaSigma;
2949 sigma3Cached[qbin] = 1;
2951 return cacheSigma3[qbin];
2954 if (sigma4Cached[qbin] == 0) {
2955 FS = convertToGslFunction(bind(&MVll::getSigma3, &(*
this), _1));
2956 if (gsl_integration_cquad(&FS, q_min, q_max, 1.e-2, 1.e-1, w_sigma, &avaSigma, &errSigma, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
2957 cacheSigma4[qbin] = avaSigma;
2958 sigma4Cached[qbin] = 1;
2960 return cacheSigma4[qbin];
2963 if (sigma5Cached[qbin] == 0) {
2964 FS = convertToGslFunction(bind(&MVll::getSigma4, &(*
this), _1));
2965 if (gsl_integration_cquad(&FS, q_min, q_max, 1.e-2, 1.e-1, w_sigma, &avaSigma, &errSigma, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
2966 cacheSigma5[qbin] = avaSigma;
2967 sigma5Cached[qbin] = 1;
2969 return cacheSigma5[qbin];
2972 if (sigma6Cached[qbin] == 0) {
2973 FS = convertToGslFunction(bind(&MVll::getSigma5, &(*
this), _1));
2974 if (gsl_integration_cquad(&FS, q_min, q_max, 1.e-2, 1.e-1, w_sigma, &avaSigma, &errSigma, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
2975 cacheSigma6[qbin] = avaSigma;
2976 sigma6Cached[qbin] = 1;
2978 return cacheSigma6[qbin];
2981 if (sigma7Cached[qbin] == 0) {
2982 FS = convertToGslFunction(bind(&MVll::getSigma6s, &(*
this), _1));
2983 if (gsl_integration_cquad(&FS, q_min, q_max, 1.e-2, 1.e-1, w_sigma, &avaSigma, &errSigma, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
2984 cacheSigma7[qbin] = avaSigma;
2985 sigma7Cached[qbin] = 1;
2987 return cacheSigma7[qbin];
2990 if (sigma8Cached[qbin] == 0) {
2991 FS = convertToGslFunction(bind(&MVll::getSigma6c, &(*
this), _1));
2992 if (gsl_integration_cquad(&FS, q_min, q_max, 1.e-2, 1.e-1, w_sigma, &avaSigma, &errSigma, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
2993 cacheSigma8[qbin] = avaSigma;
2994 sigma8Cached[qbin] = 1;
2996 return cacheSigma8[qbin];
2999 if (sigma9Cached[qbin] == 0) {
3000 FS = convertToGslFunction(bind(&MVll::getSigma7, &(*
this), _1));
3001 if (gsl_integration_cquad(&FS, q_min, q_max, 1.e-2, 1.e-1, w_sigma, &avaSigma, &errSigma, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
3002 cacheSigma9[qbin] = avaSigma;
3003 sigma9Cached[qbin] = 1;
3005 return cacheSigma9[qbin];
3008 if (sigma10Cached[qbin] == 0) {
3009 FS = convertToGslFunction(bind(&MVll::getSigma8, &(*
this), _1));
3010 if (gsl_integration_cquad(&FS, q_min, q_max, 1.e-2, 1.e-1, w_sigma, &avaSigma, &errSigma, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
3011 cacheSigma10[qbin] = avaSigma;
3012 sigma10Cached[qbin] = 1;
3014 return cacheSigma10[qbin];
3017 if (sigma11Cached[qbin] == 0) {
3018 FS = convertToGslFunction(bind(&MVll::getSigma9, &(*
this), _1));
3019 if (gsl_integration_cquad(&FS, q_min, q_max, 1.e-2, 1.e-1, w_sigma, &avaSigma, &errSigma, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
3020 cacheSigma11[qbin] = avaSigma;
3021 sigma11Cached[qbin] = 1;
3023 return cacheSigma11[qbin];
3026 std::stringstream out;
3028 throw std::runtime_error(
"MVll::integrateSigma: index " + out.str() +
" not implemented");
3031 gsl_set_error_handler(old_handler);
3041 return getSigma1c(q_2);
3044 return getSigma1s(q_2);
3047 return getSigma2c(q_2);
3050 return getSigma2s(q_2);
3053 return getSigma3(q_2);
3056 return getSigma4(q_2);
3059 return getSigma5(q_2);
3062 return getSigma6s(q_2);
3065 return getSigma6c(q_2);
3068 return getSigma7(q_2);
3071 return getSigma8(q_2);
3074 return getSigma9(q_2);
3077 std::stringstream out;
3079 throw std::runtime_error(
"MVll::getSigma: index " + out.str() +
" not implemented");
3087 std::pair<double, double > qbin = std::make_pair(q_min, q_max);
3089 old_handler = gsl_set_error_handler_off();
3093 if (delta0Cached[qbin] == 0) {
3094 FD = convertToGslFunction(bind(&MVll::getDelta1c, &(*
this), _1));
3095 if (gsl_integration_cquad(&FD, q_min, q_max, 1.e-2, 1.e-1, w_delta, &avaDelta, &errDelta, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
3096 cacheDelta0[qbin] = avaDelta;
3097 delta0Cached[qbin] = 1;
3099 return cacheDelta0[qbin];
3102 if (delta1Cached[qbin] == 0) {
3103 FD = convertToGslFunction(bind(&MVll::getDelta1s, &(*
this), _1));
3104 if (gsl_integration_cquad(&FD, q_min, q_max, 1.e-2, 1.e-1, w_delta, &avaDelta, &errDelta, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
3105 cacheDelta1[qbin] = avaDelta;
3106 delta1Cached[qbin] = 1;
3108 return cacheDelta1[qbin];
3111 if (delta2Cached[qbin] == 0) {
3112 FD = convertToGslFunction(bind(&MVll::getDelta2c, &(*
this), _1));
3113 if (gsl_integration_cquad(&FD, q_min, q_max, 1.e-2, 1.e-1, w_delta, &avaDelta, &errDelta, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
3114 cacheDelta2[qbin] = avaDelta;
3115 delta2Cached[qbin] = 1;
3117 return cacheDelta2[qbin];
3120 if (delta3Cached[qbin] == 0) {
3121 FD = convertToGslFunction(bind(&MVll::getDelta2s, &(*
this), _1));
3122 if (gsl_integration_cquad(&FD, q_min, q_max, 1.e-2, 1.e-1, w_delta, &avaDelta, &errDelta, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
3123 cacheDelta3[qbin] = avaDelta;
3124 delta3Cached[qbin] = 1;
3126 return cacheDelta3[qbin];
3129 if (delta6Cached[qbin] == 0) {
3130 FD = convertToGslFunction(bind(&MVll::getDelta5, &(*
this), _1));
3131 if (gsl_integration_cquad(&FD, q_min, q_max, 1.e-2, 1.e-1, w_delta, &avaDelta, &errDelta, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
3132 cacheDelta6[qbin] = avaDelta;
3133 delta6Cached[qbin] = 1;
3135 return cacheDelta6[qbin];
3138 if (delta7Cached[qbin] == 0) {
3139 FD = convertToGslFunction(bind(&MVll::getDelta6s, &(*
this), _1));
3140 if (gsl_integration_cquad(&FD, q_min, q_max, 1.e-2, 1.e-1, w_delta, &avaDelta, &errDelta, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
3141 cacheDelta7[qbin] = avaDelta;
3142 delta7Cached[qbin] = 1;
3144 return cacheDelta7[qbin];
3147 if (delta8Cached[qbin] == 0) {
3148 FD = convertToGslFunction(bind(&MVll::getDelta6c, &(*
this), _1));
3149 if (gsl_integration_cquad(&FD, q_min, q_max, 1.e-2, 1.e-1, w_delta, &avaDelta, &errDelta, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
3150 cacheDelta8[qbin] = avaDelta;
3151 delta8Cached[qbin] = 1;
3153 return cacheDelta8[qbin];
3156 if (delta10Cached[qbin] == 0) {
3157 FD = convertToGslFunction(bind(&MVll::getDelta8, &(*
this), _1));
3158 if (gsl_integration_cquad(&FD, q_min, q_max, 1.e-2, 1.e-1, w_delta, &avaDelta, &errDelta, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
3159 cacheDelta10[qbin] = avaDelta;
3160 delta10Cached[qbin] = 1;
3162 return cacheDelta10[qbin];
3165 if (delta11Cached[qbin] == 0) {
3166 FD = convertToGslFunction(bind(&MVll::getDelta9, &(*
this), _1));
3167 if (gsl_integration_cquad(&FD, q_min, q_max, 1.e-2, 1.e-1, w_delta, &avaDelta, &errDelta, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
3168 cacheDelta11[qbin] = avaDelta;
3169 delta11Cached[qbin] = 1;
3171 return cacheDelta11[qbin];
3174 std::stringstream out;
3176 throw std::runtime_error(
"MVll::integrateDelta: index " + out.str() +
" not implemented");
3179 gsl_set_error_handler(old_handler);
3189 double q_cut = (mtau2 - MV2) * (MM2 - mtau2) / mtau2;
3190 if (q_max >= q_cut) {
3195 double prefactor =
mySM.
getMesons(
meson).
getLifetime() / HCUT * GF4 * VusVub_abs2 * fV2 * fM2 / (64. * M_PI2 * MM3 * Gammatau) * mtau2 * mtau;
3197 std::pair<double, double > qbin = std::make_pair(q_min, q_max);
3199 old_handler = gsl_set_error_handler_off();
3201 if (sigmaTreeCached[qbin] == 0) {
3203 if (gsl_integration_cquad(&FD, q_min, q_max, 1.e-2, 1.e-1, w_sigmaTree, &avaSigmaTree, &errSigmaTree, NULL) != 0)
return std::numeric_limits<double>::quiet_NaN();
3204 cacheSigmaTree[qbin] = avaSigmaTree;
3205 sigmaTreeCached[qbin] = 1;
3207 return prefactor * cacheSigmaTree[qbin];
3209 gsl_set_error_handler(old_handler);
3214 return (MM2 - mtau2) * (mtau2 - MV2) - q2 * (mtau2 - 2. * MV2);
3219 return mySM.
getMesons(
meson).
getLifetime() / HCUT * GF4 * VusVub_abs2 * fV2 * fM2 / (128. * M_PI2 * MM3 * Gammatau) * mtau * (mtau2 - MV2) * (mtau2 - MV2) * (MM2 - mtau2) * (MM2 - mtau2) * (1. + 2.* MV2 / mtau2);
const gslpp::complex computelamt_s() const
The product of the CKM elements .
const gslpp::complex computelamu_s() const
The product of the CKM elements .
bool getFlagMVll_DM() const
bool getFlagUseDispersionRelation() const
gslpp::vector< gslpp::complex > ** ComputeCoeffsnunu(QCD::lepton lepton=QCD::NOLEPTON, bool noSM=false) const
bool getFlagFixedWCbtos() const
bool getFlagNeutrinoTree() const
void setUpdateFlag(QCD::meson meson_i, QCD::meson meson_j, QCD::lepton lep_i, bool updated_i) const
sets the update flag for the initial and final state dependent object for .
gslpp::vector< gslpp::complex > ** ComputeCoeffprimeBMll(double mu, QCD::lepton lepton, schemes scheme=NDR) const
Computes the chirality flipped Wilson coefficient for the process .
bool getUpdateFlag(QCD::meson meson_i, QCD::meson meson_j, QCD::lepton lep_i) const
gets the update flag for the initial and final state dependent object for .
gslpp::vector< gslpp::complex > ** ComputeCoeffBMll(double mu, QCD::lepton lepton, bool noSM=false, schemes scheme=NDR) const
Computes the Wilson coefficient for the process .
bool getFlagUsezExpansion() const
gslpp::complex T_para_minus_WA(bool conjugate)
QCDF Correction from various BFS paper (hep-ph/0412400). Weak Annihilation.
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 phi_V(double u)
QCDF Correction from various BFS paper (hep-ph/0106067).Vector meson distribution amplitude.
gslpp::complex H_m_nunu(double q2, bool bar, QCD::lepton lep)
The helicity amplitude for the invisible decay .
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)
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.
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.
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 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)
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 .
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.
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 H_V_p(double q2, bool bar)
The helicity amplitude .
gslpp::complex lambda_B_minus(double q2)
gslpp::complex T_0(double q2, bool conjugate)
gslpp::complex h_lambda(int hel, double q2)
The non-pertubative ccbar contributions to the helicity amplitudes.
gslpp::complex exp_Phase[3]
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.
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.
gslpp::complex B0diff(double q2, double u, double m2)
double Delta_C9_zExp(int hel)
The non-pertubative ccbar contributions to the helicity amplitudes.
gslpp::complex H_A_0(double q2, bool bar)
The helicity amplitude .
double SigmaTree(double q2)
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)
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 beta(double q2)
The factor used in the angular coefficients .
const double & getLambdaM() const
const double & getDecayconst_p() const
A get method for the perpendicular decay constant of a vector meson.
const double & getDgamma_gamma() const
double computeWidth() const
A method to compute the width of the meson from its lifetime.
const double & getDecayconst() const
A get method for the decay constant of the meson.
const double & getGegenalpha(int i) const
A get method to get the Gegenbaur coefficient.
double getLifetime() const
A get method for the lifetime of the meson.
const double & getMass() const
A get method to access the particle mass.
double getCharge() const
A get method to access the particle charge.
meson
An enum type for mesons.
const double getOptionalParameter(std::string name) const
A method to get parameters that are specific to only one set of observables.
const Meson & getMesons(const QCD::meson m) const
A get method to access a meson as an object of the type Meson.
lepton
An enum type for leptons.
const Particle & getQuarks(const QCD::quark q) const
A get method to access a quark as an object of the type Particle.
void initializeMeson(QCD::meson meson_i) const
A method to initialize a meson.
const double getMub() const
A get method to access the threshold between five- and four-flavour theory in GeV.
const double Mbar2Mp(const double mbar, const quark q, const orders order=FULLNNLO) const
Converts the mass to the pole mass.
A model class for the Standard Model.
const Particle & getLeptons(const QCD::lepton p) const
A get method to retrieve the member object of a lepton.
const CKM & getCKM() const
A get method to retrieve the member object of type CKM.
virtual const double Mw() const
The SM prediction for the -boson mass in the on-shell scheme, .
const Flavour & getFlavour() const
const double getGF() const
A get method to retrieve the Fermi constant .
const double Als(const double mu, const orders order, const bool Nf_thr, const bool qed_flag) const
The running QCD coupling in the scheme including QED corrections.
const double getAle() const
A get method to retrieve the fine-structure constant .
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 .