]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - THijing/AliGenBeamGasNew.cxx
Fix
[u/mrichter/AliRoot.git] / THijing / AliGenBeamGasNew.cxx
index 818a2a314c2d4fd61e0d27bdc979ba3468ead54c..60d235c0c1eaa85a9b47b7e254aeaf5d2d3ea846 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.;