From 52197c40231f65a229b36b4a432f87354a13b69b Mon Sep 17 00:00:00 2001
From: sutt <sutt@cern.ch>
Date: Fri, 3 Apr 2020 19:14:13 +0200
Subject: [PATCH] Use Specific Muon Roi in the ID Trigger monitoring

The Muon trigger creates a new RoiDescriptor, HLT_Roi_L2SAMuon for use by
the ID Trigger tracking. ( see https://gitlab.cern.ch/atlas/athena/-/merge_requests/31747 )

This change allows the ID Trigger moniotirng to use the new RoiDescriptor.

Before the change in !31747 the ID Trigger muon moniotring does not work,
so this change is fine to go in before !31747
---
 .../python/TrigIDPhysValMonitoringConfig.py                    | 3 ++-
 .../TrigIDtrkMonitoring/python/TrigIDtrkMonitoringConfig.py    | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Trigger/TrigMonitoring/TrigIDtrkMonitoring/python/TrigIDPhysValMonitoringConfig.py b/Trigger/TrigMonitoring/TrigIDtrkMonitoring/python/TrigIDPhysValMonitoringConfig.py
index 7d052ebb9fb..20c9b3a79fd 100644
--- a/Trigger/TrigMonitoring/TrigIDtrkMonitoring/python/TrigIDPhysValMonitoringConfig.py
+++ b/Trigger/TrigMonitoring/TrigIDtrkMonitoring/python/TrigIDPhysValMonitoringConfig.py
@@ -118,7 +118,8 @@ def TrigIDPhysValMonitoringTool( legacy_monitoring=False ):
     useHighestPT = True
     if mt_chains:
       chainnames = [
-        "HLT_mu.*idperf.*:key=HLT_IDTrack_Muon_FTF"
+        "HLT_mu.*idperf.*:key=HLT_IDTrack_Muon_FTF",
+        "HLT_mu.*idperf.*:key=HLT_IDTrack_Muon_FTF:roi=HLT_Roi_L2SAMuon"
       ]
     else:
       chainnames = [
diff --git a/Trigger/TrigMonitoring/TrigIDtrkMonitoring/python/TrigIDtrkMonitoringConfig.py b/Trigger/TrigMonitoring/TrigIDtrkMonitoring/python/TrigIDtrkMonitoringConfig.py
index f29f02bb7a1..87ef0ada8b5 100644
--- a/Trigger/TrigMonitoring/TrigIDtrkMonitoring/python/TrigIDtrkMonitoringConfig.py
+++ b/Trigger/TrigMonitoring/TrigIDtrkMonitoring/python/TrigIDtrkMonitoringConfig.py
@@ -169,6 +169,7 @@ def TrigIDtrkMonitoringTool( legacy_monitoring=False ):
                         tidamuon.ntupleChainNames += [
                                 "Offline",
                                 "HLT_mu.*idperf.*:key=HLT_IDTrack_Muon_FTF",
+                                "HLT_mu.*idperf.*:key=HLT_IDTrack_Muon_FTF:roi=HLT_Roi_L2SAMuon"
                         ]
                 else:
                         tidamuon.ntupleChainNames += [
-- 
GitLab