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-2024 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.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)
Generated on
for ATLAS Offline Software by
1.17.0