Logo ROOT   6.08/07
Reference Guide
Macros | Functions
piRandom.C 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 <typeinfo>
#include "TH1D.h"
#include "TStyle.h"
#include "TF1.h"
#include "TPaveLabel.h"
#include "TCanvas.h"
Include dependency graph for piRandom.C:

Macros

#define INTERACTIVE
 
#define NEVT   10000;
 
#define NLOOP   1000;
 
#define PI   3.14159265358979323846264338328 /* pi */
 

Functions

template<class R >
void generate (R &r, TH1D *h)
 
int main ()
 
int piRandom ()
 

Macro Definition Documentation

◆ INTERACTIVE

#define INTERACTIVE

◆ NEVT

#define NEVT   10000;

Definition at line 23 of file piRandom.C.

◆ NLOOP

#define NLOOP   1000;

Definition at line 21 of file piRandom.C.

◆ PI

#define PI   3.14159265358979323846264338328 /* pi */

Definition at line 18 of file piRandom.C.

Function Documentation

◆ generate()

template<class R >
void generate ( R r,
TH1D h 
)

Definition at line 28 of file piRandom.C.

◆ main()

int main ( )

Definition at line 183 of file piRandom.C.

◆ piRandom()

int piRandom ( )

Definition at line 73 of file piRandom.C.