ATLAS Offline Software
FullReco_RDO_Run4.py
Go to the documentation of this file.
1 #!/usr/bin/env athena.py --CA
2 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 
4 # Example of configuring full reconstruction from RDO for Run4.
5 
6 from AthenaConfiguration.AllConfigFlags import initConfigFlags
7 flags = initConfigFlags()
8 
9 from AthenaConfiguration.TestDefaults import defaultTestFiles
10 flags.Input.Files = defaultTestFiles.RDO_RUN4
11 
12 flags.Output.AODFileName = 'myAOD.pool.root'
13 flags.Output.ESDFileName = 'myESD.pool.root'
14 flags.Exec.MaxEvents = 10
15 
16 from AthenaConfiguration.DetectorConfigFlags import setupDetectorFlags
17 setupDetectorFlags(flags, None,
18  use_metadata=True,
19  toggle_geometry=True,
20  keep_beampipe=True)
21 flags.fillFromArgs()
22 flags.lock()
23 
24 from RecJobTransforms.RecoSteering import RecoSteering
25 cfg = RecoSteering(flags)
26 
27 cfg.run (flags.Exec.MaxEvents)
python.RecoSteering.RecoSteering
def RecoSteering(flags)
Definition: RecoSteering.py:6
python.DetectorConfigFlags.setupDetectorFlags
def setupDetectorFlags(flags, custom_list=None, use_metadata=False, toggle_geometry=False, validate_only=False, keep_beampipe=False)
Definition: DetectorConfigFlags.py:289
python.AllConfigFlags.initConfigFlags
def initConfigFlags()
Definition: AllConfigFlags.py:19