78 enum class Medium : int16_t;
80 using MediumIntType = std::underlying_type<Medium>::type;
89 std::string pretty_name_;
91 int weight_significant_figure_;
92 int weight_error_last_digit_;
94 double sternheimer_density_;
95 double corrected_density_;
110 std::string getName()
const {
return name_; }
114 return weight_significant_figure_;
117 return weight_error_last_digit_;
119 const double&
Z_over_A()
const {
return Z_over_A_; }
121 return sternheimer_density_;
124 return corrected_density_;
131 double getX0()
const {
return x0_; }
132 double getX1()
const {
return x1_; }
133 double getAA()
const {
return aa_; }
134 double getSK()
const {
return sk_; }
143 #include <corsika/media/GeneratedMediaProperties.inc> 156 constexpr
MediumData const& mediumData(Medium
const m) {
157 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_.
The cascade namespace assembles all objects needed to simulate full particles cascades.
Simple object to group together the properties of a medium.
double getCorrectedDensity() const
Sternheimer density.
const double & Z_over_A() const
return error of weight
double getX0() const
Cbar.