ATLAS Offline Software
Loading...
Searching...
No Matches
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
6from AthenaConfiguration.AllConfigFlags import initConfigFlags
7flags = initConfigFlags()
8
9flags.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
11flags.Output.AODFileName = 'myAOD.pool.root'
12flags.Output.ESDFileName = 'myESD.pool.root'
13flags.Exec.MaxEvents = 10
14
15from AthenaConfiguration.DetectorConfigFlags import setupDetectorFlags
16setupDetectorFlags(flags, None,
17 use_metadata=True,
18 toggle_geometry=True,
19 keep_beampipe=True)
20flags.fillFromArgs()
21flags.lock()
22
23from RecJobTransforms.RecoSteering import RecoSteering
24cfg = RecoSteering(flags)
25
26cfg.run (flags.Exec.MaxEvents)