X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=RALICE%2FAliRandom.h;h=1b19843129a47df00cbd23f6b0653107f0509843;hb=216d1d911d5f43db34b51f991cbb06bfe12ecbe6;hp=c239083a59c7986c6472309f2ed1b89a974027f4;hpb=f531a546a9974bd7865e20843d21d2a63848b886;p=u%2Fmrichter%2FAliRoot.git diff --git a/RALICE/AliRandom.h b/RALICE/AliRandom.h index c239083a59c..1b19843129a 100644 --- a/RALICE/AliRandom.h +++ b/RALICE/AliRandom.h @@ -5,7 +5,6 @@ // $Id$ -#include #include #include "TObject.h" @@ -16,11 +15,11 @@ class AliRandom : public TObject 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 void Uniform(Float_t* vec,Int_t n); // n uniform randoms in <0,1> @@ -48,6 +47,6 @@ class AliRandom : public TObject 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