Version: SMASH-3.1
scatteractionsfinderparameters.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2022-2023
3  * SMASH Team
4  *
5  * GNU General Public License (GPLv3 or later)
6  */
7 #ifndef SRC_INCLUDE_SMASH_SCATTERACTIONSFINDERPARAMETERS_H_
8 #define SRC_INCLUDE_SMASH_SCATTERACTIONSFINDERPARAMETERS_H_
9 
10 #include <memory>
11 #include <set>
12 #include <utility>
13 
14 #include "input_keys.h"
15 
16 namespace smash {
17 
21  const std::pair<double, double> sqrts_range_Npi =
29  const std::pair<double, double> sqrts_range_NN =
35  const double sqrts_add_lower =
41  const double sqrts_range_width =
49  const double pipi_offset =
55  const double KN_offset =
57 };
58 
67  const double elastic_parameter;
72  const double low_snn_cut;
74  const double scale_xs;
81  const double additional_el_xs; // mb
83  const double maximum_cross_section;
93  const int testparticles;
95  const bool two_to_one;
100  const bool strings_switch;
102  const bool use_AQM;
126 };
127 
128 } // namespace smash
129 
130 #endif // SRC_INCLUDE_SMASH_SCATTERACTIONSFINDERPARAMETERS_H_
default_type default_value() const
Get the default value of the key.
Definition: input_keys.h:132
std::bitset< 10 > ReactionsBitSet
Container for the 2 to 2 reactions in the code.
NNbarTreatment
Treatment of N Nbar Annihilation.
TotalCrossSectionStrategy
Determine how total cross sections for collision finding should be computed.
std::bitset< 4 > MultiParticleReactionsBitSet
Container for the n to m reactions in the code.
CollisionCriterion
Criteria used to check collisions.
PseudoResonance
Which pseudo-resonance fills the inelastic gap in the transition to string region of cross sections.
Definition: action.h:24
static const Key< double > collTerm_stringTrans_lower
See user guide description for more information.
Definition: input_keys.h:2528
static const Key< std::pair< double, double > > collTerm_stringTrans_rangeNpi
See user guide description for more information.
Definition: input_keys.h:2563
static const Key< double > collTerm_stringTrans_range_width
See user guide description for more information.
Definition: input_keys.h:2579
static const Key< double > collTerm_stringTrans_pipiOffset
See user guide description for more information.
Definition: input_keys.h:2515
static const Key< double > collTerm_stringTrans_KNOffset
See user guide description for more information.
Definition: input_keys.h:2500
static const Key< std::pair< double, double > > collTerm_stringTrans_rangeNN
See user guide description for more information.
Definition: input_keys.h:2546
Helper structure for ScatterActionsFinder.
const bool strings_with_probability
This indicates whether the string fragmentation is swiched on with a probability smoothly increasing ...
const bool only_warn_for_high_prob
Switch to turn off throwing an exception for collision probabilities larger than 1.
const int testparticles
Number of test particles.
const ReactionsBitSet included_2to2
List of included 2<->2 reactions.
const bool use_AQM
Switch to control whether to use AQM or not.
const double scale_xs
Factor by which all (partial) cross sections are scaled.
const double elastic_parameter
Elastic cross section parameter (in mb).
const bool strings_switch
Indicates whether string fragmentation is switched on.
const StringTransitionParameters transition_high_energy
Constants related to transition between low collision energies - mediated via resonances - and high c...
const TotalCrossSectionStrategy total_xs_strategy
Method used to evaluate total cross sections for collision finding.
const double additional_el_xs
Additional constant contribution (in mb) to the elastic cross sections.
const MultiParticleReactionsBitSet included_multi
List of included multi-particle reactions.
const bool allow_collisions_within_nucleus
If particles within the same nucleus are allowed to collide for their first time.
const PseudoResonance pseudoresonance_method
Which pseudo-resonance to choose.
const NNbarTreatment nnbar_treatment
Switch for NNbar reactions.
const double low_snn_cut
Elastic collsions between two nucleons with sqrt_s below low_snn_cut_ are excluded.
const bool two_to_one
Enables resonance production.
const CollisionCriterion coll_crit
Specifies which collision criterion is used.
Constants related to transition between low and high collision energies.
const std::pair< double, double > sqrts_range_Npi
Transition range in N collisions.
const double pipi_offset
Constant offset as to where to turn on the strings and elastic processes for reactions (this is an e...
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...
const std::pair< double, double > sqrts_range_NN
Transition range in NN collisions.
const double sqrts_range_width
Constant for the range of transition region, in the case of AQM this is added to the sum of masses + ...