From 00b8fe2b8b35dc3fbb0625f9d7b117a17180645c Mon Sep 17 00:00:00 2001
From: Tim Martin <Tim.Martin@cern.ch>
Date: Thu, 30 Mar 2017 16:02:36 +0200
Subject: [PATCH] ATR-15815 disable the NtElem tool - a HLT cost monitoring
 sub-tool.

It collects a summary of all Trigger Elements in the event and exports this to the cost monitoring ntuple. This can in theory be used to re-form the navigation graph offline, but in reality there has never been any real use to do this in run 2.

Disabling this tool will save CPU in collecting the data and RAW disk space.
---
 .../TrigCostMonitor/python/TrigCostMonitorConfig.py          | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/Trigger/TrigMonitoring/TrigCostMonitor/python/TrigCostMonitorConfig.py b/Trigger/TrigMonitoring/TrigCostMonitor/python/TrigCostMonitorConfig.py
index f5cef6924e0e..5797c027336d 100644
--- a/Trigger/TrigMonitoring/TrigCostMonitor/python/TrigCostMonitorConfig.py
+++ b/Trigger/TrigMonitoring/TrigCostMonitor/python/TrigCostMonitorConfig.py
@@ -69,7 +69,7 @@ def prepareCostTool(target):
     
     tool.toolConf     = Trig__TrigNtConfTool('Conf'+target)
     tool.toolEBWeight = Trig__TrigNtEBWeightTool('Ebwt'+target)
-    tool_elem = Trig__TrigNtElemTool('Elem'+target)
+    tool_elem = Trig__TrigNtElemTool('Elem'+target) # Not currently utilised
     tool_exec = Trig__TrigNtExecTool('Exec'+target)
     tool_lvl1 = Trig__TrigNtLvl1Tool('Lvl1'+target)
     tool_hlt2 = Trig__TrigNtHltRTool('Hlt2'+target)
@@ -128,16 +128,13 @@ def prepareCostTool(target):
                 
         if   tool.level == "L2":
             tool.eventTools += [ tool_lvl1 ]
-            tool.scaleTools += [ tool_elem ]
             tool.scaleTools += [ tool_exec ]
             tool.scaleTools += [ tool_robs ]
         elif tool.level == "EF":
-            tool.scaleTools += [ tool_elem ]
             tool.scaleTools += [ tool_exec ]
             tool.scaleTools += [ tool_hlt2 ]
         elif tool.level == "HLT":
             tool.eventTools += [ tool_lvl1 ]
-            tool.scaleTools += [ tool_elem ]
             tool.scaleTools += [ tool_exec ]
             tool.scaleTools += [ tool_robs ]
             tool.scaleTools += [ tool_hlt2 ]
-- 
GitLab