Logo ROOT   6.16/01
Reference Guide
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
TMVA::RandomGenerator< TRandomLike, UIntType, max_val > Class Template Reference

template<typename TRandomLike, typename UIntType = UInt_t, UIntType max_val = kMaxUInt>
class TMVA::RandomGenerator< TRandomLike, UIntType, max_val >

Definition at line 307 of file Tools.h.

Public Types

using result_type = UIntType
 

Public Member Functions

 RandomGenerator (UIntType s=0)
 
void discard (unsigned long long z)
 
UIntType operator() ()
 
void seed (UIntType s=0)
 

Static Public Member Functions

static constexpr UIntType max ()
 
static constexpr UIntType min ()
 

Private Attributes

TRandomLike fRandom
 

#include <TMVA/Tools.h>

Member Typedef Documentation

◆ result_type

template<typename TRandomLike , typename UIntType = UInt_t, UIntType max_val = kMaxUInt>
using TMVA::RandomGenerator< TRandomLike, UIntType, max_val >::result_type = UIntType

Definition at line 309 of file Tools.h.

Constructor & Destructor Documentation

◆ RandomGenerator()

template<typename TRandomLike , typename UIntType = UInt_t, UIntType max_val = kMaxUInt>
TMVA::RandomGenerator< TRandomLike, UIntType, max_val >::RandomGenerator ( UIntType  s = 0)
inline

Definition at line 311 of file Tools.h.

Member Function Documentation

◆ discard()

template<typename TRandomLike , typename UIntType = UInt_t, UIntType max_val = kMaxUInt>
void TMVA::RandomGenerator< TRandomLike, UIntType, max_val >::discard ( unsigned long long  z)
inline

Definition at line 320 of file Tools.h.

◆ max()

template<typename TRandomLike , typename UIntType = UInt_t, UIntType max_val = kMaxUInt>
static constexpr UIntType TMVA::RandomGenerator< TRandomLike, UIntType, max_val >::max ( )
inlinestaticconstexpr

Definition at line 314 of file Tools.h.

◆ min()

template<typename TRandomLike , typename UIntType = UInt_t, UIntType max_val = kMaxUInt>
static constexpr UIntType TMVA::RandomGenerator< TRandomLike, UIntType, max_val >::min ( )
inlinestaticconstexpr

Definition at line 313 of file Tools.h.

◆ operator()()

template<typename TRandomLike , typename UIntType = UInt_t, UIntType max_val = kMaxUInt>
UIntType TMVA::RandomGenerator< TRandomLike, UIntType, max_val >::operator() ( )
inline

Definition at line 318 of file Tools.h.

◆ seed()

template<typename TRandomLike , typename UIntType = UInt_t, UIntType max_val = kMaxUInt>
void TMVA::RandomGenerator< TRandomLike, UIntType, max_val >::seed ( UIntType  s = 0)
inline

Definition at line 316 of file Tools.h.

Member Data Documentation

◆ fRandom

template<typename TRandomLike , typename UIntType = UInt_t, UIntType max_val = kMaxUInt>
TRandomLike TMVA::RandomGenerator< TRandomLike, UIntType, max_val >::fRandom
private

Definition at line 329 of file Tools.h.


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