1 import FWCore.ParameterSet.Config
as cms
4 from SimMuon.GEMDigitizer.me0ChamberMasker_cfi
import me0ChamberMasker
as _me0ChamberMasker
9 if hasattr(process,
'RawToDigi') :
11 sys.stderr.write(
"[appendME0ChamberMasker] : Found RawToDigi, appending filter\n")
13 process.simMuonME0PseudoDigis = _me0ChamberMasker.clone()
14 process.simMuonME0PseudoReDigis = simMuonME0PseudoReDigis.clone()
15 process.simMuonME0PseudoDigis.digiTag = cms.InputTag(
"simMuonME0PseudoDigis", \
16 processName = cms.InputTag.skipCurrentProcess())
18 process.filteredME0DigiSequence = cms.Sequence( process.simMuonME0PseudoDigis
19 + process.simMuonME0PseudoReDigis )
21 process.RawToDigi += process.filteredME0DigiSequence