11 if hasattr(process,
'RawToDigi') :
13 sys.stderr.write(
"[appendGEMChamberMasker] : Found RawToDigi, appending filter\n")
15 process.simMuonGEMPadDigis = simMuonGEMPadDigis.clone()
16 process.simMuonGEMPadDigiClusters = simMuonGEMPadDigiClusters.clone()
17 process.simMuonGEMDigis = _gemChamberMasker.clone()
18 process.simMuonGEMDigis.digiTag = cms.InputTag(
"simMuonGEMDigis", \
19 processName = cms.InputTag.skipCurrentProcess())
21 process.filteredGEMDigiSequence = cms.Sequence( process.simMuonGEMDigis \
22 + process.simMuonGEMPadDigis \
23 + process.simMuonGEMPadDigiClusters)
25 process.RawToDigi += process.filteredGEMDigiSequence
30 def appendGEMChamberMaskerAtReco(process)