From 5c843db7477f219ae7e868bc2156c3dfaa58816d Mon Sep 17 00:00:00 2001 From: morsch Date: Tue, 10 Apr 2012 13:03:44 +0000 Subject: [PATCH] Avoiding crash in crash in GetELossRandomKFastR Marta Verweij --- PYTHIA6/AliPythia6.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PYTHIA6/AliPythia6.cxx b/PYTHIA6/AliPythia6.cxx index 7039bf76f65..dc8ab6572c5 100644 --- a/PYTHIA6/AliPythia6.cxx +++ b/PYTHIA6/AliPythia6.cxx @@ -868,7 +868,8 @@ void AliPythia6::Quench() Int_t itype = (qPdg[j] == 21) ? 2 : 1; - Double_t eloss = fQuenchingWeights->GetELossRandomKFast(itype, int0[j], int1[j], eq[j]); + // Double_t eloss = fQuenchingWeights->GetELossRandomKFast(itype, int0[j], int1[j], eq[j]); + Double_t eloss = fQuenchingWeights->GetELossRandomK(itype, int0[j], int1[j], eq[j]); if (TMath::Abs(yq[j]) > 2.5 || eq[j] < 10.) { fZQuench[j] = 0.; -- 2.43.0