From 16cee8b3679a2f55ef31c0a066213e030ebc30f6 Mon Sep 17 00:00:00 2001
From: Sharka Todorova <sarka.todorova@cern.ch>
Date: Fri, 13 May 2022 17:02:10 +0200
Subject: [PATCH] set hmt reference trigger to sptrk_L1RD0

---
 .../TrigMinBiasMonitoring/python/TrigMinBiasEffMonitoring.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Trigger/TrigMonitoring/TrigMinBiasMonitoring/python/TrigMinBiasEffMonitoring.py b/Trigger/TrigMonitoring/TrigMinBiasMonitoring/python/TrigMinBiasEffMonitoring.py
index c7342dd65d39..debd3a85a937 100644
--- a/Trigger/TrigMonitoring/TrigMinBiasMonitoring/python/TrigMinBiasEffMonitoring.py
+++ b/Trigger/TrigMonitoring/TrigMinBiasMonitoring/python/TrigMinBiasEffMonitoring.py
@@ -108,8 +108,9 @@ def TrigMinBiasEff(flags):
         # monitor first hmt w.r.t sptrk
         triggerAndRef += [ _c(hmt[0], "HLT_mb_sptrk_L1RD0_FILLED", xmax=_trk(hmt[0])+30)]
 
-        # group set the ref for each trigger to be one of lower threshold
-        triggerAndRef += [  _c(chain, ref, xmin=_trk(chain)-20, xmax=_trk(chain)+50) for chain,ref in zip(hmt[1:], hmt) ]
+        # group set the ref for each trigger to be one of lower threshold : ordering of chains needs to be reviewed  
+        # triggerAndRef += [  _c(chain, ref, xmin=_trk(chain)-20, xmax=_trk(chain)+50) for chain,ref in zip(hmt[1:], hmt) ]
+        triggerAndRef += [  _c(chain, "HLT_mb_sptrk_L1RD0_FILLED", xmin=_trk(chain)-20, xmax=_trk(chain)+50) for chain in hmt[1:] ]
 
         # pu suppressing trigger should be monitored using trigger of the same threshold w/o pu suppression
         pusup = [c for c in mbChains if '_hmt_' in c and '_pusup' in c]
-- 
GitLab