1 import FWCore.ParameterSet.Config
as cms
4 from SimMuon.GEMDigitizer.gemChamberMasker_cfi
import gemChamberMasker
as _gemChamberMasker
9 if hasattr(process,
'RawToDigi') :
11 sys.stderr.write(
"[appendGEMChamberMasker] : Found RawToDigi, appending filter\n")
13 process.simMuonGEMDigis = _gemChamberMasker.clone()
14 process.simMuonGEMDigis.digiTag = cms.InputTag(
"simMuonGEMDigis", \
15 processName = cms.InputTag.skipCurrentProcess())
17 process.filteredGEMDigiSequence = cms.Sequence( process.simMuonGEMDigis)
19 process.RawToDigi += process.filteredGEMDigiSequence
def appendGEMChamberMaskerAtReco(process)