2 import FWCore.ParameterSet.Config
as cms
4 rpcRecHits = cms.EDProducer(
"RPCRecHitProducer",
5 recAlgoConfig = cms.PSet(
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')
16 rpcNewRecHits = cms.EDProducer(
"RPCRecHitProducer",
17 recAlgoConfig = cms.PSet(
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')
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"