 |
Version: SMASH-2.0.2
|
|
Go to the documentation of this file.
7 #ifndef SRC_INCLUDE_SMASH_OUTPUTPARAMETERS_H_
8 #define SRC_INCLUDE_SMASH_OUTPUTPARAMETERS_H_
49 if (conf.has_value({
"Thermodynamics"})) {
50 auto subcon = conf[
"Thermodynamics"];
51 if (subcon.has_value({
"Position"})) {
52 const std::array<double, 3> a = subcon.take({
"Position"});
55 std::set<ThermodynamicQuantity> quan = subcon.take({
"Quantities"});
65 "Requested Thermodynamics output with Density type None. ",
66 "Change the density type to avoid output being dropped.");
71 if (conf.has_value({
"Particles"})) {
77 if (conf.has_value({
"Collisions"})) {
78 coll_extended = conf.take({
"Collisions",
"Extended"},
false);
79 coll_printstartend = conf.take({
"Collisions",
"Print_Start_End"},
false);
82 if (conf.has_value({
"Dileptons"})) {
83 dil_extended = conf.take({
"Dileptons",
"Extended"},
false);
86 if (conf.has_value({
"Photons"})) {
87 photons_extended = conf.take({
"Photons",
"Extended"},
false);
90 if (conf.has_value({
"Initial_Conditions"})) {
91 ic_extended = conf.take({
"Initial_Conditions",
"Extended"},
false);
94 if (conf.has_value({
"Rivet"})) {
95 subcon_for_rivet = conf[
"Rivet"];
105 if (name ==
"Collisions") {
106 return coll_extended;
107 }
else if (name ==
"Dileptons") {
109 }
else if (name ==
"Photons") {
110 return photons_extended;
173 #endif // SRC_INCLUDE_SMASH_OUTPUTPARAMETERS_H_
bool ic_extended
Extended initial conditions output.
OutputOnlyFinal
Whether and when only final state particles should be printed.
static constexpr int LExperiment
bool td_jQBS
Print out QBS 4-currents or not?
OutputParameters(Configuration &&conf)
Constructor from configuration.
bool td_v_landau
Print out Landau velocity of type td_dens_type or not?
std::array< einhard::Logger<>, std::tuple_size< LogArea::AreaTuple >::value > logg
An array that stores all pre-configured Logger objects.
Interface to the SMASH configuration files.
ThreeVector td_position
Point, where thermodynamic quantities are calculated.
bool part_extended
Extended format for particles output.
Helper structure for Experiment to hold output options and parameters.
bool photons_extended
Extended format for photon output.
bool td_rho_eckart
Print out Eckart rest frame density of type td_dens_type or not?
bool coll_extended
Extended format for collisions output.
bool coll_printstartend
Print initial and final particles in event into collision output.
bool td_tmn
Print out energy-momentum tensor of type td_dens_type or not?
@ Yes
Print only final-state particles.
bool get_coll_extended(std::string name) const
Pass correct extended flag to binary collision output constructor.
DensityType
Allows to choose which kind of density to calculate.
OutputParameters()
Default constructor, useful for tests.
OutputOnlyFinal part_only_final
Print only final particles in event.
DensityType td_dens_type
Type (e.g., baryon/pion/hadron) of thermodynamic quantity.
#define SMASH_SOURCE_LOCATION
Hackery that is required to output the location in the source code where the log statement occurs.
bool td_smearing
Whether smearing is on or off; WARNING : if smearing is off, then final result is in GeV instead of G...
Configuration subcon_for_rivet
Rivet specfic setup configurations.
bool dil_extended
Extended format for dilepton output.
bool td_tmn_landau
Print out energy-momentum tensor in Landau rest frame (of type td_dens_type) or not?