From: bhippoly Date: Sun, 27 Dec 2009 19:17:15 +0000 (+0000) Subject: Small correction for AnalysisTaskCentral and corresponding AddTask macro (C.Andrei) X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=32692aec920b854a763338a1db86bf7264cdae26;p=u%2Fmrichter%2FAliRoot.git Small correction for AnalysisTaskCentral and corresponding AddTask macro (C.Andrei) --- diff --git a/PWG2/SPECTRA/AliAnalysisTaskCentral.cxx b/PWG2/SPECTRA/AliAnalysisTaskCentral.cxx index 2cf5e95271f..2cf37369f15 100644 --- a/PWG2/SPECTRA/AliAnalysisTaskCentral.cxx +++ b/PWG2/SPECTRA/AliAnalysisTaskCentral.cxx @@ -514,7 +514,7 @@ void AliAnalysisTaskCentral::Terminate(Option_t *) { extPi->SetParticle("kPiPlus"); //set the particle type extPi->ApplyEff(); //correct the pt distribution !!HAS TO RUN BEFORE extrapolation!! extPi->BoltzmannFit(); //fit and extrapolate using Boltzmann-Gibbs Blast wave model -// extPi->TsallisFit(); //fit and extrapolate using Tsallis Blast wave model + extPi->TsallisFit(); //fit and extrapolate using Tsallis Blast wave model TList *extOutListPi = extPi->GetOutputList(); AliAnalysisCentralExtrapolate *extK = new AliAnalysisCentralExtrapolate("extrapolationK"); @@ -522,7 +522,7 @@ void AliAnalysisTaskCentral::Terminate(Option_t *) { extK->SetParticle("kKPlus"); extK->ApplyEff(); extK->BoltzmannFit(); -// extK->TsallisFit(); + extK->TsallisFit(); TList *extOutListK = extK->GetOutputList(); AliAnalysisCentralExtrapolate *extP = new AliAnalysisCentralExtrapolate("extrapolationP"); @@ -530,7 +530,7 @@ void AliAnalysisTaskCentral::Terminate(Option_t *) { extP->SetParticle("kProton"); extP->ApplyEff(); extP->BoltzmannFit(); -// extP->TsallisFit(); + extP->TsallisFit(); TList *extOutListP = extP->GetOutputList(); diff --git a/PWG2/SPECTRA/macros/AddTaskCentral.C b/PWG2/SPECTRA/macros/AddTaskCentral.C index 68347cddffd..a060ba13e8e 100644 --- a/PWG2/SPECTRA/macros/AddTaskCentral.C +++ b/PWG2/SPECTRA/macros/AddTaskCentral.C @@ -1,4 +1,4 @@ -AliAnalysisTaskCentral* AddTaskCentral(Bool_t *simulation=kFALSE){ +AliAnalysisTaskCentral* AddTaskCentral(){ // Get the pointer to the existing analysis manager via the static access method. //==============================================================================