Fix related to change of data member name in the base class.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 7 Feb 2012 09:03:19 +0000 (09:03 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 7 Feb 2012 09:03:19 +0000 (09:03 +0000)
THijing/AliGenBeamGasNew.cxx

index 818a2a3..60d235c 100644 (file)
@@ -84,7 +84,7 @@ void AliGenBeamGasNew::Init()
 
   fVertexSmear = kPerEvent;
   fVertexSource = kInternal;
-  fRandom = kTRUE;
+  fSRandom = kTRUE;
 
   // Adding default underlying event in case none was specified
   // p-O-collision at 7 TeV (fixed target)
@@ -121,7 +121,7 @@ void AliGenBeamGasNew::Init()
   
   next.Reset();
   
-  if (fRandom) {
+  if (fSRandom) {
     fProb.Set(fNGenerators);
     next.Reset();
     Float_t sum = 0.;