Skip to content

Commit

Permalink
Merge pull request #23848 from davidlange6/printMig_180718T4_SimMuon_…
Browse files Browse the repository at this point in the history
…DTDigitizer

Print function migration for SimMuon_DTDigitizer
  • Loading branch information
cmsbuild committed Jul 20, 2018
2 parents 73fbf83 + 2bfb2e5 commit 1b88e16
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions SimMuon/DTDigitizer/python/dtChamberMasker_cff.py
@@ -1,3 +1,4 @@
from __future__ import print_function
import FWCore.ParameterSet.Config as cms
import sys

Expand Down Expand Up @@ -47,10 +48,10 @@ def appendDTChamberMaskerAtHLT(process):

process.filteredHltDtDigiSequence = cms.Sequence(process.preHltDtDigis + process.hltMuonDTDigis)
if hasattr(process,'HLTMuonLocalRecoSequence') :
print "1"
print("1")
process.HLTMuonLocalRecoSequence.replace(process.hltMuonDTDigis, process.filteredHltDtDigiSequence)
if hasattr(process,'HLTMuonLocalRecoMeanTimerSequence') :
print "2"
print("2")
process.HLTMuonLocalRecoMeanTimerSequence.replace(process.hltMuonDTDigis, process.filteredHltDtDigiSequence)

process.globalReplace("hltMuonDTDigis",filteredHltDtDigiSequence)
Expand Down

0 comments on commit 1b88e16

Please sign in to comment.