10 if hasattr(process,
'RawToDigi') :
12 sys.stderr.write(
"[appendME0ChamberMasker] : Found RawToDigi, appending filter\n")
14 process.simMuonME0PseudoDigis = _me0ChamberMasker.clone()
15 process.simMuonME0PseudoReDigis = simMuonME0PseudoReDigis.clone()
16 process.simMuonME0PseudoDigis.digiTag = cms.InputTag(
"simMuonME0PseudoDigis", \
17 processName = cms.InputTag.skipCurrentProcess())
19 process.filteredME0DigiSequence = cms.Sequence( process.simMuonME0PseudoDigis
20 + process.simMuonME0PseudoReDigis )
22 process.RawToDigi += process.filteredME0DigiSequence
def appendME0ChamberMaskerAtReco