]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - THerwig/AliGenHerwig.cxx
Adding an additional ascii format for the entry collection + a getter to the TEntryLi...
[u/mrichter/AliRoot.git] / THerwig / AliGenHerwig.cxx
index 0e8b5cb1616fa60be5c3aed3f7f042a9ee196fc5..9578c55ab6af27c9bb85644134ef74ea135ce62d 100644 (file)
@@ -46,7 +46,6 @@ ClassImp(AliGenHerwig)
     fTrigger(0),
     fSelectAll(0),
     fFlavor(0),
-    fEnergyCMS(14000),
     fMomentum1(7000),
     fMomentum2(7000),
     fKineBias(1),
@@ -64,6 +63,7 @@ ClassImp(AliGenHerwig)
     fFileName(0)
 {
 // Constructor
+  fEnergyCMS = 14000;
 }
 
 AliGenHerwig::AliGenHerwig(Int_t npart)
@@ -76,7 +76,6 @@ AliGenHerwig::AliGenHerwig(Int_t npart)
     fTrigger(0),
     fSelectAll(0),
     fFlavor(0),
-    fEnergyCMS(14000),
     fMomentum1(7000),
     fMomentum2(7000),
     fKineBias(1),
@@ -93,6 +92,7 @@ AliGenHerwig::AliGenHerwig(Int_t npart)
     fEv2Pr(0),
     fFileName(0)
 {
+    fEnergyCMS = 14000;
     SetTarget();
     SetProjectile();
     // Set random number generator