fgMCEvGen changed to fMCEvGen.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 1 Aug 2003 15:29:42 +0000 (15:29 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 1 Aug 2003 15:29:42 +0000 (15:29 +0000)
PYTHIA6/AliGenPythia.cxx
THijing/AliGenHijing.cxx
THijing/AliGenHijing.h

index 70bab3d1fc0c512d7f7d9a12ca5fc15ab3d11118..d6cd994500986a11dc2a26d1a5c47fdac2e18f77 100644 (file)
@@ -145,7 +145,7 @@ void AliGenPythia::Init()
 // Initialisation
     
     SetMC(AliPythia::Instance());
-    fPythia=(AliPythia*) fgMCEvGen;
+    fPythia=(AliPythia*) fMCEvGen;
 //
     fParentWeight=1./Float_t(fNpart);
 //
@@ -514,7 +514,7 @@ void AliGenPythia::Generate()
     } // event loop
     SetHighWaterMark(nt);
 //  adjust weight due to kinematic selection
-    AdjustWeights();
+//    AdjustWeights();
 //  get cross-section
     fXsection=fPythia->GetPARI(1);
 }
index d4addb10f968b419801efe812b3b9ccb7bf0aeec..cceca2f9362364a74961fce62822fa5087f3618c 100644 (file)
@@ -111,7 +111,7 @@ void AliGenHijing::Init()
                      fAProjectile, fZProjectile, fATarget, fZTarget, 
                      fMinImpactParam, fMaxImpactParam));
 
-    fHijing=(THijing*) fgMCEvGen;
+    fHijing=(THijing*) fMCEvGen;
     fHijing->SetIHPR2(2,  fRadiation);
     fHijing->SetIHPR2(3,  fTrigger);
     fHijing->SetIHPR2(6,  fShadowing);
index 242d7c308f02bcf96e478246f13f7dca745329f3..73376e294c483d58804260f8cdd651fc4a26d870 100644 (file)
@@ -112,7 +112,7 @@ class AliGenHijing : public AliGenMC
     TArrayI     fParentSelect;   // Parent particles to be selected 
     TArrayI     fChildSelect;    // Decay products to be selected
     Float_t     fXsection;       // Cross-section
-    THijing    *fHijing;         // Hijing
+    THijing    *fHijing;         //!Hijing
     Float_t     fPtHardMin;      // lower pT-hard cut 
     Float_t     fPtHardMax;      // higher pT-hard cut
     Int_t       fSpectators;     // put spectators on stack