Docs | All | Real | Category | PDF | DataSet | Plot | Container | Misc | Aux | User |
RooRandomclass description - source file - inheritance tree (.pdf) class RooRandom
private: Data MembersClass DescriptionThis class provides a static interface for generating random numbers. TRandom* randomGenerator() Return a pointer to a singleton random-number generator implementation. Creates the object the first time it is called. RooQuasiRandomGenerator* quasiGenerator() Return a pointer to a singleton quasi-random generator implementation. Creates the object the first time it is called. Double_t uniform(TRandom *generator) Return a number uniformly distributed from (0,1) void uniform(UInt_t dimension, Double_t vector[], TRandom *generator) Fill the vector provided with random numbers uniformly distributed from (0,1) UInt_t integer(UInt_t n, TRandom *generator) Return an integer uniformly distributed from [0,n-1] Double_t gaussian(TRandom *generator) Return a Gaussian random variable with mean 0 and variance 1. Bool_t quasi(UInt_t dimension, Double_t vector[], RooQuasiRandomGenerator *generator) Return a quasi-random number in the range (0,1) using the Niederreiter base 2 generator described in Bratley, Fox, Niederreiter, ACM Trans. Model. Comp. Sim. 2, 195 (1992). Inline Functionsvoid ~RooRandom() RooRandom RooRandom() TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) RooRandom RooRandom(const RooRandom&) RooRandom& operator=(const RooRandom&)
|
Page maintained by Wouter Verkerke and David Kirkby |