ATLAS Offline Software
Loading...
Searching...
No Matches
FullReco_RDO_Run2.py
Go to the documentation of this file.
1#!/usr/bin/env athena.py
2# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
4# Example of configuring full reconstruction from RDO for Run2.
5
6from AthenaConfiguration.AllConfigFlags import initConfigFlags
7flags = initConfigFlags()
8
9from AthenaConfiguration.TestDefaults import defaultTestFiles
10flags.Input.Files = defaultTestFiles.RDO_RUN2
11
12flags.Output.AODFileName = 'myAOD.pool.root'
13flags.Output.ESDFileName = 'myESD.pool.root'
14flags.Exec.MaxEvents = 10
15
16from AthenaConfiguration.TestDefaults import defaultConditionsTags
17from AthenaConfiguration.DetectorConfigFlags import setupDetectorFlags
18setupDetectorFlags(flags, None,
19 use_metadata=True,
20 toggle_geometry=True,
21 keep_beampipe=True)
22flags.IOVDb.GlobalTag = defaultConditionsTags.RUN2_MC
23flags.fillFromArgs()
24flags.lock()
25
26from RecJobTransforms.RecoSteering import RecoSteering
27cfg = RecoSteering(flags)
28
29cfg.run (flags.Exec.MaxEvents)