Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 305 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 307 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 309 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 318 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 312 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 311 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 316 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 314 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 327 of file Tools.h.

  • tmva/tmva/inc/TMVA/Tools.h