|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|
Public Types | |
| typedef Quantity | value_type |
Public Member Functions | |
| UniformRealDistribution (value_type b) | |
| UniformRealDistribution (value_type pmin, value_type 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 bound. More... | |
| value_type | getMin () const |
| Get the lower bound. More... | |
| void | setMin (value_type const pmin) |
| Set the lower bound. More... | |
| template<class TGenerator > | |
| value_type | operator() (TGenerator &g) |
| Generate a random number in the range [min, max). More... | |
Definition at line 17 of file UniformRealDistribution.hpp.
|
inline |
|
inline |
Get the lower bound.
Definition at line 67 of file UniformRealDistribution.hpp.
|
inline |
Generate a random number in the range [min, max).
| TGenerator |
| g |
Definition at line 84 of file UniformRealDistribution.hpp.
|
inline |
Set the upper bound.
| pmax | new upper bound |
Definition at line 60 of file UniformRealDistribution.hpp.
|
inline |
Set the lower bound.
| pmin | is the new lower bound. |
Definition at line 74 of file UniformRealDistribution.hpp.