32 double spin_factor = (c.
spin() + 1) * (d.
spin() + 1);
33 spin_factor /= (a.
spin() + 1) * (b.
spin() + 1);
34 double symmetry_factor = (1 + (a == b));
35 symmetry_factor /= (1 + (c == d));
38 return spin_factor * symmetry_factor * momentum_factor;
54 double spin_factor = (c.
spin() + 1) * (d.
spin() + 1);
55 spin_factor /= (a.
spin() + 1) * (b.
spin() + 1);
56 double symmetry_factor = (1 + (a == b));
57 symmetry_factor /= (1 + (c == d));
58 const double momentum_factor =
61 return spin_factor * symmetry_factor * momentum_factor;
77 double spin_factor = (c.
spin() + 1) * (d.
spin() + 1);
78 spin_factor /= (a.
spin() + 1) * (b.
spin() + 1);
79 double symmetry_factor = (1 + (a == b));
80 symmetry_factor /= (1 + (c == d));
81 const double momentum_factor =
84 return spin_factor * symmetry_factor * momentum_factor;
92 CollisionBranchList in_list,
double weight = 1.) {
93 main_list.reserve(main_list.size() + in_list.size());
94 for (
auto& proc : in_list) {
95 proc->set_weight(proc->weight() * weight);
96 main_list.emplace_back(std::move(proc));
102 const std::pair<FourVector, FourVector> potentials)
103 : incoming_particles_(incoming_particles),
105 potentials_(potentials),
106 is_BBbar_pair_(incoming_particles_[0].type().is_baryon() &&
107 incoming_particles_[1].type().is_baryon() &&
108 incoming_particles_[0].type().antiparticle_sign() ==
109 -incoming_particles_[1].type().antiparticle_sign()),
111 incoming_particles_[0].type().is_nucleon() &&
112 incoming_particles_[1].pdgcode() ==
113 incoming_particles_[0].type().get_antiparticle()->pdgcode()) {}
116 double elastic_parameter,
bool two_to_one_switch,
118 double low_snn_cut,
bool strings_switch,
bool use_AQM,
121 double additional_el_xs)
const {
122 CollisionBranchList process_list;
126 double p_pythia = 0.;
127 if (strings_with_probability) {
135 const bool reject_by_nucleon_elastic_cutoff =
139 if (incl_elastic && !reject_by_nucleon_elastic_cutoff) {
140 process_list.emplace_back(
141 elastic(elastic_parameter, use_AQM, additional_el_xs, scale_xs));
147 const double sig_current =
sum_xs_of(process_list);
148 const double sig_string =
149 std::max(0., scale_xs *
high_energy() - sig_current);
156 if (two_to_one_switch) {
158 const bool prevent_dprime_form =
161 (1. - p_pythia) * scale_xs);
163 if (included_2to2.any()) {
166 (1. - p_pythia) * scale_xs);
185 process_list.emplace_back(
196 double scale_xs)
const {
197 double elastic_xs = 0.;
198 if (elast_par >= 0.) {
200 elastic_xs = elast_par;
208 return make_unique<CollisionBranch>(
214 CollisionBranchList process_list;
217 const auto& pdg_a = data_a.
pdgcode();
218 const auto& pdg_b = data_b.
pdgcode();
219 if ((pdg_a.is_nucleon() && pdg_b.is_pion()) ||
220 (pdg_b.is_nucleon() && pdg_a.is_pion())) {
229 double elastic_xs = 0.0;
237 elastic_xs =
nk_el();
241 elastic_xs =
nn_el();
249 const bool is_deuteron =
251 if (is_deuteron && pdg_other.
is_pion()) {
254 }
else if (is_deuteron && pdg_other.
is_nucleon()) {
258 }
else if (use_AQM) {
263 elastic_xs =
nn_el();
308 std::stringstream ss;
311 ss <<
"problem in CrossSections::elastic: a=" << name_a <<
" b=" << name_b
312 <<
" j_a=" << pdg_a.
spin() <<
" j_b=" << pdg_b.
spin()
313 <<
" sigma=" << sig_el <<
" s=" << s;
314 throw std::runtime_error(ss.str());
324 assert(pion != nucleon);
329 switch (nucleon.
code()) {
331 switch (pion.
code()) {
344 switch (pion.
code()) {
357 switch (pion.
code()) {
370 switch (pion.
code()) {
383 throw std::runtime_error(
384 "only the elastic cross section for proton-pion "
391 std::stringstream ss;
394 ss <<
"problem in CrossSections::elastic: a=" << name_a <<
" b=" << name_b
395 <<
" j_a=" << pdg_a.
spin() <<
" j_b=" << pdg_b.
spin()
396 <<
" sigma=" << sig_el <<
" s=" << s;
397 throw std::runtime_error(ss.str());
407 const auto pdg_nucleon = type_nucleon.
pdgcode().
code();
416 CollisionBranchList process_list;
417 switch (pdg_nucleon) {
425 type_K_p, type_Sigma_p);
436 type_K_p, type_Sigma_m);
438 sqrt_s_, type_K_z, type_Sigma_z);
440 sqrt_s_, type_K_z, type_Lambda);
455 sqrt_s_, type_K_p, type_Sigma_z);
457 sqrt_s_, type_K_z, type_Sigma_p);
460 type_K_p, type_Lambda);
476 type_K_z, type_Sigma_p);
478 sqrt_s_, type_K_p, type_Sigma_z);
480 sqrt_s_, type_K_p, type_Lambda);
488 type_K_z, type_Sigma_m);
503 sqrt_s_, type_K_z, type_Sigma_z);
505 sqrt_s_, type_K_p, type_Sigma_m);
508 type_K_z, type_Lambda);
524 type_K_m, type_Sigma_m_bar);
526 sqrt_s_, type_Kbar_z, type_Sigma_z_bar);
528 sqrt_s_, type_Kbar_z, type_Lambda_bar);
536 type_K_m, type_Sigma_p_bar);
551 sqrt_s_, type_K_m, type_Sigma_z_bar);
553 sqrt_s_, type_Kbar_z, type_Sigma_p_bar);
556 type_K_m, type_Lambda_bar);
569 type_Kbar_z, type_Sigma_m_bar);
580 type_Kbar_z, type_Sigma_p_bar);
582 sqrt_s_, type_K_m, type_Sigma_z_bar);
584 sqrt_s_, type_K_m, type_Lambda_bar);
599 sqrt_s_, type_Kbar_z, type_Sigma_z_bar);
601 sqrt_s_, type_K_m, type_Sigma_m_bar);
604 type_Kbar_z, type_Lambda_bar);
621 assert(kaon != nucleon);
626 switch (nucleon.
code()) {
628 switch (kaon.
code()) {
644 switch (kaon.
code()) {
660 switch (kaon.
code()) {
676 switch (kaon.
code()) {
692 throw std::runtime_error(
693 "elastic cross section for antinucleon-kaon "
700 std::stringstream ss;
703 ss <<
"problem in CrossSections::elastic: a=" << name_a <<
" b=" << name_b
704 <<
" j_a=" << pdg_a.
spin() <<
" j_b=" << pdg_b.
spin()
705 <<
" sigma=" << sig_el <<
" s=" << s;
706 throw std::runtime_error(ss.str());
711 const bool prevent_dprime_form)
const {
712 CollisionBranchList resonance_process_list;
723 if (type_resonance.is_stable()) {
728 if (prevent_dprime_form && type_resonance.is_dprime()) {
734 type_resonance.pdgcode() == type_particle_a.
pdgcode()) ||
736 type_resonance.pdgcode() == type_particle_b.
pdgcode())) {
740 double resonance_xsection =
formation(type_resonance, p_cm_sqr);
744 resonance_process_list.push_back(make_unique<CollisionBranch>(
748 "->", type_resonance.name(),
749 " at sqrt(s)[GeV] = ",
sqrt_s_,
750 " with xs[mb] = ", resonance_xsection);
753 return resonance_process_list;
757 double cm_momentum_sqr)
const {
761 if (type_resonance.
charge() !=
775 if (partial_width <= 0.) {
780 const double spinfactor =
781 static_cast<double>(type_resonance.
spin() + 1) /
782 ((type_particle_a.
spin() + 1) * (type_particle_b.
spin() + 1));
783 const int sym_factor =
788 return spinfactor * sym_factor * 2. * M_PI * M_PI / cm_momentum_sqr *
795 CollisionBranchList process_list;
800 const auto& pdg_a = data_a.
pdgcode();
801 const auto& pdg_b = data_b.
pdgcode();
803 if (pdg_a.is_nucleon() && pdg_b.is_nucleon() &&
804 pdg_a.antiparticle_sign() == pdg_b.antiparticle_sign()) {
806 process_list =
nn_xx(included_2to2);
814 if ((pdg_a.is_nucleon() && pdg_b.is_kaon()) ||
815 (pdg_b.is_nucleon() && pdg_a.is_kaon())) {
817 process_list =
nk_xx(included_2to2);
818 }
else if ((pdg_a.is_hyperon() && pdg_b.is_pion()) ||
819 (pdg_b.is_hyperon() && pdg_a.is_pion())) {
821 process_list =
ypi_xx(included_2to2);
822 }
else if ((pdg_a.is_Delta() && pdg_b.is_kaon()) ||
823 (pdg_b.is_Delta() && pdg_a.is_kaon())) {
831 process_list =
dn_xx(included_2to2);
837 process_list =
dpi_xx(included_2to2);
844 CollisionBranchList process_list;
858 process_list.push_back(make_unique<CollisionBranch>(
866 process_list.push_back(make_unique<CollisionBranch>(
867 type_pi, type_anti_p, type_anti_n,
882 process_list.push_back(make_unique<CollisionBranch>(
890 process_list.push_back(make_unique<CollisionBranch>(
891 type_N, type_anti_p, type_anti_n,
901 double xsection = 0.0;
907 if (is_dpi || is_dn) {
914 throw std::invalid_argument(
915 "d' (pdg: 1000010021) resonance not found in particles.txt.\nThe "
916 "resonance is required for the cross section calculation of 2->3 "
917 "scatterings involing deuterons.");
925 type_dprime, type_pi);
931 type_dprime, type_nucleus, type_N);
939 CollisionBranchList process_list;
945 if (!same_sign && !any_nucleus) {
965 CollisionBranchList process_list, channel_list;
971 bool both_antinucleons =
974 const ParticleTypePtrList& nuc_or_anti_nuc =
977 const ParticleTypePtrList& delta_or_anti_delta =
987 process_list.reserve(process_list.size() + channel_list.size());
988 std::move(channel_list.begin(), channel_list.end(),
989 std::inserter(process_list, process_list.end()));
990 channel_list.clear();
1002 process_list.reserve(process_list.size() + channel_list.size());
1003 std::move(channel_list.begin(), channel_list.end(),
1004 std::inserter(process_list, process_list.end()));
1005 channel_list.clear();
1017 if (deutron && antideutron && pim && pi0 && pip &&
1019 const ParticleTypePtrList deutron_list = {deutron};
1020 const ParticleTypePtrList antideutron_list = {antideutron};
1021 const ParticleTypePtrList pion_list = {pim, pi0, pip};
1023 (both_antinucleons ? antideutron_list : deutron_list), pion_list,
1026 return pCM(sqrts, type_res_1.
mass(), type_res_2.
mass());
1028 process_list.reserve(process_list.size() + channel_list.size());
1029 std::move(channel_list.begin(), channel_list.end(),
1030 std::inserter(process_list, process_list.end()));
1031 channel_list.clear();
1034 return process_list;
1043 const auto pdg_nucleon = type_nucleon.
pdgcode().
code();
1061 bool incl_KN_to_KDelta =
1063 sqrt_s_ < KN_to_KDelta_cutoff;
1064 bool incl_Strangeness_exchange =
1067 CollisionBranchList process_list;
1072 switch (pdg_nucleon) {
1074 if (incl_Strangeness_exchange) {
1084 sqrt_s_, type_pi_m, type_Sigma_p);
1087 sqrt_s_, type_pi_p, type_Sigma_m);
1090 type_pi_z, type_Sigma_z);
1093 type_pi_z, type_Lambda);
1095 if (incl_KN_to_KN) {
1099 sqrt_s_, type_Kbar_z, type_n);
1104 if (incl_Strangeness_exchange) {
1112 type_pi_m, type_Sigma_z);
1115 type_pi_z, type_Sigma_m);
1118 type_pi_m, type_Lambda);
1123 if (incl_KN_to_KDelta) {
1131 type_nucleon, type_kaon,
1135 sqrt_s_, type_Kbar_z, type_Delta_pp_bar);
1139 type_nucleon, type_kaon,
1140 type_K_m, type_Delta_p_bar);
1142 sqrt_s_, type_K_m, type_Delta_p_bar);
1147 if (incl_KN_to_KDelta) {
1155 type_nucleon, type_kaon,
1159 sqrt_s_, type_Kbar_z, type_Delta_p_bar);
1163 type_nucleon, type_kaon,
1164 type_K_m, type_Delta_z_bar);
1166 sqrt_s_, type_K_m, type_Delta_z_bar);
1168 if (incl_KN_to_KN) {
1172 type_Kbar_z, type_p_bar);
1182 switch (pdg_nucleon) {
1184 if (incl_KN_to_KDelta) {
1192 type_nucleon, type_kaon,
1193 type_K_z, type_Delta_pp);
1195 sqrt_s_, type_K_z, type_Delta_pp);
1199 type_nucleon, type_kaon,
1200 type_K_p, type_Delta_p);
1202 sqrt_s_, type_K_p, type_Delta_p);
1207 if (incl_KN_to_KDelta) {
1215 type_nucleon, type_kaon,
1216 type_K_z, type_Delta_p);
1218 sqrt_s_, type_K_z, type_Delta_p);
1222 type_nucleon, type_kaon,
1223 type_K_p, type_Delta_z);
1225 sqrt_s_, type_K_p, type_Delta_z);
1227 if (incl_KN_to_KN) {
1236 if (incl_Strangeness_exchange) {
1246 sqrt_s_, type_pi_p, type_Sigma_p_bar);
1249 sqrt_s_, type_pi_m, type_Sigma_m_bar);
1252 type_pi_z, type_Sigma_z_bar);
1255 type_pi_z, type_Lambda_bar);
1257 if (incl_KN_to_KN) {
1261 sqrt_s_, type_K_z, type_n_bar);
1266 if (incl_Strangeness_exchange) {
1274 type_pi_p, type_Sigma_z_bar);
1277 type_pi_z, type_Sigma_m_bar);
1280 type_pi_p, type_Lambda_bar);
1293 switch (pdg_nucleon) {
1295 if (incl_KN_to_KDelta) {
1303 type_nucleon, type_kaon,
1304 type_K_z, type_Delta_p);
1306 sqrt_s_, type_K_z, type_Delta_p);
1310 type_nucleon, type_kaon,
1311 type_K_p, type_Delta_z);
1313 sqrt_s_, type_K_p, type_Delta_z);
1315 if (incl_KN_to_KN) {
1329 if (incl_KN_to_KDelta) {
1337 type_nucleon, type_kaon,
1338 type_K_z, type_Delta_z);
1340 sqrt_s_, type_K_z, type_Delta_z);
1344 type_nucleon, type_kaon,
1345 type_K_p, type_Delta_m);
1347 sqrt_s_, type_K_p, type_Delta_m);
1352 if (incl_Strangeness_exchange) {
1360 type_pi_m, type_Sigma_z_bar);
1363 type_pi_z, type_Sigma_p_bar);
1366 type_pi_m, type_Lambda_bar);
1371 if (incl_Strangeness_exchange) {
1381 sqrt_s_, type_pi_m, type_Sigma_m_bar);
1384 sqrt_s_, type_pi_p, type_Sigma_p_bar);
1387 type_pi_z, type_Sigma_z_bar);
1390 type_pi_z, type_Lambda_bar);
1392 if (incl_KN_to_KN) {
1396 sqrt_s_, type_K_p, type_p_bar);
1404 switch (pdg_nucleon) {
1406 if (incl_Strangeness_exchange) {
1414 type_pi_z, type_Sigma_p);
1417 type_pi_p, type_Sigma_z);
1420 type_pi_p, type_Lambda);
1425 if (incl_Strangeness_exchange) {
1435 sqrt_s_, type_pi_p, type_Sigma_m);
1438 sqrt_s_, type_pi_m, type_Sigma_p);
1441 type_pi_z, type_Sigma_z);
1444 type_pi_z, type_Lambda);
1446 if (incl_KN_to_KN) {
1455 if (incl_KN_to_KDelta) {
1457 const auto& type_Kbar_z = type_kaon;
1463 type_nucleon, type_kaon,
1467 sqrt_s_, type_Kbar_z, type_Delta_bar_m);
1471 type_nucleon, type_kaon,
1472 type_K_m, type_Delta_bar_z);
1474 sqrt_s_, type_K_m, type_Delta_bar_z);
1476 if (incl_KN_to_KN) {
1485 sqrt_s_, type_K_m, type_n_bar);
1490 if (incl_KN_to_KDelta) {
1498 type_nucleon, type_kaon,
1502 sqrt_s_, type_Kbar_z, type_Delta_z_bar);
1506 type_nucleon, type_kaon,
1507 type_K_m, type_Delta_m_bar);
1509 sqrt_s_, type_K_m, type_Delta_m_bar);
1517 return process_list;
1522 CollisionBranchList process_list;
1524 return process_list;
1531 const auto pdg_delta = type_delta.
pdgcode().
code();
1539 switch (
pack(pdg_delta, pdg_kaon)) {
1550 type_p, type_K_p, type_kaon, type_delta) *
1563 type_kaon, type_p_bar,
1566 type_p_bar, type_K_m, type_kaon, type_delta) *
1569 sqrt_s_, type_p_bar, type_K_m);
1584 type_n, type_K_p, type_kaon, type_delta) *
1595 type_p, type_K_z, type_kaon, type_delta) *
1610 type_kaon, type_n_bar,
1613 type_n_bar, type_K_m, type_kaon, type_delta) *
1616 sqrt_s_, type_n_bar, type_K_m);
1621 type_kaon, type_p_bar,
1624 type_p_bar, type_Kbar_z, type_kaon, type_delta) *
1627 sqrt_s_, type_p_bar, type_Kbar_z);
1640 type_n, type_K_z, type_kaon, type_delta) *
1653 type_kaon, type_n_bar,
1656 type_n_bar, type_Kbar_z, type_kaon, type_delta) *
1659 sqrt_s_, type_n_bar, type_Kbar_z);
1666 return process_list;
1670 CollisionBranchList process_list;
1672 return process_list;
1679 const auto pdg_hyperon = type_hyperon.
pdgcode().
code();
1684 switch (
pack(pdg_hyperon, pdg_pion)) {
1691 s, type_hyperon, type_pion, type_n, type_K_m) *
1707 sqrt_s_, type_p, type_Kbar_z);
1716 type_pion, type_n_bar,
1720 sqrt_s_, type_n_bar, type_K_p);
1729 type_pion, type_p_bar,
1733 sqrt_s_, type_p_bar, type_K_z);
1742 s, type_hyperon, type_pion, type_n, type_K_m) *
1758 sqrt_s_, type_p, type_Kbar_z);
1767 type_pion, type_n_bar,
1771 sqrt_s_, type_n_bar, type_K_p);
1780 type_pion, type_p_bar,
1784 sqrt_s_, type_p_bar, type_K_z);
1793 s, type_hyperon, type_pion, type_n, type_K_m) *
1809 sqrt_s_, type_p, type_Kbar_z);
1818 type_pion, type_n_bar,
1822 sqrt_s_, type_n_bar, type_K_p);
1831 type_pion, type_p_bar,
1835 sqrt_s_, type_p_bar, type_K_z);
1846 s, type_hyperon, type_pion, type_p, type_K_m) *
1857 sqrt_s_, type_n, type_Kbar_z);
1868 type_pion, type_p_bar,
1872 sqrt_s_, type_p_bar, type_K_p);
1876 type_pion, type_n_bar,
1880 sqrt_s_, type_n_bar, type_K_z);
1891 s, type_hyperon, type_pion, type_p, type_K_m) *
1902 sqrt_s_, type_n, type_Kbar_z);
1913 type_pion, type_p_bar,
1917 sqrt_s_, type_p_bar, type_K_p);
1921 type_pion, type_n_bar,
1925 sqrt_s_, type_n_bar, type_K_z);
1936 s, type_hyperon, type_pion, type_p, type_K_m) *
1947 sqrt_s_, type_n, type_Kbar_z);
1958 type_pion, type_p_bar,
1962 sqrt_s_, type_p_bar, type_K_p);
1966 type_pion, type_n_bar,
1970 sqrt_s_, type_n_bar, type_K_z);
1981 s, type_hyperon, type_pion, type_p, type_K_m) *
1992 sqrt_s_, type_n, type_Kbar_z);
2003 type_pion, type_p_bar,
2007 sqrt_s_, type_p_bar, type_K_p);
2011 type_pion, type_n_bar,
2015 sqrt_s_, type_n_bar, type_K_z);
2022 return process_list;
2028 const double s = sqrts * sqrts;
2033 const double matrix_element =
2034 295.5 + 2.862 / (0.00283735 +
pow_int(sqrts - 2.181, 2)) +
2035 0.0672 /
pow_int(tmp, 2) - 6.61753 / tmp;
2037 const double spin_factor =
2038 (produced_nucleus->
spin() + 1) * (type_pi.
spin() + 1);
2043 double xsection = matrix_element * spin_factor / (s * cm_mom);
2047 const double resonance_integral =
2049 xsection *= resonance_integral;
2051 ", matrix element: ", matrix_element,
2052 ", cm_momentum: ", cm_mom);
2058 CollisionBranchList process_list;
2068 ParticleTypePtrList nuc = (baryon_number > 0)
2075 nuc_a->charge() + nuc_b->charge()) {
2079 for (
const int twoI :
I_tot_range(*nuc_a, *nuc_b)) {
2081 type_a, type_b, *nuc_a, *nuc_b, twoI);
2088 const double matrix_element =
2090 if (matrix_element <= 0.) {
2094 const double spin_factor = (nuc_a->spin() + 1) * (nuc_b->spin() + 1);
2095 const int sym_fac_in =
2097 const int sym_fac_out =
2098 (nuc_a->iso_multiplet() == nuc_b->iso_multiplet()) ? 2 : 1;
2099 double p_cm_final =
pCM_from_s(s, nuc_a->mass(), nuc_b->mass());
2100 const double xsection = isospin_factor * spin_factor * sym_fac_in /
2101 sym_fac_out * p_cm_final * matrix_element /
2105 process_list.push_back(make_unique<CollisionBranch>(
2108 nuc_a->name(), nuc_b->name(),
2109 " at sqrts [GeV] = ", sqrts,
2110 " with cs[mb] = ", xsection);
2122 if (is_pid_or_pidprime &&
2129 if (produced_nucleus == &type_nucleus ||
2131 produced_nucleus->baryon_number() != type_nucleus.
baryon_number()) {
2134 const double xsection =
2136 process_list.push_back(make_unique<CollisionBranch>(
2139 type_pi.
name(), produced_nucleus->name(),
2140 " at ", sqrts,
" GeV, xs[mb] = ", xsection);
2143 return process_list;
2150 const double s = sqrts * sqrts;
2151 double matrix_element = 0.0;
2159 matrix_element = 79.0474 / std::pow(tmp, 0.7897) + 654.596 * tmp;
2164 matrix_element = 342.572 / std::pow(tmp, 0.6);
2166 const double spin_factor =
2167 (produced_nucleus->
spin() + 1) * (type_N.
spin() + 1);
2171 double xsection = matrix_element * spin_factor / (s * cm_mom);
2177 const double resonance_integral =
2179 xsection *= resonance_integral;
2189 CollisionBranchList process_list;
2191 return process_list;
2197 if (produced_nucleus == &type_nucleus ||
2199 produced_nucleus->baryon_number() != type_nucleus.
baryon_number()) {
2204 process_list.push_back(make_unique<CollisionBranch>(
2207 type_N.
name(), produced_nucleus->name(),
" at ",
2208 sqrt_s_,
" GeV, xs[mb] = ", xsection);
2210 return process_list;
2214 double total_string_xs,
StringProcess* string_process,
bool use_AQM)
const {
2215 if (!string_process) {
2216 throw std::runtime_error(
"string_process should be initialized.");
2219 CollisionBranchList channel_list;
2220 if (total_string_xs <= 0.) {
2221 return channel_list;
2230 std::array<int, 2> pdgid;
2231 double AQM_factor = 1.;
2232 for (
int i = 0; i < 2; i++) {
2240 bool can_annihilate =
false;
2243 for (
int iq = 1; iq <= n_q_types; iq++) {
2244 std::array<int, 2> nquark;
2245 for (
int i = 0; i < 2; i++) {
2249 if (nquark[0] != 0 && nquark[1] != 0) {
2250 can_annihilate =
true;
2266 std::array<double, 3> xs =
2269 for (
int ip = 0; ip < 3; ip++) {
2270 xs[ip] *= AQM_factor;
2273 double single_diffr_AX = xs[0], single_diffr_XB = xs[1], double_diffr = xs[2];
2274 double single_diffr = single_diffr_AX + single_diffr_XB;
2275 double diffractive = single_diffr + double_diffr;
2281 double sig_annihilation = 0.0;
2282 if (can_annihilate) {
2288 xs_param *= AQM_factor;
2290 sig_annihilation = std::min(total_string_xs, xs_param);
2293 const double nondiffractive_all =
2294 std::max(0., total_string_xs - sig_annihilation - diffractive);
2295 diffractive = total_string_xs - sig_annihilation - nondiffractive_all;
2296 double_diffr = std::max(0., diffractive - single_diffr);
2297 const double a = (diffractive - double_diffr) / single_diffr;
2298 single_diffr_AX *= a;
2299 single_diffr_XB *= a;
2300 assert(std::abs(single_diffr_AX + single_diffr_XB + double_diffr +
2301 sig_annihilation + nondiffractive_all - total_string_xs) <
2304 double nondiffractive_soft = 0.;
2305 double nondiffractive_hard = 0.;
2306 if (nondiffractive_all > 0.) {
2311 nondiffractive_soft =
2312 nondiffractive_all * std::exp(-hard_xsec / nondiffractive_all);
2313 nondiffractive_hard = nondiffractive_all - nondiffractive_soft;
2324 const double sig_string_soft = total_string_xs - nondiffractive_hard;
2327 if (sig_string_soft > 0.) {
2328 channel_list.push_back(make_unique<CollisionBranch>(
2330 channel_list.push_back(make_unique<CollisionBranch>(
2332 channel_list.push_back(make_unique<CollisionBranch>(
2334 channel_list.push_back(make_unique<CollisionBranch>(
2336 if (can_annihilate) {
2337 channel_list.push_back(make_unique<CollisionBranch>(
2341 if (nondiffractive_hard > 0.) {
2342 channel_list.push_back(make_unique<CollisionBranch>(
2345 return channel_list;
2357 if (pdg_a == pdg_b) {
2377 xs = xs_l * (1. - prob_high) + xs_h * prob_high;
2412 double cross_sec = 0.;
2447 return make_unique<CollisionBranch>(type_pip, type_pim, type_pip, type_pim,
2448 type_piz, nnbar_xsec * scale_xs,
2453 const double current_xs,
const double scale_xs)
const {
2457 double nnbar_xsec = std::max(0.,
ppbar_total(s) * scale_xs - current_xs);
2466 CollisionBranchList channel_list;
2480 if (
sqrt_s_ - 2 * type_N.mass() < 0) {
2481 return channel_list;
2485 type_N, type_Nbar) *
2488 channel_list.push_back(make_unique<CollisionBranch>(
2490 channel_list.push_back(make_unique<CollisionBranch>(
2494 return channel_list;
2498 const bool is_anti_particles)
const {
2501 CollisionBranchList process_list;
2507 ParticleTypePtrList nuc_or_anti_nuc;
2508 if (is_anti_particles) {
2519 nuc_a->charge() + nuc_b->charge()) {
2523 for (
const int twoI :
I_tot_range(*nuc_a, *nuc_b)) {
2525 type_a, type_b, *nuc_a, *nuc_b, twoI);
2532 const double matrix_element =
2534 if (matrix_element <= 0.) {
2542 const double spin_factor = (nuc_a->spin() + 1) * (nuc_b->spin() + 1);
2543 const int sym_fac_in =
2545 const int sym_fac_out =
2546 (nuc_a->iso_multiplet() == nuc_b->iso_multiplet()) ? 2 : 1;
2547 const double xsection = isospin_factor * spin_factor * sym_fac_in /
2548 sym_fac_out * p_cm_final * matrix_element /
2552 process_list.push_back(make_unique<CollisionBranch>(
2555 "2->2 absorption with original particles: ", type_a, type_b);
2560 return process_list;
2567 const double m_a = type_a.
mass();
2568 const double m_b = type_b.
mass();
2569 const double msqr = 2. * (m_a * m_a + m_b * m_b);
2579 const double uplmt = m_a + m_b + 3.0 * (w_a + w_b) + 3.0;
2580 if (sqrts > uplmt) {
2587 return 68. / std::pow(sqrts - 1.104, 1.951);
2596 }
else if (twoI == 0) {
2597 const double parametrization = 14. / msqr;
2604 return 6.5 * parametrization;
2606 return parametrization;
2619 }
else if (twoI == 0) {
2633 }
else if (twoI == 0) {
2643 (1.0 - std::exp(-(sqrts - 2.0) * 20.0));
2650 template <
class IntegrationMethod>
2652 const ParticleTypePtrList& list_res_1,
2653 const ParticleTypePtrList& list_res_2,
2654 const IntegrationMethod integrator)
const {
2658 CollisionBranchList channel_list;
2666 if (type_res_1->charge() + type_res_2->charge() !=
2672 for (
const int twoI :
I_tot_range(type_particle_a, type_particle_b)) {
2674 type_particle_a, type_particle_b, *type_res_1, *type_res_2, twoI);
2681 const double lower_limit = type_res_1->min_mass_kinematic();
2682 const double upper_limit =
sqrt_s_ - type_res_2->mass();
2686 if (upper_limit - lower_limit < 1E-3) {
2692 sqrt_s_, *type_res_1, *type_res_2, twoI);
2693 if (matrix_element <= 0.) {
2700 const double resonance_integral = integrator(*type_res_1, *type_res_2);
2705 const double spin_factor =
2706 (type_res_1->spin() + 1) * (type_res_2->spin() + 1);
2707 const double xsection = isospin_factor * spin_factor * matrix_element *
2711 channel_list.push_back(make_unique<CollisionBranch>(
2714 "Found 2->2 creation process for resonance ", type_res_1,
", ",
2717 type_particle_a, type_particle_b);
2722 return channel_list;
2726 bool use_transition_probability,
2728 bool treat_BBbar_with_strings)
const {
2731 if (!strings_switch) {
2738 const bool is_NN_scattering =
2741 const bool is_BBbar_scattering =
2749 const bool is_AQM_scattering =
2755 const double mass_sum =
2758 if (!is_NN_scattering && !is_BBbar_scattering && !is_Npi_scattering &&
2759 !is_AQM_scattering) {
2763 }
else if (is_BBbar_scattering) {
2770 const bool is_KplusP =
2782 }
else if (pdg1.
is_pion() && pdg2.is_pion()) {
2787 if (!use_transition_probability) {
2788 return static_cast<double>(
sqrt_s_ > mass_sum + aqm_offset);
2792 double region_lower, region_upper;
2793 if (is_Npi_scattering) {
2796 }
else if (is_NN_scattering) {
2802 region_lower = mass_sum + aqm_offset;
2808 }
else if (
sqrt_s_ < region_lower) {
2818 const double region_lower,
const double region_upper)
const {
2827 double x = (
sqrt_s_ - 0.5 * (region_lower + region_upper)) /
2828 (region_upper - region_lower);
2829 assert(x >= -0.5 && x <= 0.5);
2830 double prob = 0.5 * (std::sin(M_PI * x) + 1.0);
2831 assert(prob >= 0. && prob <= 1.);
const double sqrt_s_
Total energy in the center-of-mass frame.
CollisionBranchList NNbar_creation() const
Determine the cross section for NNbar creation, which is given by detailed balance from the reverse r...
CollisionBranchList npi_yk() const
Find all processes for Nucleon-Pion to Hyperon-Kaon Scattering.
double string_probability(bool strings_switch, bool use_transition_probability, bool use_AQM, bool treat_nnbar_with_strings) const
CollisionBranchList find_nn_xsection_from_type(const ParticleTypePtrList &type_res_1, const ParticleTypePtrList &type_res_2, const IntegrationMethod integrator) const
Utility function to avoid code replication in nn_xx().
double high_energy() const
Determine the parametrized total cross section at high energies for the given collision,...
CollisionBranchPtr NNbar_to_5pi(const double scale_xs) const
Create collision branch for NNbar annihilation going directly into 5 pions.
CollisionBranchList nn_xx(ReactionsBitSet included_2to2) const
Find all inelastic 2->2 processes for Nucelon-Nucelon Scattering.
double cm_momentum() const
Determine the momenta of the incoming particles in the center-of-mass system.
CollisionBranchList bar_bar_to_nuc_nuc(const bool is_anti_particles) const
Calculate cross sections for resonance absorption (i.e.
CollisionBranchList bb_xx_except_nn(ReactionsBitSet included_2to2) const
Find all inelastic 2->2 processes for Baryon-Baryon (BB) Scattering except the more specific Nucleon-...
CollisionBranchList string_excitation(double total_string_xs, StringProcess *string_process, bool use_AQM) const
Determine the cross section for string excitations, which is given by the difference between the para...
CollisionBranchList dpi_xx(ReactionsBitSet included_2to2) const
Find all inelastic 2->2 processes involving Pion and (anti-) Deuteron (dpi), specifically dπ→ NN,...
double probability_transit_high(const double region_lower, const double region_upper) const
static double xs_dn_dprimen(const double sqrts, const double cm_mom, ParticleTypePtr produced_nucleus, const ParticleType &type_nucleus, const ParticleType &type_N)
Parametrized cross section for Nd → Nd', N̅d → N̅d', N̅d̅→ N̅d̅', Nd̅→ Nd̅' and reverse (e....
CollisionBranchList ypi_xx(ReactionsBitSet included_2to2) const
Find all inelastic 2->2 processes for Hyperon-Pion (Ypi) Scattering.
CollisionBranchList deltak_xx(ReactionsBitSet included_2to2) const
Find all inelastic 2->2 processes for Delta-Kaon (DeltaK) Scattering.
double formation(const ParticleType &type_resonance, double cm_momentum_sqr) const
Return the 2-to-1 resonance production cross section for a given resonance.
void add_channel(CollisionBranchList &process_list, F &&get_xsection, double sqrts, const ParticleType &type_a, const ParticleType &type_b) const
Helper function: Add a 2-to-2 channel to a collision branch list given a cross section.
double string_hard_cross_section() const
Determine the (parametrized) hard non-diffractive string cross section for this collision.
CollisionBranchPtr NNbar_annihilation(const double current_xs, const double scale_xs) const
Determine the cross section for NNbar annihilation, which is given by the difference between the para...
static double two_to_three_xs(const ParticleType &type_in1, const ParticleType &type_in2, double sqrts)
Determine 2->3 cross section for the scattering of the given particle types.
double nk_el() const
Determine the elastic cross section for a nucleon-kaon (NK) collision.
const ParticleList incoming_particles_
List with data of scattering particles.
double npi_el() const
Determine the elastic cross section for a nucleon-pion (Npi) collision.
double nn_el() const
Determine the (parametrized) elastic cross section for a nucleon-nucleon (NN) collision.
const bool is_BBbar_pair_
Whether incoming particles are a pair of a baryon and an antibaryon (could be different baryon types)
CollisionBranchList generate_collision_list(double elastic_parameter, bool two_to_one_switch, ReactionsBitSet included_2to2, MultiParticleReactionsBitSet included_multi, double low_snn_cut, bool strings_switch, bool use_AQM, bool strings_with_probability, NNbarTreatment nnbar_treatment, StringProcess *string_process, double scale_xs, double additional_el_xs) const
Generate a list of all possible collisions between the incoming particles with the given c....
CollisionBranchList two_to_two(ReactionsBitSet included_2to2) const
Find all inelastic 2->2 processes for the given scattering.
const bool is_NNbar_pair_
Whether incoming particles are a nulecon-antinucleon pair (same isospin)
static double nn_to_resonance_matrix_element(double sqrts, const ParticleType &type_a, const ParticleType &type_b, const int twoI)
Scattering matrix amplitude squared (divided by 16π) for resonance production processes like NN → NR ...
CollisionBranchList rare_two_to_two() const
Find all 2->2 processes which are suppressed at high energies when strings are turned on with probabi...
static double sum_xs_of(const CollisionBranchList &list)
Helper function: Sum all cross sections of the given process list.
CrossSections(const ParticleList &incoming_particles, const double sqrt_s, const std::pair< FourVector, FourVector > potentials)
Construct CrossSections instance.
CollisionBranchList two_to_three() const
Find all 2->3 processes for the given scattering.
CollisionBranchList two_to_one(const bool prevent_dprime_form) const
Find all resonances that can be produced in a 2->1 collision of the two input particles and the produ...
CollisionBranchPtr elastic(double elast_par, bool use_AQM, double add_el_xs, double scale_xs) const
Determine the elastic cross section for this collision.
CollisionBranchList nk_xx(ReactionsBitSet included_2to2) const
Find all inelastic 2->2 background processes for Nucleon-Kaon (NK) Scattering.
CollisionBranchList dn_xx(ReactionsBitSet included_2to2) const
Find all inelastic 2->2 processes involving Nucleon and (anti-) Deuteron (dN), specifically Nd → Nd',...
double elastic_parametrization(bool use_AQM) const
Choose the appropriate parametrizations for given incoming particles and return the (parametrized) el...
static double xs_dpi_dprimepi(const double sqrts, const double cm_mom, ParticleTypePtr produced_nucleus, const ParticleType &type_pi)
Parametrized cross section for πd→ πd' (mockup for πd→ πnp), πd̅→ πd̅' and reverse,...
Range of total isospin for reaction of particle a with particle b.
double get_integral_RR(IsoParticleType *type_res_2, double sqrts)
Look up the tabulated resonance integral for the XX -> RR cross section.
double get_integral_NR(double sqrts)
Look up the tabulated resonance integral for the XX -> NR cross section.
double get_integral_RK(double sqrts)
Look up the tabulated resonance integral for the XX -> RK cross section.
double get_integral_piR(double sqrts)
Look up the tabulated resonance integral for the XX -> piR cross section.
double get_ratio(const ParticleType &a, const ParticleType &b, const ParticleType &c, const ParticleType &d) const
Return the isospin ratio of the given K N -> K Delta cross section.
ParticleData contains the dynamic information of a certain particle.
PdgCode pdgcode() const
Get the pdgcode of the particle.
const ParticleType & type() const
Get the type of the particle.
A pointer-like interface to global references to ParticleType objects.
Particle type contains the static properties of a particle species.
double spectral_function(double m) const
Full spectral function of the resonance (relativistic Breit-Wigner distribution with mass-dependent ...
static const ParticleTypePtr try_find(PdgCode pdgcode)
Returns the ParticleTypePtr for the given pdgcode.
static const ParticleType & find(PdgCode pdgcode)
Returns the ParticleType object for the given pdgcode.
const std::string & name() const
int32_t charge() const
The charge of the particle.
int antiparticle_sign() const
static ParticleTypePtrList & list_nucleons()
static ParticleTypePtrList & list_anti_nucleons()
bool is_Nstar1535() const
static const ParticleTypeList & list_all()
double width_at_pole() const
static ParticleTypePtrList & list_anti_Deltas()
static ParticleTypePtrList & list_baryon_resonances()
static ParticleTypePtrList & list_Deltas()
double get_partial_in_width(const double m, const ParticleData &p_a, const ParticleData &p_b) const
Get the mass-dependent partial in-width of a resonance with mass m, decaying into two given daughter ...
unsigned int spin() const
int baryon_number() const
bool is_Deltastar() const
IsoParticleType * iso_multiplet() const
static ParticleTypePtrList & list_light_nuclei()
PdgCode stores a Particle Data Group Particle Numbering Scheme particle type number.
std::int32_t code() const
int antiparticle_sign() const
unsigned int spin() const
static PdgCode from_decimal(const int pdgcode_decimal)
Construct PDG code from decimal number.
bool is_antiparticle_of(const PdgCode rhs) const
int32_t get_decimal() const
double frac_strange() const
String excitation processes used in SMASH.
static int pdg_map_for_pythia(PdgCode &pdg)
Take pdg code and map onto particle specie which can be handled by PYTHIA.
std::array< double, 3 > cross_sections_diffractive(int pdg_a, int pdg_b, double sqrt_s)
Interface to pythia_sigmatot_ to compute cross-sections of A+B-> different final states Schuler:1993w...
Collection of useful constants that are known at compile time.
std::bitset< 10 > ReactionsBitSet
Container for the 2 to 2 reactions in the code.
NNbarTreatment
Treatment of N Nbar Annihilation.
@ TwoToFive
Directly create 5 pions, use with multi-particle reactions.
@ Resonances
Use intermediate Resonances.
@ Strings
Use string fragmentation.
std::bitset< 3 > MultiParticleReactionsBitSet
Container for the n to m reactions in the code.
std::array< einhard::Logger<>, std::tuple_size< LogArea::AreaTuple >::value > logg
An array that stores all pre-configured Logger objects.
constexpr int Delta_pp
Δ⁺⁺.
constexpr int h1
h₁(1170).
constexpr int decimal_antid
Anti-deuteron in decimal digits.
constexpr int decimal_d
Deuteron in decimal digits.
const double pipi_offset
Constant offset as to where to turn on the strings and elastic processes for pi pi reactions (this is...
const std::array< double, 2 > sqrts_range_NN
transition range in N-N collisions: Tuned to reproduce experimental exclusive cross section data,...
const double sqrts_range
constant for the range of transition region in the case of AQM this is added to the sum of masses + s...
const std::array< double, 2 > sqrts_range_Npi
transition range in N-pi collisions
const double sqrts_add_lower
constant for the lower end of transition region in the case of AQM this is added to the sum of masses
const double KN_offset
Constant offset as to where to shift from 2to2 to string processes (in GeV) in the case of KN reactio...
double kplusn_k0p(double mandelstam_s)
K+ n charge exchange cross section parametrization.
double kminusp_pi0lambda(double sqrts)
K- p <-> pi0 Lambda cross section parametrization Fit to Landolt-Börnstein instead of UrQMD values.
T pCM(const T sqrts, const T mass_a, const T mass_b) noexcept
double piminusp_sigma0k0_res(double mandelstam_s)
pi- p -> Sigma0 K0 cross section parametrization, resonance contribution.
T pCM_sqr(const T sqrts, const T mass_a, const T mass_b) noexcept
double ppbar_total(double mandelstam_s)
ppbar total cross section parametrization Source: Bass:1998ca
double piminusp_elastic(double mandelstam_s)
pi-p elastic cross section parametrization Source: GiBUU:parametrizationBarMes_HighEnergy....
double npbar_high_energy(double mandelstam_s)
npbar total cross section at high energies
static double detailed_balance_factor_RR(double sqrts, double pcm, const ParticleType &a, const ParticleType &b, const ParticleType &c, const ParticleType &d)
Helper function: Calculate the detailed balance factor R such that.
double kminusn_piminussigma0(double sqrts)
K- n <-> pi- Sigma0 cross section parametrization Follow from the parametrization with the same stran...
double kbar0p_elastic_background(double mandelstam_s)
Kbar0 p elastic background cross section parametrization Source: Buss:2011mx , B.3....
KaonNucleonRatios kaon_nucleon_ratios
double ppbar_elastic(double mandelstam_s)
ppbar elastic cross section parametrization Source: Bass:1998ca
double kminusp_elastic_background(double mandelstam_s)
K- p elastic background cross section parametrization Source: Buss:2011mx , B.3.9.
double np_high_energy(double mandelstam_s)
np total cross section at high energies
double pp_elastic_high_energy(double mandelstam_s, double m1, double m2)
pp elastic cross section parametrization, with only the high energy part generalized to all energy re...
double Npi_string_hard(double mandelstam_s)
nucleon-pion hard scattering cross section (with partonic scattering)
double kminusn_piminuslambda(double sqrts)
K- n <-> pi- Lambda cross section parametrization Follow from the parametrization with the same stran...
double isospin_clebsch_gordan_sqr_2to2(const ParticleType &p_a, const ParticleType &p_b, const ParticleType &p_c, const ParticleType &p_d, const int I=-1)
Calculate the squared isospin Clebsch-Gordan coefficient for a 2-to-2 reaction A + B -> C + D.
@ TwoToOne
resonance formation (2->1)
@ StringSoftDoubleDiffractive
double diffractive. Two strings are formed, one from A and one from B.
@ TwoToFive
2->5 scattering
@ StringSoftSingleDiffractiveXB
single diffractive AB->XB.
@ TwoToTwo
2->2 inelastic scattering
@ Elastic
elastic scattering: particles remain the same, only momenta change
@ StringSoftAnnihilation
a special case of baryon-antibaryon annihilation.
@ StringSoftNonDiffractive
non-diffractive. Two strings are formed both have ends in A and B.
@ StringSoftSingleDiffractiveAX
(41-45) soft string excitations.
@ StringHard
hard string process involving 2->2 QCD process by PYTHIA.
@ TwoToThree
2->3 scattering
constexpr double minimum_sqrts_pythia_can_handle
Energy in GeV, below which hard reactions via pythia are impossible.
double ppbar_high_energy(double mandelstam_s)
ppbar total cross section at high energies
double pp_high_energy(double mandelstam_s)
pp total cross section at high energies
T pCM_sqr_from_s(const T s, const T mass_a, const T mass_b) noexcept
double pipi_string_hard(double mandelstam_s)
pion-pion hard scattering cross section (with partonic scattering)
double piplusp_high_energy(double mandelstam_s)
pi+p total cross section at high energies
double kminusp_piminussigmaplus(double sqrts)
K- p <-> pi- Sigma+ cross section parametrization Taken from UrQMD (Graef:2014mra ).
double piplusp_elastic_high_energy(double mandelstam_s, double m1, double m2)
pi+p elactic cross section parametrization.
double piplusp_sigmapluskplus_pdg(double mandelstam_s)
pi+ p to Sigma+ K+ cross section parametrization, PDG data.
static constexpr int LCrossSections
constexpr double deuteron_mass
Deuteron mass in GeV.
double deuteron_nucleon_elastic(double mandelstam_s)
Deuteron nucleon elastic cross-section [mb] parametrized by Oh:2009gx .
constexpr double nucleon_mass
Nucleon mass in GeV.
constexpr T pow_int(const T base, unsigned const exponent)
Efficient template for calculating integer powers using squaring.
double piminusp_sigmaminuskplus_pdg(double mandelstam_s)
pi- p -> Sigma- K+ cross section parametrization, PDG data.
double piminusp_lambdak0_pdg(double mandelstam_s)
pi- p -> Lambda K0 cross section parametrization, PDG data.
static void append_list(CollisionBranchList &main_list, CollisionBranchList in_list, double weight=1.)
Helper function: Append a list of processes to another (main) list of processes.
static double detailed_balance_factor_stable(double s, const ParticleType &a, const ParticleType &b, const ParticleType &c, const ParticleType &d)
Helper function: Calculate the detailed balance factor R such that.
double k0p_elastic_background(double mandelstam_s)
K0 p elastic background cross section parametrization Source: Buss:2011mx , B.3.9.
constexpr uint64_t pack(int32_t x, int32_t y)
Pack two int32_t into an uint64_t.
double deuteron_pion_elastic(double mandelstam_s)
Deuteron pion elastic cross-section [mb] parametrized to fit pi-d elastic scattering data (the data c...
double NN_string_hard(double mandelstam_s)
nucleon-nucleon hard scattering cross section (with partonic scattering)
double xs_ppbar_annihilation(double mandelstam_s)
parametrized cross-section for proton-antiproton annihilation used in the UrQMD model
double kplusp_inelastic_background(double mandelstam_s)
K+ p inelastic background cross section parametrization Source: Buss:2011mx , B.3....
constexpr double pion_mass
Pion mass in GeV.
constexpr double hbarc
GeV <-> fm conversion factor.
double kminusp_pi0sigma0(double sqrts)
K- p <-> pi0 Sigma0 cross section parametrization Fit to Landolt-Börnstein instead of UrQMD values.
double kplusn_elastic_background(double mandelstam_s)
K+ n elastic background cross section parametrization sigma(K+n->K+n) = sigma(K+n->K0p) = 0....
T pCM_from_s(const T s, const T mass_a, const T mass_b) noexcept
constexpr double really_small
Numerical error tolerance.
double np_elastic(double mandelstam_s)
np elastic cross section parametrization Source: Weil:2013mya , eq.
static double detailed_balance_factor_RK(double sqrts, double pcm, const ParticleType &a, const ParticleType &b, const ParticleType &c, const ParticleType &d)
Helper function: Calculate the detailed balance factor R such that.
double k0n_elastic_background(double mandelstam_s)
K0 n elastic background cross section parametrization Source: Buss:2011mx , B.3.9.
static constexpr int LScatterAction
double kminusp_piplussigmaminus(double sqrts)
K- p <-> pi+ Sigma- cross section parametrization Taken from UrQMD (Graef:2014mra ).
double kbar0n_elastic_background(double mandelstam_s)
Kbar0 n elastic background cross section parametrization Source: Buss:2011mx , B.3....
double kminusp_kbar0n(double mandelstam_s)
K- p <-> Kbar0 n cross section parametrization.
double piminusp_high_energy(double mandelstam_s)
pi-p total cross section at high energies
double kminusn_elastic_background(double mandelstam_s)
K- n elastic background cross section parametrization Source: Buss:2011mx , B.3.9.
double pp_elastic(double mandelstam_s)
pp elastic cross section parametrization Source: Weil:2013mya , eq.
double kplusn_inelastic_background(double mandelstam_s)
K+ n inelastic background cross section parametrization Source: Buss:2011mx , B.3....
double kplusp_elastic_background(double mandelstam_s)
K+ p elastic background cross section parametrization.
double piplusp_elastic_AQM(double mandelstam_s, double m1, double m2)
An overload of piplusp_elastic_high_energy in which the very low part is replaced by a flat 5 mb cros...
double piplusp_elastic(double mandelstam_s)
pi+p elastic cross section parametrization, PDG data.
constexpr double fm2_mb
mb <-> fm^2 conversion factor.