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.simMuonME0Digis = _me0ChamberMasker.clone()
14 process.simMuonME0ReDigis = simMuonME0ReDigis.clone()
15 process.simMuonME0Digis.digiTag = cms.InputTag(
"simMuonME0Digis", \
16 processName = cms.InputTag.skipCurrentProcess())
18 process.filteredME0DigiSequence = cms.Sequence( process.simMuonME0Digis
19 + process.simMuonME0ReDigis )
21 process.RawToDigi += process.filteredME0DigiSequence
def appendME0ChamberMaskerAtReco(process)