Skip to content
Snippets Groups Projects
Commit 7320f747 authored by Edward Moyse's avatar Edward Moyse
Browse files

Fix for wrapping InDet config - don't use old AND new

parent 51e5f55d
No related branches found
No related tags found
5 merge requests!69091Fix correlated smearing bug in JER in JetUncertainties in 22.0,!58791DataQualityConfigurations: Modify L1Calo config for web display,!51674Fixing hotSpotInHIST for Run3 HIST,!50012RecExConfig: Adjust log message levels from GetRunNumber and GetLBNumber,!47550Fix new config wrapping for InDet and Muon, remove wrapping anti-patterns
......@@ -32,8 +32,6 @@ if jobproperties.CaloRecFlags.doCaloTopoCluster():
pdr.flag_domain('id')
if DetFlags.detdescr.ID_on():
protectedInclude( "InDetRecExample/InDetRec_jobOptions.py" )
AODFix_postInDetRec()
if jobproperties.InDetJobProperties.useNewConfig():
print('Wrapping InDet new configuration')
from AthenaConfiguration.ComponentAccumulator import CAtoGlobalWrapper
......@@ -46,7 +44,9 @@ if DetFlags.detdescr.ID_on():
log = logging.getLogger( "Py:conf2toConfigurable" )
log.setLevel(DEBUG)
CAtoGlobalWrapper(TrackRecoCfg,ConfigFlags)
else:
protectedInclude( "InDetRecExample/InDetRec_jobOptions.py" )
AODFix_postInDetRec()
# functionality : FTK reconstruction
if DetFlags.detdescr.FTK_on() :
......
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