5 from AthenaCommon.Logging
import logging
6 log = logging.getLogger(
'TriggerHistSvcConfig')
9 """Build the Output list of the THistSvc ensuring minimum set of output files"""
11 if not any(
'EXPERT' in o
for o
in outputList):
12 outputList += [
"EXPERT DATAFILE='expert-monitoring.root' OPT='RECREATE'"]
18 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
19 from AthenaConfiguration.ComponentFactory
import CompFactory
23 if flags.Trigger.Online.useOnlineTHistSvc:
24 log.info(
"Configuring online TrigMonTHistSvc")
25 histSvc = CompFactory.TrigMonTHistSvc(
"THistSvc")
27 log.info(
"Configuring offline THistSvc")
29 if flags.Trigger.L1MuonSim.WriteNSWDebugNtuple:
30 output += [
"NSWL1Simulation DATAFILE='NSWL1Simulation.root' OPT='RECREATE'"]
34 histSvc = CompFactory.THistSvc(
"THistSvc", Output = output)
36 acc.addService( histSvc )