Force use of T0-TOF for V0 analyses: PID perf
authorfnoferin <fnoferin@cern.ch>
Mon, 20 Oct 2014 10:51:51 +0000 (12:51 +0200)
committerfnoferin <fnoferin@cern.ch>
Mon, 20 Oct 2014 10:51:51 +0000 (12:51 +0200)
PWGPP/pid/AliAnalysisTaskK0sBayes.cxx

index 7109c73..6f66334 100644 (file)
@@ -554,6 +554,8 @@ void AliAnalysisTaskK0sBayes::Analyze(AliAODEvent* aodEvent)
   AliInputEventHandler* inputHandler = (AliInputEventHandler*) (man->GetInputEventHandler());
   AliPIDResponse *PIDResponse=inputHandler->GetPIDResponse();
 
+  PIDResponse->SetTOFResponse(aodEvent,AliPIDResponse::kTOF_T0);
+
   fPIDCombined->SetDetectorMask(AliPIDResponse::kDetTPC|AliPIDResponse::kDetTOF);
 
   Double_t probP[10] = {0.,0.,0.,0.,0.,0.,0.,0.,0.,0.};