Skip to content
Snippets Groups Projects
Commit 0c72b69b authored by Mark Hodgkinson's avatar Mark Hodgkinson Committed by Tadej Novak
Browse files

Update usage of tracking convertors in PFlow Config

Update usage of tracking convertors in PFlow Config
parent 563bda28
No related branches found
No related tags found
No related merge requests found
......@@ -66,11 +66,6 @@ def configureRecoForPFlowCfg(cfgFlags):
metCA.addEventAlgo(getMETMakerAlg('AntiKt4EMPFlow'))
cfg.merge(metCA)
#This is needed to ensure the convertor is correctly configured for each LHC period
#Otherwise a default convertor is provided that is not correctly configured for e.g Run4
from TrkEventCnvTools.TrkEventCnvToolsConfig import TrkEventCnvSuperToolCfg
cfg.merge(TrkEventCnvSuperToolCfg(cfgFlags))
#Add metadata data to xAOD such that we can run workflows such as creating physval.root
# from the output AOD or making ntuples from the output AOD
cfg.merge( configureMetaDataForPFlowCfg(cfgFlags) )
......
......@@ -12,10 +12,15 @@ def PFFullCfg(inputFlags,runTauReco=False,**kwargs):
StoreGateSvc=CompFactory.StoreGateSvc
result.addService(StoreGateSvc("DetectorStore"))
#Alias calibrated topoclusters, if they exist already, such that overwrite won't fial
#Alias calibrated topoclusters, if they exist already, such that overwrite won't fail
from SGComps.AddressRemappingConfig import InputRenameCfg
result.merge(InputRenameCfg("xAOD::CaloClusterContainer","CaloCalTopoClusters",""))
#This is needed to ensure the convertor is correctly configured for each LHC period
#Otherwise a default convertor is provided that is not correctly configured for e.g Run4
from TrkEventCnvTools.TrkEventCnvToolsConfig import TrkEventCnvSuperToolCfg
result.merge(TrkEventCnvSuperToolCfg(inputFlags))
#setup magnetic field service
from MagFieldServices.MagFieldServicesConfig import AtlasFieldCacheCondAlgCfg
result.merge(AtlasFieldCacheCondAlgCfg(inputFlags))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment