ATLAS Offline Software
Reconstruction
eflowRec
python
PFRunESDtoAOD_WithJetsTausMET_mc21_13p6TeV.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3
if
__name__==
"__main__"
:
4
5
from
AthenaConfiguration.AllConfigFlags
import
initConfigFlags
6
cfgFlags =
initConfigFlags
()
7
cfgFlags.Concurrency.NumThreads=8
8
cfgFlags.Input.isMC=
True
9
cfgFlags.Input.Files = [
"/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/PFlowTests/mc21_13p6TeV/mc21_13p6TeV.601589.PhPy8EG_A14_ttbar_hdamp258p75_nonallhadron.recon.ESD.e8485_s3986_r14060/ESD.31373517._000035.pool.root.1"
]
10
cfgFlags.Output.AODFileName=
"output_AOD.root"
11
cfgFlags.Output.doWriteAOD=
True
12
cfgFlags.Tau.doDiTauRec =
False
#does not run from ESD - tries to use aux variables which do not exist
13
cfgFlags.fillFromArgs()
14
cfgFlags.lock()
15
16
from
AthenaConfiguration.MainServicesConfig
import
MainServicesCfg
17
cfg =
MainServicesCfg
(cfgFlags)
18
19
from
AthenaPoolCnvSvc.PoolReadConfig
import
PoolReadCfg
20
cfg.merge(
PoolReadCfg
(cfgFlags))
21
22
from
eflowRec.PFRun3Config
import
PFFullCfg
23
cfg.merge(
PFFullCfg
(cfgFlags,runTauReco=
True
))
24
25
from
eflowRec.PFRun3Config
import
PFTauFELinkCfg
26
cfg.merge(
PFTauFELinkCfg
(cfgFlags))
27
28
from
eflowRec.PFRun3Remaps
import
ListRemaps
29
30
list_remaps=
ListRemaps
(cfg,
'AOD'
)
31
for
mapping
in
list_remaps:
32
cfg.merge(mapping)
33
34
from
PFlowUtils.configureRecoForPFlow
import
configureRecoForPFlowCfg
35
cfg.merge(
configureRecoForPFlowCfg
(cfgFlags))
36
37
cfg.run()
PFRun3Config.PFFullCfg
def PFFullCfg(inputFlags, runTauReco=False, **kwargs)
Definition:
PFRun3Config.py:8
configureRecoForPFlow.configureRecoForPFlowCfg
def configureRecoForPFlowCfg(cfgFlags)
Definition:
configureRecoForPFlow.py:26
PFRun3Remaps.ListRemaps
def ListRemaps(cfg, streams=[])
Definition:
PFRun3Remaps.py:3
PFRun3Config.PFTauFELinkCfg
def PFTauFELinkCfg(inputFlags, **kwargs)
Definition:
PFRun3Config.py:139
python.MainServicesConfig.MainServicesCfg
def MainServicesCfg(flags, LoopMgr='AthenaEventLoopMgr')
Definition:
MainServicesConfig.py:260
python.AllConfigFlags.initConfigFlags
def initConfigFlags()
Definition:
AllConfigFlags.py:19
python.PoolReadConfig.PoolReadCfg
def PoolReadCfg(flags)
Definition:
PoolReadConfig.py:69
Generated on Thu Mar 13 2025 21:16:19 for ATLAS Offline Software by
1.8.18