]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/AliRandom.h
29-mar-2007 NvE New memberfunction Almanac() introduced in AliTimestamp to provide a
[u/mrichter/AliRoot.git] / RALICE / AliRandom.h
index 63aadcd88ca48de0f183834d6e891b5eab55209c..1b19843129a47df00cbd23f6b0653107f0509843 100644 (file)
@@ -15,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 Data();                                 // 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>
@@ -47,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,2) // Generate universal random numbers on all common machines.
+ ClassDef(AliRandom,3) // Generate universal random numbers on all common machines.
 };
 #endif