File indexing completed on 2024-04-06 12:31:57
0001 import FWCore.ParameterSet.Config as cms
0002 from Validation.MuonHits.muonSimHitMatcherPSet import *
0003 from Validation.CSCRecHits.cscRecHitPSet import *
0004
0005 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0006 cscRecHitValidation = DQMEDAnalyzer(
0007 'CSCRecHitValidation',
0008 muonSimHitMatcherPSet,
0009 cscRecHitPSet,
0010 doSim = cms.bool(True),
0011 useGEMs = cms.bool(False),
0012 simHitsTag = cms.InputTag("mix","g4SimHitsMuonCSCHits")
0013 )
0014
0015 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
0016 run3_GEM.toModify(cscRecHitValidation, useGEMs = True)
0017
0018 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0019 fastSim.toModify(cscRecHitValidation, simHitsTag = "mix:MuonSimHitsMuonCSCHits")