#include <RooQuasiRandomGenerator.h>
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] |
Definition at line 21 of file RooQuasiRandomGenerator.h.
anonymous enum |
Definition at line 27 of file RooQuasiRandomGenerator.h.
anonymous enum |
Definition at line 27 of file RooQuasiRandomGenerator.h.
RooQuasiRandomGenerator::RooQuasiRandomGenerator | ( | ) |
Definition at line 46 of file RooQuasiRandomGenerator.cxx.
References _coefsCalculated, _nextq, calculateCoefs(), kTRUE, MaxDimension, and reset().
RooQuasiRandomGenerator::~RooQuasiRandomGenerator | ( | ) | [virtual] |
RooQuasiRandomGenerator::RooQuasiRandomGenerator | ( | ) |
virtual RooQuasiRandomGenerator::~RooQuasiRandomGenerator | ( | ) | [virtual] |
void RooQuasiRandomGenerator::reset | ( | ) |
Definition at line 71 of file RooQuasiRandomGenerator.cxx.
References _nextq, _sequenceCount, and MaxDimension.
Referenced by RooQuasiRandomGenerator().
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().
Definition at line 35 of file RooQuasiRandomGenerator.h.
Referenced by calculateV(), polyMultiply(), and sub().
Definition at line 36 of file RooQuasiRandomGenerator.h.
Referenced by calculateV(), and polyMultiply().
Definition at line 37 of file RooQuasiRandomGenerator.h.
References add().
Referenced by calculateV().
void RooQuasiRandomGenerator::reset | ( | ) |
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] |
Definition at line 35 of file RooQuasiRandomGenerator.h.
Definition at line 36 of file RooQuasiRandomGenerator.h.
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] |
Bool_t RooQuasiRandomGenerator::_coefsCalculated [static, private] |
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] |
const Int_t RooQuasiRandomGenerator::_polyDegree [static, private] |
Int_t* RooQuasiRandomGenerator::_nextq [private] |
Definition at line 39 of file RooQuasiRandomGenerator.h.