ROOT  6.06/08
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:

Go to the source code of this file.

Macros

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

Functions

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)
 
template<class R >
void generate (R &r, bool array=true)
 
int main ()
 

Macro Definition Documentation

§ NEVT

#define NEVT   10000000

Definition at line 30 of file testRandom.cxx.

Referenced by generate(), and main().

§ PI

#define PI   3.14159265358979323846264338328 /* pi */

Definition at line 25 of file testRandom.cxx.

Referenced by generate().

Function Documentation

§ generate()

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

Definition at line 122 of file testRandom.cxx.

Referenced by main().

§ 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.

Referenced by generate(), RooAbsArg::Print(), and RooPrintable::printStream().

§ 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.