82 enum class Medium : int16_t;
87 typedef std::underlying_type<Medium>::type MediumIntType;
95 std::string pretty_name_;
97 int weight_significant_figure_;
98 int weight_error_last_digit_;
100 double sternheimer_density_;
101 double corrected_density_;
116 std::string getName()
const {
return name_; }
120 return weight_significant_figure_;
123 return weight_error_last_digit_;
125 const double&
Z_over_A()
const {
return Z_over_A_; }
127 return sternheimer_density_;
130 return corrected_density_;
137 double getX0()
const {
return x0_; }
138 double getX1()
const {
return x1_; }
139 double getAA()
const {
return aa_; }
140 double getSK()
const {
return sk_; }
149 #include <corsika/media/GeneratedMediaProperties.inc> 162 constexpr
MediumData const& mediumData(Medium
const m) {
163 return corsika::detail::medium_data[
static_cast<MediumIntType
>(m)];
MediumType getType() const
state
std::string getPrettyName() const
returns name
std::string getSymbol() const
type
double getCbar() const
Ieff.
const int & weight_significant_figure() const
return weight
StateOfMatter getStateOfMatter() const
corrected density
double getWeight() const
returns pretty name
double getDlt0() const
Sk.
double getIeff() const
symbol
const int & weight_error_last_digit() const
return significnat figures of weight
double getSternheimerDensity() const
Z_over_A_.
`, since they are used everywhere as integral part of the framework.
Enum for all known Media types.
double getCorrectedDensity() const
Sternheimer density.
const double & Z_over_A() const
return error of weight
double getX0() const
Cbar.