Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions | Variables
python.TriggerHistSvcConfig Namespace Reference

Functions

def setTHistSvcOutput (outputList)
 
def TriggerHistSvcConfig (flags)
 

Variables

 log
 

Function Documentation

◆ setTHistSvcOutput()

def python.TriggerHistSvcConfig.setTHistSvcOutput (   outputList)
Build the Output list of the THistSvc ensuring minimum set of output files

Definition at line 8 of file TriggerHistSvcConfig.py.

8 def setTHistSvcOutput(outputList):
9  """Build the Output list of the THistSvc ensuring minimum set of output files"""
10 
11  if not any('EXPERT' in o for o in outputList):
12  outputList += ["EXPERT DATAFILE='expert-monitoring.root' OPT='RECREATE'"]
13 
14  return
15 
16 

◆ TriggerHistSvcConfig()

def python.TriggerHistSvcConfig.TriggerHistSvcConfig (   flags)

Definition at line 17 of file TriggerHistSvcConfig.py.

17 def TriggerHistSvcConfig(flags):
18  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
19  from AthenaConfiguration.ComponentFactory import CompFactory
20 
21  acc = ComponentAccumulator()
22 
23  if flags.Trigger.Online.useOnlineTHistSvc:
24  log.info("Configuring online TrigMonTHistSvc")
25  histSvc = CompFactory.TrigMonTHistSvc("THistSvc") # no outputs in online
26  elif flags.Trigger.Online.useOnlineWebdaqHistSvc:
27  log.info("Configuring online Webdaq HistSvc")
28  histSvc = CompFactory.WebdaqHistSvc("THistSvc")
29  else:
30  log.info("Configuring offline THistSvc")
31  output = []
32  if flags.Trigger.L1MuonSim.WriteNSWDebugNtuple:
33  output += ["NSWL1Simulation DATAFILE='NSWL1Simulation.root' OPT='RECREATE'"]
34 
35  # add default outputs
36  setTHistSvcOutput(output)
37  histSvc = CompFactory.THistSvc("THistSvc", Output = output)
38 
39  acc.addService( histSvc )
40  return acc

Variable Documentation

◆ log

python.TriggerHistSvcConfig.log

Definition at line 6 of file TriggerHistSvcConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TriggerHistSvcConfig.setTHistSvcOutput
def setTHistSvcOutput(outputList)
Definition: TriggerHistSvcConfig.py:8
python.TriggerHistSvcConfig.TriggerHistSvcConfig
def TriggerHistSvcConfig(flags)
Definition: TriggerHistSvcConfig.py:17