From 9672d3e51f85d45f0ef071e46a76874363213858 Mon Sep 17 00:00:00 2001
From: Benjamin Trocme <benjamin.trocme@cern.ch>
Date: Wed, 6 Sep 2017 10:22:49 +0200
Subject: [PATCH] Adding HLT jets

Former-commit-id: e59c7d140e447bd86a47f109298d67b12c1c7128
---
 DataQuality/DataQualityUtils/scripts/hotSpotInHIST.py | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/DataQuality/DataQualityUtils/scripts/hotSpotInHIST.py b/DataQuality/DataQualityUtils/scripts/hotSpotInHIST.py
index 66dd8f405fb..994ac4a8da1 100644
--- a/DataQuality/DataQualityUtils/scripts/hotSpotInHIST.py
+++ b/DataQuality/DataQualityUtils/scripts/hotSpotInHIST.py
@@ -25,7 +25,7 @@
 #                        2D OCCUPANCY: TopoClusters,EMTopoClusters,
 #                                      EMTopoJets,TightFwdElectrons 
 #                        1D OCCUPANCY: EMTopoJets_eta 
-#                        INTEGRAL    : NumberTau,NumberTightElectrons
+#                        INTEGRAL    : NumberTau,NumberTightElectrons,NumberHLTJet
 #  -m ARG12, --min ARG12
 #                        Min number of occurences in a LB
 #  -g, --grl             Look for Calo/LAr/Tile defects set in suspicious LBs
@@ -240,6 +240,15 @@ if (objectType == "NumberTightFwdElectrons"):
   histoKeys = ["single"]
   histoType = "1d_integralAbove"
   histoName = "Number of tight forward electrons"
+# HLT Jet
+if (objectType == "NumberHLTJet"):
+  histoPath  = {"HLTJet":"run_%d/HLT/JetMon/HLT/10j40_L14J20/HLTJet_n"%(runNumber)}
+  histoLegend = {"HLTJet":"All candidates"}
+  histoColor = {"HLTJet":color1}
+  histoKeys = ["HLTJet"]
+  histoType = "1d_integralAbove"
+  histoName = "Number of HLT jets - 10J40_L14J20 trigger"
+
 
 # Depending of the histo/check type, define the summary title and
 # check that the position of the "hot spot" (or lower bound of the integral) is defined
-- 
GitLab