From 19ef8cf0945f154847e3814eeb542c7736b5a59d Mon Sep 17 00:00:00 2001 From: morsch Date: Wed, 3 Sep 2008 09:43:08 +0000 Subject: [PATCH 1/1] Configuration can be done from Config.C without calling Init() --- PYTHIA6/AliGenPythia.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PYTHIA6/AliGenPythia.cxx b/PYTHIA6/AliGenPythia.cxx index 175c7d89ac8..80335bdf29c 100644 --- a/PYTHIA6/AliGenPythia.cxx +++ b/PYTHIA6/AliGenPythia.cxx @@ -508,7 +508,7 @@ void AliGenPythia::Init() void AliGenPythia::Generate() { // Generate one event - + if (!fPythia) fPythia=(AliPythia*) fMCEvGen; fDecayer->ForceDecay(); Float_t polar[3] = {0,0,0}; @@ -1132,7 +1132,7 @@ void AliGenPythia::MakeHeader() // // Jets that have triggered - if (fProcess == kPyJets) + if (fProcess == kPyJets || fProcess == kPyDirectGamma) { Int_t ntrig, njet; Float_t jets[4][10]; -- 2.39.3