From 959096c622e0598bca43684f4cf2bdb3ddd49b26 Mon Sep 17 00:00:00 2001 From: lmilano Date: Mon, 30 Jun 2014 10:01:25 +0200 Subject: [PATCH] AdddTask update from Marco --- PWGLF/SPECTRA/PiKaPr/TestAOD/AddTaskSpectraAllChAOD.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGLF/SPECTRA/PiKaPr/TestAOD/AddTaskSpectraAllChAOD.C b/PWGLF/SPECTRA/PiKaPr/TestAOD/AddTaskSpectraAllChAOD.C index f3ab73bb7e2..ac1efe13800 100644 --- a/PWGLF/SPECTRA/PiKaPr/TestAOD/AddTaskSpectraAllChAOD.C +++ b/PWGLF/SPECTRA/PiKaPr/TestAOD/AddTaskSpectraAllChAOD.C @@ -57,7 +57,7 @@ AliAnalysisTaskSpectraAllChAOD* AddTaskSpectraAllChAOD( pid->SetName(Form("HelperPID%s",opt.Data())); pid->SetNSigmaCut(nsigmacut); pid->SetPIDType(PIDtype); - pid->GetHelperPID()->SetfPtTOFPID(ptTofMatch); + pid->SetfPtTOFPID(ptTofMatch); if(PIDtype==3){ AliPIDCombined *pidc=new AliPIDCombined(); pidc->SetDefaultTPCPriors(); -- 2.43.5