4 if __name__ ==
'__main__':
6 from add_subsystems
import add_subsystems
8 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
10 parser = flags.getArgumentParser()
17 help=
"Decoding L1Calo inputs",
24 help=
"Write out dumps",
30 help=
"Write out dumps: tersely",
34 from AthenaConfiguration.TestDefaults
import defaultTestFiles
35 flags.Input.Files = defaultTestFiles.RAW_RUN3
38 flags.Output.AODFileName =
'AOD.pool.root'
39 flags.Common.isOnline =
not flags.Input.isMC
40 flags.Concurrency.NumThreads = 1
41 flags.Concurrency.NumConcurrentEvents = 1
42 flags.Trigger.doLVL1 =
True
44 flags.Scheduler.ShowDataDeps =
True
45 flags.Scheduler.CheckDependencies =
True
46 flags.Scheduler.ShowDataFlow =
True
47 flags.Trigger.EDMVersion = 3
48 flags.Trigger.doLVL1 =
True
49 flags.Trigger.enableL1CaloPhase1 =
True
52 from AthenaConfiguration.DetectorConfigFlags
import setupDetectorFlags
56 args = flags.fillFromArgs(parser=parser)
60 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
65 from TrigConfigSvc.TrigConfigSvcCfg
import L1ConfigSvcCfg, generateL1Menu
69 from AthenaConfiguration.Enums
import Format
70 if flags.Input.Format == Format.POOL:
71 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
74 subsystems = (
'eFex',)
75 acc.merge(
add_subsystems(flags, subsystems, args, OutputLevel=flags.Exec.OutputLevel))
77 from TriggerJobOpts.TriggerByteStreamConfig
import ByteStreamReadCfg
80 from TrigCaloRec.TrigCaloRecConfig
import hltCaloCellSeedlessMakerCfg
84 from Egamma1_LArStrip_FexCfg
import Egamma1_LArStrip_FexCfg
86 OutputLevel=flags.Exec.OutputLevel,
87 makeCaloCellContainerChecks=
False,
89 dumpTerse=args.dumpTerse))
91 if acc.run().isFailure():