RooQuasiRandomGenerator Class Reference

#include <RooQuasiRandomGenerator.h>

List of all members.

Public Types

enum  
enum  

Public Member Functions

 RooQuasiRandomGenerator ()
virtual ~RooQuasiRandomGenerator ()
void reset ()
Bool_t generate (UInt_t dimension, Double_t vector[])
 RooQuasiRandomGenerator ()
virtual ~RooQuasiRandomGenerator ()
void reset ()
Bool_t generate (UInt_t dimension, Double_t vector[])

Protected Member Functions

void calculateCoefs (UInt_t dimension)
void calculateV (const int px[], int px_degree, int pb[], int *pb_degree, int v[], int maxv)
void polyMultiply (const int pa[], int pa_degree, const int pb[], int pb_degree, int pc[], int *pc_degree)
Int_t add (Int_t x, Int_t y) const
Int_t mul (Int_t x, Int_t y) const
Int_t sub (Int_t x, Int_t y) const
void calculateCoefs (UInt_t dimension)
void calculateV (const int px[], int px_degree, int pb[], int *pb_degree, int v[], int maxv)
void polyMultiply (const int pa[], int pa_degree, const int pb[], int pb_degree, int pc[], int *pc_degree)
Int_t add (Int_t x, Int_t y) const
Int_t mul (Int_t x, Int_t y) const
Int_t sub (Int_t x, Int_t y) const

Private Attributes

Int_t_nextq
Int_t _sequenceCount
Int_t_nextq

Static Private Attributes

static Bool_t _coefsCalculated
static Int_t _cj [NBits][MaxDimension]
static const Int_t _primitivePoly [MaxDimension+1][MaxPrimitiveDegree+1]
static const Int_t _polyDegree [MaxDimension+1]


Detailed Description

Definition at line 21 of file RooQuasiRandomGenerator.h.


Member Enumeration Documentation

anonymous enum

Definition at line 27 of file RooQuasiRandomGenerator.h.

anonymous enum

Definition at line 27 of file RooQuasiRandomGenerator.h.


Constructor & Destructor Documentation

RooQuasiRandomGenerator::RooQuasiRandomGenerator (  ) 

Definition at line 46 of file RooQuasiRandomGenerator.cxx.

References _coefsCalculated, _nextq, calculateCoefs(), kTRUE, MaxDimension, and reset().

RooQuasiRandomGenerator::~RooQuasiRandomGenerator (  )  [virtual]

Definition at line 62 of file RooQuasiRandomGenerator.cxx.

References _nextq.

RooQuasiRandomGenerator::RooQuasiRandomGenerator (  ) 

virtual RooQuasiRandomGenerator::~RooQuasiRandomGenerator (  )  [virtual]


Member Function Documentation

void RooQuasiRandomGenerator::reset (  ) 

Definition at line 71 of file RooQuasiRandomGenerator.cxx.

References _nextq, _sequenceCount, and MaxDimension.

Referenced by RooQuasiRandomGenerator().

Bool_t RooQuasiRandomGenerator::generate ( UInt_t  dimension,
Double_t  vector[] 
)

Definition at line 81 of file RooQuasiRandomGenerator.cxx.

References _cj, _nextq, _sequenceCount, c, double, RooFit::Integration, kFALSE, kTRUE, NBits, and oocoutE.

Referenced by RooRandom::quasi().

void RooQuasiRandomGenerator::calculateCoefs ( UInt_t  dimension  )  [protected]

Definition at line 122 of file RooQuasiRandomGenerator.cxx.

References _cj, _polyDegree, _primitivePoly, calculateV(), j, k, MaxDegree, NBits, and u.

Referenced by RooQuasiRandomGenerator().

void RooQuasiRandomGenerator::calculateV ( const int  px[],
int  px_degree,
int  pb[],
int *  pb_degree,
int  v[],
int  maxv 
) [protected]

