diff --git a/Configuration/DataProcessing/python/Reco.py b/Configuration/DataProcessing/python/Reco.py index 443d4ae45849e..dd77ee60d9ad7 100644 --- a/Configuration/DataProcessing/python/Reco.py +++ b/Configuration/DataProcessing/python/Reco.py @@ -61,14 +61,17 @@ def promptReco(self, globalTag, **args): miniAODStep = '' nanoAODStep = '' + if not 'customs' in args: + args['customs']= [] if 'outputs' in args: - print(args['outputs']) + print(args['outputs']) for a in args['outputs']: if a['dataTier'] == 'MINIAOD': - miniAODStep = ',PAT' + miniAODStep = ',PAT' if a['dataTier'] in ['NANOAOD', 'NANOEDMAOD']: - nanoAODStep = ',NANO' + nanoAODStep = ',NANO' + args['customs'].append('PhysicsTools/NanoAOD/nano_cff.nanoL1TrigObjCustomize') self._checkRepackedFlag(options, **args)