/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
-/* $Id$ */
+// $Id$
-#include <iostream.h>
#include <math.h>
#include "TObject.h"
AliRandom(); // Constructor with default sequence
AliRandom(Int_t seed); // Constructor with user defined seed
AliRandom(Int_t seed,Int_t cnt1,Int_t cnt2); // User defined starting point
- ~AliRandom(); // Destructor
- Int_t GetSeed(); // Provide current seed value
- Int_t GetCnt1(); // Provide current counter value cnt1
- Int_t GetCnt2(); // Provide current counter value cnt2
- void Info(); // Print current seed, cnt1 and cnt2
+ virtual ~AliRandom(); // Destructor
+ Int_t GetSeed() const; // Provide current seed value
+ Int_t GetCnt1() const; // Provide current counter value cnt1
+ Int_t GetCnt2() const; // Provide current counter value cnt2
+ void Data() const; // Print current seed, cnt1 and cnt2
Float_t Uniform(); // Uniform dist. within <0,1>
Float_t Uniform(Float_t a,Float_t b); // Uniform dist. within <a,b>
void Uniform(Float_t* vec,Int_t n); // n uniform randoms in <0,1>
Float_t fYamin,fYamax; //! The min. and max. y values of the area function
Int_t* fIbins; //! The bin numbers of the random x candidates
- ClassDef(AliRandom,1) // Generate universal random numbers on all common machines.
+ ClassDef(AliRandom,3) // Generate universal random numbers on all common machines.
};
#endif