CMS 3D CMS Logo

gemChamberMasker_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import sys
3 
4 from SimMuon.GEMDigitizer.gemChamberMasker_cfi import gemChamberMasker as _gemChamberMasker
5 
6 
8 
9  if hasattr(process,'RawToDigi') :
10 
11  sys.stderr.write("[appendGEMChamberMasker] : Found RawToDigi, appending filter\n")
12 
13  process.simMuonGEMDigis = _gemChamberMasker.clone()
14  process.simMuonGEMDigis.digiTag = cms.InputTag("simMuonGEMDigis", \
15  processName = cms.InputTag.skipCurrentProcess())
16 
17  process.filteredGEMDigiSequence = cms.Sequence( process.simMuonGEMDigis)
18 
19  process.RawToDigi += process.filteredGEMDigiSequence
20 
21  return process
def appendGEMChamberMaskerAtReco(process)