Skip to content
Snippets Groups Projects
Commit bca94bbd authored by James Beacham's avatar James Beacham
Browse files

Merge branch 'cherry-pick-37d93e8e [formerly 8121f3fd2e]-21.0' into '21.0'

Sweeping !14558 from 21.2 to 21.0.
Fixing the PATJobTransforms to allow the MCP code to be processed on tier0

See merge request atlas/athena!14570

Former-commit-id: 3166a6a4567ff132f9a033028e4d0b84adb8e016
parents 12e3b336 94e2e95f
No related branches found
No related tags found
No related merge requests found
......@@ -135,8 +135,7 @@ if hasattr(runArgs,"outputNTUP_MCPScaleFile"):
from MuonPtCalibNtupleMaker import MuonPtCalibNtupleMaker_Config
MuonPtCalibNtupleMaker_Config.MuonScaleConfig(runArgs.outputNTUP_MCPScaleFile)
#Import D3PD flags before preExec, for convenience
from D3PDMakerConfig.D3PDProdFlags import oldProdFlags
## Pre-exec
if hasattr(runArgs,"preExec"):
......@@ -169,9 +168,14 @@ else:
if hasattr(runArgs,"topOptions"): include(runArgs.topOptions)
else: include( "RecExCommon/RecExCommon_topOptions.py" )
## Make "old style" D3PDs.
for c in SetupOutputDPDs(runArgs, [oldProdFlags]): c()
try:
#Import D3PD flags before preExec, for convenience
from D3PDMakerConfig.D3PDProdFlags import oldProdFlags
## Make "old style" D3PDs.
for c in SetupOutputDPDs(runArgs, [oldProdFlags]): c()
except ImportError:
print "WARNING: Old prod flags could not be included this. Only OK if you're using job transforms without the AtlasAnalysis project."
## Offline prescales (has to be *after* the topOptions)
if hasattr(runArgs,"prescales"):
recoLog.info( '**** DPD offline prescale arguments:' )
......
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