]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/AliRandom.cxx
Prepare for new code
[u/mrichter/AliRoot.git] / RALICE / AliRandom.cxx
index 3ccce9bdf60fb4be65ff928f1d5ddf1c9ba676b3..d4864ecec5053ba55154a28db7c7f1e63dee660b 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.2  1999/09/29 09:24:28  fca
-Introduction of the Copyright and cvs Log
-
-*/
+// $Id$
 
 ///////////////////////////////////////////////////////////////////////////
 // Class AliRandom
@@ -74,7 +69,7 @@ Introduction of the Copyright and cvs Log
 //                              // 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.
@@ -108,9 +103,11 @@ Introduction of the Copyright and cvs Log
 // 3) Using the rvec facility saves a lot of CPU time for large n values.
 //
 //--- Author: Nick van Eijndhoven 11-oct-1997 UU-SAP Utrecht
+//- Modified: NvE $Date$ UU-SAP Utrecht
 ///////////////////////////////////////////////////////////////////////////
 
 #include "AliRandom.h"
+#include "Riostream.h"
  
 ClassImp(AliRandom) // Class implementation to enable ROOT I/O
  
@@ -303,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