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 rpcNewRecHits = cms.EDProducer("RPCRecHitProducer",
17  recAlgoConfig = cms.PSet(
18 
19  ),
20  recAlgo = cms.string('RPCRecHitStandardAlgo'),
21  rpcDigiLabel = cms.InputTag('muonRPCNewDigis'),
22  maskSource = cms.string('File'),
23  maskvecfile = cms.FileInPath('RecoLocalMuon/RPCRecHit/data/RPCMaskVec.dat'),
24  deadSource = cms.string('File'),
25  deadvecfile = cms.FileInPath('RecoLocalMuon/RPCRecHit/data/RPCDeadVec.dat')
26 )
27 
28 #disabling DIGI2RAW,RAW2DIGI chain for Phase2
29 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
30 phase2_muon.toModify(rpcRecHits, rpcDigiLabel = cms.InputTag('simMuonRPCDigis'))
31 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
32 (premix_stage2 & phase2_muon).toModify(rpcRecHits,
33  rpcDigiLabel = "mixData"
34 )