Logo ROOT   6.10/09
Reference Guide
Macros | Functions
testRandom.cxx File Reference
#include "Math/Random.h"
#include "Math/GSLRndmEngines.h"
#include "TStopwatch.h"
#include "TRandom1.h"
#include "TRandom2.h"
#include "TRandom3.h"
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <typeinfo>
#include <iomanip>
#include <fstream>
#include <limits>
Include dependency graph for testRandom.cxx:

Macros

#define NEVT   10000000
 
#define PI   3.14159265358979323846264338328 /* pi */
 

Functions

template<class R >
void generate (R &r, bool array=true)
 
int main ()
 
template<class R >
void printName (const R &r)
 
void printName (const TRandom &r)
 
void printName (const TRandom1 &r)
 
void printName (const TRandom2 &r)
 
void printName (const TRandom3 &r)
 

Macro Definition Documentation

◆ NEVT

#define NEVT   10000000

Definition at line 30 of file testRandom.cxx.

◆ PI

#define PI   3.14159265358979323846264338328 /* pi */

Definition at line 25 of file testRandom.cxx.

Function Documentation

◆ generate()

template<class R >
void generate ( R r,
bool  array = true 
)

Definition at line 122 of file testRandom.cxx.

◆ main()

int main ( )

Definition at line 163 of file testRandom.cxx.

◆ printName() [1/5]

template<class R >
void printName ( const R r)

Definition at line 100 of file testRandom.cxx.

◆ printName() [2/5]

void printName ( const TRandom r)

Definition at line 105 of file testRandom.cxx.

◆ printName() [3/5]

void printName ( const TRandom1 r)

Definition at line 109 of file testRandom.cxx.

◆ printName() [4/5]

void printName ( const TRandom2 r)

Definition at line 113 of file testRandom.cxx.

◆ printName() [5/5]

void printName ( const TRandom3 r)

Definition at line 117 of file testRandom.cxx.