CMS 3D CMS Logo

dtDigiValidation_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 muondtdigianalyzer = DQMEDAnalyzer('MuonDTDigis',
5  # Label to retrieve Digis from the event
6  DigiLabel = cms.InputTag('simMuonDTDigis'),
7  # Label to retrieve SimHits from the event
8  SimHitLabel = cms.InputTag('g4SimHits', "MuonDTHits"),
9  # Name of the root file which will contain the histos
10  outputFile = cms.untracked.string(''),
11  # Switch on/off the verbosity
12  verbose = cms.untracked.bool(False)
13 )
14 
15 from Configuration.Eras.Modifier_fastSim_cff import fastSim
16 fastSim.toModify(muondtdigianalyzer, SimHitLabel = "MuonSimHits:MuonDTHits")
17 
18 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
19 premix_stage2.toModify(muondtdigianalyzer, DigiLabel = "mixData")