Skip to content

Commit

Permalink
Merge pull request #33256 from jpata/lumiprod_recotlr
Browse files Browse the repository at this point in the history
remove LumiProducer from RecoTLR
  • Loading branch information
cmsbuild committed Mar 24, 2021
2 parents b1665f4 + 5d97531 commit 6399684
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions Configuration/DataProcessing/python/RecoTLR.py
Expand Up @@ -9,17 +9,6 @@ def _swapOfflineBSwithOnline(process):
process.offlineBeamSpot = onlineBeamSpotProducer.clone()
return process

def _addLumiProducer(process):
if not hasattr(process,'lumiProducer'):
#unscheduled..
from RecoLuminosity.LumiProducer.lumiProducer_cff import lumiProducer,LumiDBService
process.lumiProducer=lumiProducer
#if it's scheduled
if hasattr(process, 'reconstruction_step'):
process.reconstruction_step+=process.lumiProducer

return process

def _overridesFor50ns(process):
process.bunchSpacingProducer.bunchSpacingOverride = cms.uint32(50)
process.bunchSpacingProducer.overrideBunchSpacing = cms.bool(True)
Expand Down Expand Up @@ -150,7 +139,6 @@ def customiseExpress(process):
##############################################################################
def customisePrompt(process):
process= customisePPData(process)
process = _addLumiProducer(process)

return process

Expand All @@ -172,8 +160,6 @@ def customiseExpressHI(process):
def customisePromptHI(process):
process = customiseCommonHI(process)

process = _addLumiProducer(process)

return process

##############################################################################
Expand Down

0 comments on commit 6399684

Please sign in to comment.