38 if hasattr(process,
'hltMuonDTDigis')
and \
39 ( hasattr(process,
'HLTMuonLocalRecoSequence')
or \
40 hasattr(process,
'HLTMuonLocalRecoMeanTimerSequence')) :
42 sys.stderr.write(
"[appendDTChamberMasker] : Found hltMuonDTDigis, applying filter\n")
44 process.preHltDtDigis = process.hltMuonDTDigis.clone()
45 process.hltMuonDTDigis = _dtChamberMasker.clone()
47 process.hltMuonDTDigis.digiTag =
"preHltDtDigis"
49 process.filteredHltDtDigiSequence = cms.Sequence(process.preHltDtDigis + process.hltMuonDTDigis)
50 if hasattr(process,
'HLTMuonLocalRecoSequence') :
52 process.HLTMuonLocalRecoSequence.replace(process.hltMuonDTDigis, process.filteredHltDtDigiSequence)
53 if hasattr(process,
'HLTMuonLocalRecoMeanTimerSequence') :
55 process.HLTMuonLocalRecoMeanTimerSequence.replace(process.hltMuonDTDigis, process.filteredHltDtDigiSequence)
57 process.globalReplace(
"hltMuonDTDigis",filteredHltDtDigiSequence)
59 if hasattr(process,
"RandomNumberGeneratorService") :
60 process.RandomNumberGeneratorService.hltMuonDTDigis = cms.PSet(
61 initialSeed = cms.untracked.uint32(789342)
64 process.RandomNumberGeneratorService = cms.Service(
65 "RandomNumberGeneratorService",
66 hltMuonDTDigis = cms.PSet(initialSeed = cms.untracked.uint32(789342))