]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PYTHIA6/AliGenPythia.cxx
Moving set/get energy in cms, projectile, target propertie to the very base AliGenera...
[u/mrichter/AliRoot.git] / PYTHIA6 / AliGenPythia.cxx
index 89872b79fcd92a9057d7ec1ce9c573af5e00230b..175c7d89ac8718e76c7e1db5c1a37d46acd3a1ec 100644 (file)
@@ -130,7 +130,7 @@ AliGenPythia::AliGenPythia():
 
 {
 // Default Constructor
-  SetEnergyCMS(5500.);
+  fEnergyCMS = 5500.;
   SetNuclei(0,0);
   if (!AliPythiaRndm::GetPythiaRandom()) 
       AliPythiaRndm::SetPythiaRandom(GetRandom());
@@ -221,7 +221,7 @@ AliGenPythia::AliGenPythia(Int_t npart)
 // semimuonic decay
 // structure function GRVHO
 //
-    SetEnergyCMS(5500.);
+    fEnergyCMS = 5500.;
     fName = "Pythia";
     fTitle= "Particle Generator using PYTHIA";
     SetForceDecay();