From: morsch Date: Tue, 5 May 2009 12:19:27 +0000 (+0000) Subject: For quenching option 4 obtain jet production point from AliFastGlauber. X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=5831e75fb67ae0dc79d94f7d05825dbf1c158ee4 For quenching option 4 obtain jet production point from AliFastGlauber. --- diff --git a/PYTHIA6/AliGenPythia.cxx b/PYTHIA6/AliGenPythia.cxx index 4313444b065..db281c42aac 100644 --- a/PYTHIA6/AliGenPythia.cxx +++ b/PYTHIA6/AliGenPythia.cxx @@ -1236,8 +1236,11 @@ void AliGenPythia::MakeHeader() } else if (fQuench == 4) { // QPythia - xp = fPythia->GetPARI(199); - yp = fPythia->GetPARI(200); + Double_t xy[2]; + AliFastGlauber::Instance()->GetLastXY(xy); + xp = xy[0]; + yp = xy[1]; + printf("%13.3e %13.3e \n", xp, yp); } ((AliGenPythiaEventHeader*) fHeader)->SetXYJet(xp, yp);