|
CORSIKA8
0.0.0
The framework to simulate particle cascades for astroparticle physics
|
Public Types | |
| typedef Quantity | value_type |
Public Member Functions | |
| UniformRealDistribution (Quantity const &b) | |
| UniformRealDistribution (value_type const &pmin, value_type const &pmax) | |
| UniformRealDistribution (UniformRealDistribution< value_type > const &other) | |
| UniformRealDistribution< value_type > & | operator= (UniformRealDistribution< value_type > const &other) |
| value_type | getMax () const |
| Get the upper limit. More... | |
| void | setMax (value_type const &pmax) |
| Set the upper limit. More... | |
| value_type | getMin () const |
| Get the lower limit. More... | |
| void | setMin (value_type const &pmin) |
| Set the lower limit. More... | |
| template<class Generator > | |
| value_type | operator() (Generator &g) |
| Generate a random numberin the range [min, max]. More... | |
Definition at line 17 of file UniformRealDistribution.hpp.
|
inline |
Get the upper limit.
Definition at line 55 of file UniformRealDistribution.hpp.
|
inline |
Get the lower limit.
Definition at line 75 of file UniformRealDistribution.hpp.
|
inline |
Generate a random numberin the range [min, max].
| Generator |
| g |
Definition at line 98 of file UniformRealDistribution.hpp.
|
inline |
Set the upper limit.
| vMax |
Definition at line 65 of file UniformRealDistribution.hpp.
|
inline |
Set the lower limit.
| vMin |
Definition at line 85 of file UniformRealDistribution.hpp.