ATLAS Offline Software
Loading...
Searching...
No Matches
python.AthMonitorCfgHelper Namespace Reference

Classes

class  AthMonitorCfgHelper

Functions

 getDQTHistSvc (flags)

Detailed Description

@file AthMonitorCfgHelper.py
@author C. D. Burton
@author P. Onyisi
@date 2019-01-25
@brief Helper classes for Run 3 monitoring algorithm configuration

Function Documentation

◆ getDQTHistSvc()

python.AthMonitorCfgHelper.getDQTHistSvc ( flags)
This function creates a THistSvc - used for the new-style job configuration

Returns:
(result, histsvc) -- a tuple of (ComponentAccumulator, THistSvc Configurable object)

Definition at line 175 of file AthMonitorCfgHelper.py.

175def getDQTHistSvc(flags):
176 '''
177 This function creates a THistSvc - used for the new-style job configuration
178
179 Returns:
180 (result, histsvc) -- a tuple of (ComponentAccumulator, THistSvc Configurable object)
181 '''
182 result = ComponentAccumulator()
183 histsvc = CompFactory.THistSvc()
184 if flags.Output.HISTFileName:
185 histsvc.Output += ["%s DATAFILE='%s' OPT='RECREATE'" % (flags.DQ.FileKey,
186 flags.Output.HISTFileName)]
187 result.addService(histsvc)
188 return result