// // 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
}
}
///////////////////////////////////////////////////////////////////////////
-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