Improve handling of sharp tracker pt cut matching with trigger pt level: alling Apply...
authorpcrochet <pcrochet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Mar 2012 17:45:16 +0000 (17:45 +0000)
committerpcrochet <pcrochet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Mar 2012 17:45:16 +0000 (17:45 +0000)
PWGPP/macros/AddTaskMTRchamberEfficiency.C

index e1b9e19..354aa13 100644 (file)
@@ -34,8 +34,8 @@ AliAnalysisTaskTrigChEff* AddTaskMTRchamberEfficiency(Bool_t useGhosts = kFALSE,
 
   // Create cuts
   AliMuonTrackCuts* muonTrackCuts = new AliMuonTrackCuts("StdMuonTrackCuts", "StdMuonTrackCuts", type.Contains("ESD"));
-  muonTrackCuts->SetFilterMask ( AliMuonTrackCuts::kMuEta | AliMuonTrackCuts::kMuThetaAbs | AliMuonTrackCuts::kMuPdca | AliMuonTrackCuts::kMuMatchApt );
   muonTrackCuts->SetIsMC(isMC);
+  muonTrackCuts->ApplySharpPtCutInMatching(kTRUE);
 
   // Create task
   AliAnalysisTaskTrigChEff* taskTrigChEff = new AliAnalysisTaskTrigChEff("TriggerChamberEfficiency", *muonTrackCuts);