CMS 3D CMS Logo

cscDigiValidation_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 cscDigiValidation = DQMEDAnalyzer('CSCDigiValidation',
5  simHitsTag = cms.InputTag("mix", "g4SimHitsMuonCSCHits"),
6  wireDigiTag = cms.InputTag("simMuonCSCDigis","MuonCSCWireDigi"),
7  outputFile = cms.string(''),
8  stripDigiTag = cms.InputTag("simMuonCSCDigis","MuonCSCStripDigi"),
9  comparatorDigiTag = cms.InputTag("simMuonCSCDigis","MuonCSCComparatorDigi"),
10  alctDigiTag = cms.InputTag("simCscTriggerPrimitiveDigis"),
11  clctDigiTag = cms.InputTag("simCscTriggerPrimitiveDigis"),
12  doSim = cms.bool(False)
13 )
14 
15 from Configuration.Eras.Modifier_fastSim_cff import fastSim
16 fastSim.toModify(cscDigiValidation, simHitsTag = "mix:MuonSimHitsMuonCSCHits")
17 
18 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
19 premix_stage2.toModify(cscDigiValidation,
20  wireDigiTag = "mixData:MuonCSCWireDigisDM",
21  stripDigiTag = "mixData:MuonCSCStripDigisDM",
22  comparatorDigiTag = "mixData:MuonCSCComparatorDigisDM",
23 )
24