CMS 3D CMS Logo

muonHitsValidation_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # SimHits Validation Analyzer after Simulation
4 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
5 validSimHit = DQMEDAnalyzer('MuonSimHitsValidAnalyzer',
6  # Name of the root file which will contain the histos
7  DT_outputFile = cms.untracked.string(''),
8  Name = cms.untracked.string('MuonSimHitsValidAnalyzer'),
9  RPCHitsSrc = cms.InputTag("g4SimHits","MuonRPCHits"),
10  Verbosity = cms.untracked.int32(0),
11  ProvenanceLookup = cms.PSet(
12  PrintProvenanceInfo = cms.untracked.bool(False),
13  GetAllProvenances = cms.untracked.bool(False)
14  ),
15  DTHitsSrc = cms.InputTag("g4SimHits","MuonDTHits"),
16  CSCHitsSrc = cms.InputTag("g4SimHits","MuonCSCHits"),
17  Label = cms.string('Hits')
18 )
19 
20 from Configuration.Eras.Modifier_fastSim_cff import fastSim
21 fastSim.toModify(validSimHit,
22  DTHitsSrc = "MuonSimHits:MuonDTHits",
23  CSCHitsSrc = "MuonSimHits:MuonCSCHits",
24  RPCHitsSrc = "MuonSimHits:MuonRPCHits"
25 )