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>

Go to the source code of this file.

Classes

class  RandomStd
class  RandomCLHEP< Engine >

Defines

#define PI   3.14159265358979323846264338328
#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 ()


Define Documentation

#define NEVT   10000000

Definition at line 30 of file testRandom.cxx.

#define PI   3.14159265358979323846264338328

Definition at line 25 of file testRandom.cxx.


Function Documentation

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

Definition at line 122 of file testRandom.cxx.

References array, double, i, j, n, NEVT, PI, printName(), sigma, sqrt(), w, x, and y.

int main ( void   ) 

Definition at line 163 of file testRandom.cxx.

References d, RootCsg::epsilon, ROOT::Math::fabs(), generate(), i, j, l, n, NEVT, nfail, out, r1, r2, r3, r4, r5, r6, r7, r8, r9, TRandom3::RndmArray(), ROOT::Math::Random< Engine >::RndmArray(), and v1.

void printName ( const TRandom3 r  ) 

Definition at line 117 of file testRandom.cxx.

void printName ( const TRandom2 r  ) 

Definition at line 113 of file testRandom.cxx.

void printName ( const TRandom1 r  ) 

Definition at line 109 of file testRandom.cxx.

void printName ( const TRandom r  ) 

Definition at line 105 of file testRandom.cxx.

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

Definition at line 100 of file testRandom.cxx.

Referenced by G__G__RooFitCore2_111_0_4(), and generate().


Generated on Tue Jul 5 16:07:15 2011 for ROOT_528-00b_version by  doxygen 1.5.1