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

index 1e343a6..922ed82 100644 (file)
@@ -557,6 +557,7 @@ void AliAnalysisTaskLambdaBayes::Analyze(AliAODEvent* aodEvent)
   AliAnalysisManager *man=AliAnalysisManager::GetAnalysisManager();
   AliInputEventHandler* inputHandler = (AliInputEventHandler*) (man->GetInputEventHandler());
   AliPIDResponse *PIDResponse=inputHandler->GetPIDResponse();
+  PIDResponse->SetTOFResponse(aodEvent,AliPIDResponse::kTOF_T0);
 
 //   PIDResponse->GetTOFResponse().SetTrackParameter(0,0.);
 //   PIDResponse->GetTOFResponse().SetTrackParameter(1,0.);
index 8b355a2..60cb77b 100644 (file)
@@ -528,6 +528,7 @@ void AliAnalysisTaskPhiBayes::Analyze(AliAODEvent* aodEvent)
   AliAnalysisManager *man=AliAnalysisManager::GetAnalysisManager();
   AliInputEventHandler* inputHandler = (AliInputEventHandler*) (man->GetInputEventHandler());
   AliPIDResponse *PIDResponse=inputHandler->GetPIDResponse();
+  PIDResponse->SetTOFResponse(aodEvent,AliPIDResponse::kTOF_T0);
 
 //   PIDResponse->GetTOFResponse().SetTrackParameter(0,0.);
 //   PIDResponse->GetTOFResponse().SetTrackParameter(1,0.);