Skip to content
Snippets Groups Projects
Commit 60826a3f authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

TrigHTTAlgorithms: pass flags to GenericMonitoringTool

parent bbe6e21f
No related branches found
No related tags found
No related merge requests found
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
''' '''
@author Riley Xu - rixu@cern.ch @author Riley Xu - rixu@cern.ch
@date Feb 6th 2020 @date Feb 6th 2020
...@@ -247,7 +247,7 @@ def HTTLogicalHitsProcessAlgMonitoringCfg(flags): ...@@ -247,7 +247,7 @@ def HTTLogicalHitsProcessAlgMonitoringCfg(flags):
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
result = ComponentAccumulator() result = ComponentAccumulator()
from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
monTool = GenericMonitoringTool('MonTool') monTool = GenericMonitoringTool(flags, 'MonTool')
monTool.defineHistogram('regionID', path='EXPERT', type='TH1I', title='regionID', xbins=200, xmin=0, xmax=200) monTool.defineHistogram('regionID', path='EXPERT', type='TH1I', title='regionID', xbins=200, xmin=0, xmax=200)
result.setPrivateTools(monTool) result.setPrivateTools(monTool)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment