ATLAS Offline Software
Classes | Functions
python.AthMonitorCfgHelper Namespace Reference

Classes

class  AthMonitorCfgHelper
 

Functions

def getDQTHistSvc (flags)
 

Function Documentation

◆ getDQTHistSvc()

def 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 169 of file AthMonitorCfgHelper.py.

169 def getDQTHistSvc(flags):
170  '''
171  This function creates a THistSvc - used for the new-style job configuration
172 
173  Returns:
174  (result, histsvc) -- a tuple of (ComponentAccumulator, THistSvc Configurable object)
175  '''
176  result = ComponentAccumulator()
177  histsvc = CompFactory.THistSvc()
178  if flags.Output.HISTFileName:
179  histsvc.Output += ["%s DATAFILE='%s' OPT='RECREATE'" % (flags.DQ.FileKey,
180  flags.Output.HISTFileName)]
181  result.addService(histsvc)
182  return result
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.AthMonitorCfgHelper.getDQTHistSvc
def getDQTHistSvc(flags)
Definition: AthMonitorCfgHelper.py:169