ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecExample
RecExRecoTest
python
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
6
from
AthenaConfiguration.AllConfigFlags
import
initConfigFlags
7
flags = initConfigFlags()
8
9
from
AthenaConfiguration.TestDefaults
import
defaultTestFiles
10
flags.Input.Files = defaultTestFiles.RDO_RUN2
11
12
flags.Output.AODFileName =
'myAOD.pool.root'
13
flags.Output.ESDFileName =
'myESD.pool.root'
14
flags.Exec.MaxEvents = 10
15
16
from
AthenaConfiguration.TestDefaults
import
defaultConditionsTags
17
from
AthenaConfiguration.DetectorConfigFlags
import
setupDetectorFlags
18
setupDetectorFlags(flags,
None
,
19
use_metadata=
True
,
20
toggle_geometry=
True
,
21
keep_beampipe=
True
)
22
flags.IOVDb.GlobalTag = defaultConditionsTags.RUN2_MC
23
flags.fillFromArgs()
24
flags.lock()
25
26
from
RecJobTransforms.RecoSteering
import
RecoSteering
27
cfg = RecoSteering(flags)
28
29
cfg.run (flags.Exec.MaxEvents)
Generated on
for ATLAS Offline Software by
1.17.0