]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/AliRandom.cxx
Additional protection
[u/mrichter/AliRoot.git] / RALICE / AliRandom.cxx
index 0840d4f458e47dc8877de0c5971219717b2df8d4..d4864ecec5053ba55154a28db7c7f1e63dee660b 100644 (file)
@@ -69,7 +69,7 @@
 //                              // The sequence is started at the location
 //                              // denoted by the counters cnt1 and cnt2.
 //
-// q.Info();     // Print the current seed, cnt1 and cnt2 values.
+// q.Data();     // Print the current seed, cnt1 and cnt2 values.
 // q.GetSeed();  // Provide the current seed value.
 // q.GetCnt1();  // Provide the current cnt1 value.
 // q.GetCnt2();  // Provide the current cnt2 value.
 ///////////////////////////////////////////////////////////////////////////
 
 #include "AliRandom.h"
+#include "Riostream.h"
  
 ClassImp(AliRandom) // Class implementation to enable ROOT I/O
  
@@ -299,25 +300,25 @@ void AliRandom::Unpack(Int_t seed,Int_t& i,Int_t& j,Int_t& k,Int_t& l)
  }
 }
 ///////////////////////////////////////////////////////////////////////////
-Int_t AliRandom::GetSeed()
+Int_t AliRandom::GetSeed() const
 {
 // Provide the current seed value
  return fSeed;
 }
 ///////////////////////////////////////////////////////////////////////////
-Int_t AliRandom::GetCnt1()
+Int_t AliRandom::GetCnt1() const
 {
 // Provide the current value of the counter cnt1
  return fCnt1;
 }
 ///////////////////////////////////////////////////////////////////////////
-Int_t AliRandom::GetCnt2()
+Int_t AliRandom::GetCnt2() const
 {
 // Provide the current value of the counter cnt2
  return fCnt2;
 }
 ///////////////////////////////////////////////////////////////////////////
-void AliRandom::Info()
+void AliRandom::Data() const
 {
 // Print the current seed, cnt1 and cnt2 values
  cout << " *Random* seed = " << fSeed