CMS 3D CMS Logo

me0ChamberMasker_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import sys
3 
4 from SimMuon.GEMDigitizer.me0ChamberMasker_cfi import me0ChamberMasker as _me0ChamberMasker
5 from SimMuon.GEMDigitizer.muonME0PseudoReDigis_cfi import simMuonME0PseudoReDigis
6 
8 
9  if hasattr(process,'RawToDigi') :
10 
11  sys.stderr.write("[appendME0ChamberMasker] : Found RawToDigi, appending filter\n")
12 
13  process.simMuonME0PseudoDigis = _me0ChamberMasker.clone()
14  process.simMuonME0PseudoReDigis = simMuonME0PseudoReDigis.clone()
15  process.simMuonME0PseudoDigis.digiTag = cms.InputTag("simMuonME0PseudoDigis", \
16  processName = cms.InputTag.skipCurrentProcess())
17 
18  process.filteredME0DigiSequence = cms.Sequence( process.simMuonME0PseudoDigis
19  + process.simMuonME0PseudoReDigis )
20 
21  process.RawToDigi += process.filteredME0DigiSequence
22 
23  return process
def appendME0ChamberMaskerAtReco(process)
configuration to build fast L1 ME0 trigger stubs pseudo pads are created from pseudo digis with 192 s...