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 flags.Input.Files = ['/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/PhaseIIUpgrade/RDO/ATLAS-P2-RUN4-03-00-01/mc21_14TeV.601229.PhPy8EG_A14_ttbar_hdamp258p75_SingleLep.recon.RDO.e8514_s4345_r15583_tid39626672_00/RDO.39626672._001121.pool.root.1']
10 
11 flags.Output.AODFileName = 'myAOD.pool.root'
12 flags.Output.ESDFileName = 'myESD.pool.root'
13 flags.Exec.MaxEvents = 10
14 
15 from AthenaConfiguration.DetectorConfigFlags import setupDetectorFlags
16 setupDetectorFlags(flags, None,
17  use_metadata=True,
18  toggle_geometry=True,
19  keep_beampipe=True)
20 flags.fillFromArgs()
21 flags.lock()
22 
23 from RecJobTransforms.RecoSteering import RecoSteering
24 cfg = RecoSteering(flags)
25 
26 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