![]() |
Belle II Software
release-08-02-05
|
Wrap TRandom to be useable as a uniform random number generator with STL algorithms like std::shuffle. More...
#include <TRandomWrapper.h>
Public Types | |
| typedef unsigned int | result_type |
| Define the result type to be a normal unsigned int. | |
Public Member Functions | |
| result_type | operator() () |
| Return a random value in the range [min(), max()]. | |
Static Public Member Functions | |
| static constexpr result_type | min () |
| Minimum value returned by the random number generator. | |
| static constexpr result_type | max () |
| Maximum value returned by the random number generator. | |
Wrap TRandom to be useable as a uniform random number generator with STL algorithms like std::shuffle.
Definition at line 20 of file TRandomWrapper.h.