CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rpcRecHitValidation_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
4 rpcRecHitV = DQMEDAnalyzer('RPCRecHitValid',
5  subDir = cms.string("RPC/RPCRecHitV/SimVsReco"),
6  simHit = cms.InputTag("g4SimHits", "MuonRPCHits"),
7  recHit = cms.InputTag("rpcRecHits"),
8  simTrack = cms.InputTag("mix", "MergedTrackTruth"),
9  simHitAssoc = cms.InputTag("simHitTPAssocProducer"),
10  muon = cms.InputTag("muons"),
11 )
12 
13 rpcRecHitValidation_step = cms.Sequence(rpcRecHitV)
14 
15 from Configuration.Eras.Modifier_fastSim_cff import fastSim
16 fastSim.toModify(rpcRecHitV, simHit = "MuonSimHits:MuonRPCHits")
17 
18 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
19 premix_stage2.toModify(rpcRecHitV, simTrack = "mixData:MergedTrackTruth")