Skip to content

Commit

Permalink
add CSCObjectMapESProducer and DTObjectMapESProducer to the HLT confi…
Browse files Browse the repository at this point in the history
…guration
  • Loading branch information
fwyzard committed Aug 25, 2015
1 parent a280cca commit db4550f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion HLTrigger/Configuration/python/customizeHLTforCMSSW.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,23 @@ def customiseFor10234(process):
delattr(process.hltCaloStage1Digis, 'FedId')
return process


# migrate RPCPointProducer to a global::EDProducer (PR #10927)
def customiseFor10927(process):
if not hasattr(process, 'CSCObjectMapESProducer'):
process.CSCObjectMapESProducer = cms.ESProducer( 'CSCObjectMapESProducer' )
if not hasattr(process, 'DTObjectMapESProducer'):
process.DTObjectMapESProducer = cms.ESProducer( 'DTObjectMapESProducer' )
return process


# CMSSW version specific customizations
def customiseHLTforCMSSW(process,menuType="GRun",fastSim=False):
def customiseHLTforCMSSW(process, menuType="GRun", fastSim=False):
import os
cmsswVersion = os.environ['CMSSW_VERSION']

if cmsswVersion >= "CMSSW_7_5":
process = customiseFor10927(process)
process = customiseFor9232(process)
process = customiseFor8679(process)
process = customiseFor8356(process)
Expand All @@ -118,4 +129,5 @@ def customiseHLTforCMSSW(process,menuType="GRun",fastSim=False):
process = customizeHLTforNewJetCorrectors(process)
if cmsswVersion >= "CMSSW_7_4":
process = customiseFor10234(process)

return process

0 comments on commit db4550f

Please sign in to comment.