CMS 3D CMS Logo

rpcRecHits_cfi.py
Go to the documentation of this file.
1 
2 import FWCore.ParameterSet.Config as cms
3 
4 rpcRecHits = cms.EDProducer("RPCRecHitProducer",
5  recAlgoConfig = cms.PSet(
6 
7  ),
8  recAlgo = cms.string('RPCRecHitStandardAlgo'),
9  rpcDigiLabel = cms.InputTag('muonRPCDigis'),
10  maskSource = cms.string('File'),
11  maskvecfile = cms.FileInPath('RecoLocalMuon/RPCRecHit/data/RPCMaskVec.dat'),
12  deadSource = cms.string('File'),
13  deadvecfile = cms.FileInPath('RecoLocalMuon/RPCRecHit/data/RPCDeadVec.dat')
14 )
15 
16 #disabling DIGI2RAW,RAW2DIGI chain for Phase2
17 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
18 phase2_muon.toModify(rpcRecHits, rpcDigiLabel = cms.InputTag('simMuonRPCDigis'))
19 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
20 (premix_stage2 & phase2_muon).toModify(rpcRecHits,
21  rpcDigiLabel = "mixData"
22 )