ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
Random Class Reference

#include <Random.h>

Inheritance diagram for Random:
Collaboration diagram for Random:

Public Member Functions

virtual ~Random ()
 

Static Public Member Functions

static RandomRandomBuilder ()
 
static double exp ()
 
static double gauss ()
 
static double uniform ()
 

Private Member Functions

 Random (int seed=4357)
 

Detailed Description

Definition at line 26 of file TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h.

Constructor & Destructor Documentation

◆ ~Random()

virtual Random::~Random ( )
inlinevirtual

Definition at line 36 of file TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h.

36 { }

◆ Random()

Random::Random ( int  seed = 4357)
inlineprivate

Definition at line 45 of file TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h.

45 : TRandom3(seed) { }

Member Function Documentation

◆ exp()

static double Random::exp ( )
inlinestatic

Definition at line 38 of file TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h.

38 { return RandomBuilder().Exp(1); }

◆ gauss()

static double Random::gauss ( )
inlinestatic

Definition at line 39 of file TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h.

39 { return RandomBuilder().Gaus(); }

◆ RandomBuilder()

static Random& Random::RandomBuilder ( )
inlinestatic

Definition at line 30 of file TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h.

30  {
31  static Random _r;
32  return _r;
33  }

◆ uniform()

static double Random::uniform ( )
inlinestatic

Definition at line 40 of file TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h.

40 { return RandomBuilder().Uniform(); }

The documentation for this class was generated from the following file:
Random
Definition: TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h:26
Random::RandomBuilder
static Random & RandomBuilder()
Definition: TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h:30