7 from AthenaConfiguration.ComponentFactory
import CompFactory
8 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
12 '''Method to configure the ReadTriggerDecision algorithm'''
19 from InDetConfig.InDetTrackSelectionToolConfig
import InDetTrackSelectionTool_Loose_Cfg
24 acc.addEventAlgo(CompFactory.ReadxAOD(name =
"ReadxAOD",
26 TrackSelectionTool = trackSelectionTool,
27 TrackParticlesKey =
"InDetTrackParticles"))
31 if __name__ ==
"__main__":
33 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
34 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
40 from AthenaConfiguration.TestDefaults
import defaultTestFiles
43 flags.Input.Files = defaultTestFiles.AOD_RUN3_MC
46 flags.Exec.MaxEvents = 1000
52 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
57 sys.exit(cfg.run().isFailure())