Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4INCL::Random::Adapter Class Reference

#include <G4INCLRandom.hh>

Public Types

using result_type = unsigned long
 

Public Member Functions

result_type operator() () const
 

Static Public Member Functions

static constexpr result_type min ()
 
static constexpr result_type max ()
 

Detailed Description

Definition at line 167 of file G4INCLRandom.hh.

Member Typedef Documentation

◆ result_type

using G4INCL::Random::Adapter::result_type = unsigned long

Definition at line 169 of file G4INCLRandom.hh.

Member Function Documentation

◆ max()

static constexpr result_type G4INCL::Random::Adapter::max ( )
inlinestaticconstexpr

Definition at line 175 of file G4INCLRandom.hh.

175 {
176 return std::numeric_limits<Adapter::result_type>::max();
177 }

◆ min()

static constexpr result_type G4INCL::Random::Adapter::min ( )
inlinestaticconstexpr

Definition at line 171 of file G4INCLRandom.hh.

171 {
172 return std::numeric_limits<Adapter::result_type>::min();
173 }

◆ operator()()

result_type G4INCL::Random::Adapter::operator() ( ) const
inline

Definition at line 179 of file G4INCLRandom.hh.

179 {
180// return shootInteger(max());
181 return G4RandFlat::shootInt(INT_MAX);
182 }
#define INT_MAX
Definition: templates.hh:90

The documentation for this class was generated from the following file: