37 if hasattr(process,
'hltMuonDTDigis')
and \
38 ( hasattr(process,
'HLTMuonLocalRecoSequence')
or \
39 hasattr(process,
'HLTMuonLocalRecoMeanTimerSequence')) :
41 sys.stderr.write(
"[appendDTChamberMasker] : Found hltMuonDTDigis, applying filter\n")
43 process.preHltDtDigis = process.hltMuonDTDigis.clone()
44 process.hltMuonDTDigis = _dtChamberMasker.clone()
46 process.hltMuonDTDigis.digiTag =
"preHltDtDigis" 48 process.filteredHltDtDigiSequence = cms.Sequence(process.preHltDtDigis + process.hltMuonDTDigis)
49 if hasattr(process,
'HLTMuonLocalRecoSequence') :
51 process.HLTMuonLocalRecoSequence.replace(process.hltMuonDTDigis, process.filteredHltDtDigiSequence)
52 if hasattr(process,
'HLTMuonLocalRecoMeanTimerSequence') :
54 process.HLTMuonLocalRecoMeanTimerSequence.replace(process.hltMuonDTDigis, process.filteredHltDtDigiSequence)
56 process.globalReplace(
"hltMuonDTDigis",filteredHltDtDigiSequence)
58 if hasattr(process,
"RandomNumberGeneratorService") :
59 process.RandomNumberGeneratorService.hltMuonDTDigis = cms.PSet(
60 initialSeed = cms.untracked.uint32(789342)
63 process.RandomNumberGeneratorService = cms.Service(
64 "RandomNumberGeneratorService",
65 hltMuonDTDigis = cms.PSet(initialSeed = cms.untracked.uint32(789342))
def appendDTChamberMaskerAtHLT(process)
S & print(S &os, JobReport::InputFile const &f)