Definition at line 200 of file RooQuasiRandomGenerator.cxx.

References add(), k, m, MaxDegree, mul(), polyMultiply(), and sub().

Referenced by calculateCoefs().

void RooQuasiRandomGenerator::polyMultiply ( const int  pa[],
int  pa_degree,
const int  pb[],
int  pb_degree,
int  pc[],
int *  pc_degree 
) [protected]

Definition at line 292 of file RooQuasiRandomGenerator.cxx.

References add(), j, k, MaxDegree, and mul().

Referenced by calculateV().

Int_t RooQuasiRandomGenerator::add ( Int_t  x,
Int_t  y 
) const [inline, protected]

Definition at line 35 of file RooQuasiRandomGenerator.h.

Referenced by calculateV(), polyMultiply(), and sub().

Int_t RooQuasiRandomGenerator::mul ( Int_t  x,
Int_t  y 
) const [inline, protected]

Definition at line 36 of file RooQuasiRandomGenerator.h.

Referenced by calculateV(), and polyMultiply().

Int_t RooQuasiRandomGenerator::sub ( Int_t  x,
Int_t  y 
) const [inline, protected]

Definition at line 37 of file RooQuasiRandomGenerator.h.

References add().

Referenced by calculateV().

void RooQuasiRandomGenerator::reset (  ) 

Bool_t RooQuasiRandomGenerator::generate ( UInt_t  dimension,
Double_t  vector[] 
)

void RooQuasiRandomGenerator::calculateCoefs ( UInt_t  dimension  )  [protected]

void RooQuasiRandomGenerator::calculateV ( const int  px[],
int  px_degree,
int  pb[],
int *  pb_degree,
int  v[],
int  maxv 
) [protected]

void RooQuasiRandomGenerator::polyMultiply ( const int  pa[],
int  pa_degree,
const int  pb[],
int  pb_degree,
int  pc[],
int *  pc_degree 
) [protected]

Int_t RooQuasiRandomGenerator::add ( Int_t  x,
Int_t  y 
) const [inline, protected]

Definition at line 35 of file RooQuasiRandomGenerator.h.

Int_t RooQuasiRandomGenerator::mul ( Int_t  x,
Int_t  y 
) const [inline, protected]

Definition at line 36 of file RooQuasiRandomGenerator.h.

Int_t RooQuasiRandomGenerator::sub ( Int_t  x,
Int_t  y 
) const [inline, protected]

Definition at line 37 of file RooQuasiRandomGenerator.h.

References add().


Member Data Documentation

Int_t* RooQuasiRandomGenerator::_nextq [private]

Definition at line 39 of file RooQuasiRandomGenerator.h.

Referenced by generate(), reset(), RooQuasiRandomGenerator(), and ~RooQuasiRandomGenerator().

Int_t RooQuasiRandomGenerator::_sequenceCount [private]

Definition at line 40 of file RooQuasiRandomGenerator.h.

Referenced by generate(), and reset().

Bool_t RooQuasiRandomGenerator::_coefsCalculated [static, private]

Definition at line 42 of file RooQuasiRandomGenerator.h.

Referenced by RooQuasiRandomGenerator().

Int_t RooQuasiRandomGenerator::_cj [static, private]

Definition at line 43 of file RooQuasiRandomGenerator.h.

Referenced by calculateCoefs(), and generate().

const Int_t RooQuasiRandomGenerator::_primitivePoly [static, private]

Definition at line 44 of file RooQuasiRandomGenerator.h.

Referenced by calculateCoefs().

const Int_t RooQuasiRandomGenerator::_polyDegree [static, private]

Definition at line 45 of file RooQuasiRandomGenerator.h.

Referenced by calculateCoefs().

Int_t* RooQuasiRandomGenerator::_nextq [private]

Definition at line 39 of file RooQuasiRandomGenerator.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:34:00 2011 for ROOT_528-00b_version by  doxygen 1.5.1