update from Marco
authorlmilano <lmilano@cern.ch>
Thu, 26 Jun 2014 15:02:25 +0000 (17:02 +0200)
committerlmilano <lmilano@cern.ch>
Thu, 26 Jun 2014 15:02:25 +0000 (17:02 +0200)
PWGLF/SPECTRA/PiKaPr/TestAOD/AddTaskSpectraAllChAOD.C

index f3042a1..f3ab73b 100644 (file)
@@ -57,6 +57,7 @@ AliAnalysisTaskSpectraAllChAOD* AddTaskSpectraAllChAOD(
   pid->SetName(Form("HelperPID%s",opt.Data()));
   pid->SetNSigmaCut(nsigmacut);
   pid->SetPIDType(PIDtype);
+  pid->GetHelperPID()->SetfPtTOFPID(ptTofMatch);
   if(PIDtype==3){
     AliPIDCombined *pidc=new AliPIDCombined();
     pidc->SetDefaultTPCPriors();