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")
26 elif flags.Trigger.Online.useOnlineWebdaqHistSvc:
27 log.info(
"Configuring online Webdaq HistSvc")
28 histSvc = CompFactory.WebdaqHistSvc(
"THistSvc")
30 log.info(
"Configuring offline THistSvc")
32 if flags.Trigger.L1MuonSim.WriteNSWDebugNtuple:
33 output += [
"NSWL1Simulation DATAFILE='NSWL1Simulation.root' OPT='RECREATE'"]
37 histSvc = CompFactory.THistSvc(
"THistSvc", Output = output)
39 acc.addService( histSvc )