]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Small correction for AnalysisTaskCentral and corresponding AddTask macro (C.Andrei)
authorbhippoly <bhippoly@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 27 Dec 2009 19:17:15 +0000 (19:17 +0000)
committerbhippoly <bhippoly@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 27 Dec 2009 19:17:15 +0000 (19:17 +0000)
PWG2/SPECTRA/AliAnalysisTaskCentral.cxx
PWG2/SPECTRA/macros/AddTaskCentral.C

index 2cf5e95271f1432d03c045a95cf171abc32b7699..2cf37369f15caa9bde297eebc780188cc0e3a73f 100644 (file)
@@ -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();
 
 
index 68347cddffd01f3c888c1ee0f0e6bfa1cf672bae..a060ba13e8e93cd71c2e5f786514086e780f412a 100644 (file)
@@ -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.
 //==============================================================================