]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PYTHIA6/AliGenPythiaPlus.cxx
Moving set/get energy in cms, projectile, target propertie to the very base AliGenera...
[u/mrichter/AliRoot.git] / PYTHIA6 / AliGenPythiaPlus.cxx
index dcecd7b4261678ef9f05e62e32e47ca4159d45e3..6ac8faa176ec8f03b727ede4c8523304ef0d3967 100644 (file)
@@ -128,7 +128,7 @@ AliGenPythiaPlus::AliGenPythiaPlus():
 
 {
 // Default Constructor
-  SetEnergyCMS(5500.);
+  fEnergyCMS = 5500.;
   SetNuclei(0,0);
   if (!AliPythiaRndm::GetPythiaRandom()) 
       AliPythiaRndm::SetPythiaRandom(GetRandom());
@@ -217,7 +217,7 @@ AliGenPythiaPlus::AliGenPythiaPlus(AliPythiaBase* pythia)
 // semimuonic decay
 // structure function GRVHO
 //
-    SetEnergyCMS(5500.);
+    fEnergyCMS = 5500.;
     fName = "Pythia";
     fTitle= "Particle Generator using PYTHIA";
     SetForceDecay();