46 TRandom1(UInt_t seed, Int_t lux = 3 );
47 TRandom1(Int_t rowIndex, Int_t colIndex, Int_t lux );
51 virtual UInt_t
GetSeed()
const {
return UInt_t ( fFloatSeedTable[0] / fMantissaBit24 ) ; }
58 virtual Double_t
Rndm( );
59 virtual void RndmArray(Int_t size, Float_t *vect);
60 virtual void RndmArray(Int_t size, Double_t *vect);
61 virtual void SetSeed2(UInt_t seed, Int_t lux=3);
63 virtual void SetSeeds(
const UInt_t * seeds, Int_t lux=3);
66 virtual void SetSeed(ULong_t seed);
virtual void SetSeed2(UInt_t seed, Int_t lux=3)
The initialisation is carried out using a Multiplicative Congruential generator using formula constan...
virtual void RndmArray(Int_t size, Float_t *vect)
return an array of random numbers in ]0,1]
const UInt_t * GetTheSeeds() const
virtual Double_t Rndm()
return a random number in ]0,1]
virtual void SetSeeds(const UInt_t *seeds, Int_t lux=3)
set seeds
The Ranlux Random number generator class.
This is the base class for the ROOT Random number generators.
TRandom1()
default constructor
virtual ~TRandom1()
destructor
virtual Int_t GetLuxury() const
const Double_t fMantissaBit12
virtual Double_t Rndm()
Machine independent random number generator.
const Double_t fMantissaBit24
Float_t fFloatSeedTable[24]
virtual UInt_t GetSeed() const
virtual void SetSeed(ULong_t seed)
Set the random generator seed.
static Int_t fgNumEngines
R__EXTERN TRandom * gRandom
static void GetTableSeeds(UInt_t *seeds, Int_t index)
static function returning the table of seeds