4 from AthenaConfiguration.ComponentFactory
import CompFactory
6 from AthenaCommon.Logging
import logging
7 logger = logging.getLogger(__name__)
9 logger.setLevel(VERBOSE)
13 if __name__ ==
'__main__':
14 from AthenaCommon.Logging
import logging
19 log = logging.getLogger(
'globalSim')
23 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
25 parser = flags.getArgumentParser()
32 help=
"Decoding L1Calo inputs",
36 from AthenaConfiguration.TestDefaults
import defaultTestFiles
37 flags.Input.Files = defaultTestFiles.RAW_RUN3
40 flags.Concurrency.NumThreads = 1
41 flags.Concurrency.NumConcurrentEvents = 1
43 flags.Scheduler.ShowDataDeps =
True
44 flags.Scheduler.CheckDependencies =
True
45 flags.Scheduler.ShowDataFlow =
True
46 flags.Trigger.EDMVersion = 3
47 flags.Trigger.enableL1CaloPhase1 =
True
50 flags.Output.AODFileName =
'AOD.pool.root'
51 flags.Trigger.triggerMenuSetup =
'PhysicsP1_pp_run3_v1'
53 flags.GeoModel.AtlasVersion=
"ATLAS-R3S-2021-03-01-00"
54 flags.Common.isOnline =
not flags.Input.isMC
57 args = flags.fillFromArgs(parser=parser)
62 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
65 from TriggerJobOpts.TriggerByteStreamConfig
import ByteStreamReadCfg
69 from TrigConfigSvc.TrigConfigSvcCfg
import L1ConfigSvcCfg, generateL1Menu
73 subsystems = (
'jFex',
'eFex')
74 from add_subsystems
import add_subsystems
79 OutputLevel=flags.Exec.OutputLevel))
81 from GlobalSimulation.GlobalL1TopoSimulation
import (
82 GlobalL1TopoSimulationCfg,
88 roib2topo = CompFactory.LVL1.RoiB2TopoInputDataCnv(
89 name=
'RoiB2TopoInputDataCnv')
91 roib2topo.OutputLevel = algLogLevel
92 acc.addEventAlgo(roib2topo, sequenceName=
"AthAlgSeq")
94 from L1TopoByteStream.L1TopoByteStreamConfig
import L1TopoByteStreamCfg
97 if acc.run().isFailure():