4 #include "linAlg_tools.h"
30 ENERGY_DEP__VAN_DOETINCHEM = 2,
54 static bool convert_LAB_to_CM(
const double T_p_LAB,
const double T_prod_LAB,
const double eta_LAB,
double &s,
double &E_prod,
double &pT_prod,
double &x_F,
int product=P_BAR );
69 static double inv_AA_pbar_CM(
double s,
double xF,
double pT_pbar,
int A_projectile,
int N_projectile,
int A_target,
int N_target,
int parametrization);
85 static double inv_AA_pbar_LAB(
double Tn_proj_LAB,
double T_pbar_LAB,
double eta_LAB,
int A_projectile,
int N_projectile,
int A_target,
int N_target,
int parametrization );
102 static double dE_AA_pbar_LAB(
double Tn_proj_LAB,
double T_pbar_LAB,
int A_projectile=1,
int N_projectile=0,
int A_target=1,
int N_target=0,
int parametrization=KORSMEIER_II);
134 static double dE_AA_pbar_LAB_incNbarAndHyperon(
double Tn_proj_LAB,
double T_pbar_LAB,
int A_projectile=1,
int N_projectile=0,
int A_target=1,
int N_target=0,
int parametrization=KORSMEIER_II);
151 static double inv_AA_p_CM(
double s,
double xF,
double pT_p,
int A_projectile,
int N_projectile,
int A_target,
int N_target,
int parametrization);
167 static double inv_AA_p_LAB(
double Tn_proj_LAB,
double T_p_LAB,
double eta_LAB,
int A_projectile,
int N_projectile,
int A_target,
int N_target,
int parametrization );
184 static double dE_AA_p_LAB(
double Tn_proj_LAB,
double T_p_LAB,
int A_projectile=1,
int N_projectile=0,
int A_target=1,
int N_target=0,
int parametrization=ANDERSON);
225 static double p_coal__pTdep(
double pToverA,
double p0_val=0.160 );
291 static double inv_AA_Dbar_CM(
double s,
double xF_Dbar,
double pT_Dbar,
int A_projectile,
int N_projectile,
int A_target,
int N_target,
int parametrization,
int coalescence,
double p0_val=0.160 );
308 static double inv_AA_Dbar_LAB(
double Tn_proj_LAB,
double Tn_Dbar_LAB,
double eta_LAB,
int A_projectile,
int N_projectile,
int A_target,
int N_target,
int parametrization,
int coalescence,
double p0_val=0.160 );
329 static double dEn_AA_Dbar_LAB(
double Tn_proj_LAB,
double Tn_Dbar_LAB,
int A_projectile=1,
int N_projectile=0,
int A_target=1,
int N_target=0,
int parametrization=KORSMEIER_II,
int coalescence=ENERGY_DEP__VAN_DOETINCHEM,
double p0_val=0.160 );
349 static double dEn_DbarA_Dbar_LAB(
double Tn_Dbar_proj_LAB,
double Tn_Dbar_prod_LAB,
int A_target=1,
int N_target=0,
int parametrization=ANDERSON );
392 static double inv_AA_He3bar_CM(
double s,
double xF_Hebar,
double pT_Hebar,
int A_projectile,
int N_projectile,
int A_target,
int N_target,
int parametrization,
int coalescence,
double p0_val=0.160 );
409 static double inv_AA_He3bar_LAB(
double Tn_proj_LAB,
double Tn_Hebar_LAB,
double eta_LAB,
int A_projectile,
int N_projectile,
int A_target,
int N_target,
int parametrization,
int coalescence,
double p0_val=0.160 );
430 static double dEn_AA_He3bar_LAB(
double Tn_proj_LAB,
double Tn_Hebar_LAB,
int A_projectile=1,
int N_projectile=0,
int A_target=1,
int N_target=0,
int parametrization=KORSMEIER_II,
int coalescence=ENERGY_DEP__VAN_DOETINCHEM,
double p0_val=0.160 );
450 static double dEn_He3barA_He3bar_LAB(
double Tn_Hebar_proj_LAB,
double Tn_Hebar_prod_LAB,
int A_target=1,
int N_target=0,
int parametrization=ANDERSON );
492 static double inv_AA_He4bar_CM(
double s,
double xF_Hebar,
double pT_Hebar,
int A_projectile,
int N_projectile,
int A_target,
int N_target,
int parametrization,
int coalescence,
double p0_val=0.160 );
509 static double inv_AA_He4bar_LAB(
double Tn_proj_LAB,
double Tn_Hebar_LAB,
double eta_LAB,
int A_projectile,
int N_projectile,
int A_target,
int N_target,
int parametrization,
int coalescence,
double p0_val=0.160 );
530 static double dEn_AA_He4bar_LAB(
double Tn_proj_LAB,
double Tn_Hebar_LAB,
int A_projectile=1,
int N_projectile=0,
int A_target=1,
int N_target=0,
int parametrization=KORSMEIER_II,
int coalescence=ENERGY_DEP__VAN_DOETINCHEM,
double p0_val=0.160 );
550 static double dEn_He4barA_He4bar_LAB(
double Tn_Hebar_proj_LAB,
double Tn_Hebar_prod_LAB,
int A_target=1,
int N_target=0,
int parametrization=ANDERSON );
618 static bool fIsRestricted_pp;
619 static void SetRestricted_pp (
bool is_pp ){fIsRestricted_pp=is_pp;};
621 static bool isInRestricted_CM (
double s,
double xf,
double pT );
622 static void SetRestrictedParameterSpace_CM (
double s,
double xf,
double pT );
623 static void RemoveRestrictedParameterSpace_CM ( );
624 static int fRestrictedParameterSpace_CM;
625 static double fRestrictedParameterSpace_CM__s [103];
626 static double fRestrictedParameterSpace_CM__xf [103];
627 static double fRestrictedParameterSpace_CM__pT [103];
631 static bool isInRestricted_LAB (
double Tp,
double Tpbar,
double eta );
632 static void SetRestrictedParameterSpace_LAB (
double Tp,
double Tpbar,
double eta );
633 static void RemoveRestrictedParameterSpace_LAB ( );
634 static int fRestrictedParameterSpace_LAB;
635 static double fRestrictedParameterSpace_LAB__Tp [103];
636 static double fRestrictedParameterSpace_LAB__Tpbar[103];
637 static double fRestrictedParameterSpace_LAB__eta [103];
static double integrand__dE_AA_Dbar_LAB(double eta_LAB, void *parameters)
Helper function for inv_AA_Dbar_LAB.
Definition: xs_Dbar.cxx:124
static double inv_AA_pbar_CM(double s, double xF, double pT_pbar, int A_projectile, int N_projectile, int A_target, int N_target, int parametrization)
Invariant antiproton production cross section for general projectile and target nucleus for different...
Definition: xs_pbar.cxx:15
static double dE_AA_pbar_LAB_incNbarAndHyperon(double Tn_proj_LAB, double T_pbar_LAB, int A_projectile=1, int N_projectile=0, int A_target=1, int N_target=0, int parametrization=KORSMEIER_II)
Energy-differential antiproton production cross section including antineutrons and antihyperons for g...
Definition: xs_pbar.cxx:135
static double integrand__dE_AA_pbar_LAB(double eta_LAB, void *parameters)
Helper function for dE_AA_pbar_LAB.
Definition: xs_pbar.cxx:81
static double dEn_He3barA_He3bar_LAB(double Tn_Hebar_proj_LAB, double Tn_Hebar_prod_LAB, int A_target=1, int N_target=0, int parametrization=ANDERSON)
Energy-differential antihelion cross section for non-annihilating antihelion reactions on p...
Definition: xs_He3bar.cxx:183
static double dE_AA_pbar_LAB(double Tn_proj_LAB, double T_pbar_LAB, int A_projectile=1, int N_projectile=0, int A_target=1, int N_target=0, int parametrization=KORSMEIER_II)
Energy-differential antiproton production cross section for general projectile and target nucleus for...
Definition: xs_pbar.cxx:96
static double inv_AA_Dbar_CM(double s, double xF_Dbar, double pT_Dbar, int A_projectile, int N_projectile, int A_target, int N_target, int parametrization, int coalescence, double p0_val=0.160)
Invariant antideuteron production cross section for general projectile and target nucleus for differe...
Definition: xs_Dbar.cxx:36
static double inv_AA_p_LAB(double Tn_proj_LAB, double T_p_LAB, double eta_LAB, int A_projectile, int N_projectile, int A_target, int N_target, int parametrization)
Invariant proton production cross section for general projectile and target nucleus for different XS ...
Definition: xs_p.cxx:27
static double dEn_AA_He4bar_LAB(double Tn_proj_LAB, double Tn_Hebar_LAB, int A_projectile=1, int N_projectile=0, int A_target=1, int N_target=0, int parametrization=KORSMEIER_II, int coalescence=ENERGY_DEP__VAN_DOETINCHEM, double p0_val=0.160)
Energy-differential antihelion production cross section for general projectile and target nucleus for...
Definition: xs_He4bar.cxx:164
static double inv_AA_He3bar_LAB(double Tn_proj_LAB, double Tn_Hebar_LAB, double eta_LAB, int A_projectile, int N_projectile, int A_target, int N_target, int parametrization, int coalescence, double p0_val=0.160)
Invariant antihelion production cross section for general projectile and target nucleus for different...
Definition: xs_He3bar.cxx:112
static double dEn_AA_He3bar_LAB(double Tn_proj_LAB, double Tn_Hebar_LAB, int A_projectile=1, int N_projectile=0, int A_target=1, int N_target=0, int parametrization=KORSMEIER_II, int coalescence=ENERGY_DEP__VAN_DOETINCHEM, double p0_val=0.160)
Energy-differential antihelion production cross section for general projectile and target nucleus for...
Definition: xs_He3bar.cxx:147
static void Set_SELF_D_parameters_diMauro(double *D)
Function to set the parameter values of the di Mauro parametrization yourself.
Definition: xs.cxx:93
static void Set_SELF_D_parameters_Winkler(double *D)
Function to set the parameter values of the Winkler parametrization yourself.
Definition: xs.cxx:98
static double inv_AA_He4bar_CM(double s, double xF_Hebar, double pT_Hebar, int A_projectile, int N_projectile, int A_target, int N_target, int parametrization, int coalescence, double p0_val=0.160)
Invariant antihelion production cross section for general projectile and target nucleus for different...
Definition: xs_He4bar.cxx:24
static double inv_AA_He3bar_CM(double s, double xF_Hebar, double pT_Hebar, int A_projectile, int N_projectile, int A_target, int N_target, int parametrization, int coalescence, double p0_val=0.160)
Invariant antihelion production cross section for general projectile and target nucleus for different...
Definition: xs_He3bar.cxx:24
static double dE_AA_p_LAB(double Tn_proj_LAB, double T_p_LAB, int A_projectile=1, int N_projectile=0, int A_target=1, int N_target=0, int parametrization=ANDERSON)
Energy-differential proton production cross section for general projectile and target nucleus for dif...
Definition: xs_p.cxx:50
static void Set_SELF_C_parameters_diMauro(double *C)
Function to set the parameter values of the di Mauro parametrization yourself.
Definition: xs.cxx:51
static double dEn_He4barA_He4bar_LAB(double Tn_Hebar_proj_LAB, double Tn_Hebar_prod_LAB, int A_target=1, int N_target=0, int parametrization=ANDERSON)
Energy-differential antihelion cross section for non-annihilating antihelion reactions on p...
Definition: xs_He4bar.cxx:200
static bool convert_LAB_to_CM(const double T_p_LAB, const double T_prod_LAB, const double eta_LAB, double &s, double &E_prod, double &pT_prod, double &x_F, int product=P_BAR)
Convert LAB frame kinetic variable to the CM frame. (The LAB frame is the ISM rest frame...
Definition: xs.cxx:12
static double inv_AA_p_CM(double s, double xF, double pT_p, int A_projectile, int N_projectile, int A_target, int N_target, int parametrization)
Invariant proton production cross section for general projectile and target nucleus for different XS ...
Definition: xs_p.cxx:12
static double integrand__dE_AA_He4bar_LAB(double eta_LAB, void *parameters)
Helper function for inv_AA_Hebar_LAB.
Definition: xs_He4bar.cxx:137
static double integrand__dE_AA_He3bar_LAB(double eta_LAB, void *parameters)
Helper function for inv_AA_Hebar_LAB.
Definition: xs_He3bar.cxx:120
static double p_coal__pTdep(double pToverA, double p0_val=0.160)
Function for getting the coalescence momentum using a rescaling with PT.
Definition: xs_Dbar.cxx:24
static double inv_AA_Dbar_LAB(double Tn_proj_LAB, double Tn_Dbar_LAB, double eta_LAB, int A_projectile, int N_projectile, int A_target, int N_target, int parametrization, int coalescence, double p0_val=0.160)
Invariant antideuteron production cross section for general projectile and target nucleus for differe...
Definition: xs_Dbar.cxx:115
static double inv_AA_pbar_LAB(double Tn_proj_LAB, double T_pbar_LAB, double eta_LAB, int A_projectile, int N_projectile, int A_target, int N_target, int parametrization)
Invariant antiproton production cross section for general projectile and target nucleus for different...
Definition: xs_pbar.cxx:68
static double p_coal__VonDoetinchen(double s)
Invariant antideuteron production cross section for general projectile and target nucleus for differe...
Definition: xs_Dbar.cxx:12
static double dEn_DbarA_Dbar_LAB(double Tn_Dbar_proj_LAB, double Tn_Dbar_prod_LAB, int A_target=1, int N_target=0, int parametrization=ANDERSON)
Energy-differential antideuteron cross section for non-annihilating antideuteron reactions on p...
Definition: xs_Dbar.cxx:187
static double inv_AA_He4bar_LAB(double Tn_proj_LAB, double Tn_Hebar_LAB, double eta_LAB, int A_projectile, int N_projectile, int A_target, int N_target, int parametrization, int coalescence, double p0_val=0.160)
Invariant antihelion production cross section for general projectile and target nucleus for different...
Definition: xs_He4bar.cxx:129
static double integrand__dE_AA_p_LAB(double eta_LAB, void *parameters)
Helper function for dE_AA_p_LAB.
Definition: xs_p.cxx:33
static double dEn_AA_Dbar_LAB(double Tn_proj_LAB, double Tn_Dbar_LAB, int A_projectile=1, int N_projectile=0, int A_target=1, int N_target=0, int parametrization=KORSMEIER_II, int coalescence=ENERGY_DEP__VAN_DOETINCHEM, double p0_val=0.160)
Energy-differential antideuteron production cross section for general projectile and target nucleus f...
Definition: xs_Dbar.cxx:152
static void Set_SELF_C_parameters_Winkler(double *C)
Function to set the parameter values of the Winkler parametrization yourself.
Definition: xs.cxx:74