Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:18

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # SimHits Validation Analyzer after Simulation
0004 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0005 validSimHit = DQMEDAnalyzer('MuonSimHitsValidAnalyzer',
0006     # Name of the root file which will contain the histos
0007     DT_outputFile = cms.untracked.string(''),
0008     Name = cms.untracked.string('MuonSimHitsValidAnalyzer'),
0009     RPCHitsSrc = cms.InputTag("g4SimHits","MuonRPCHits"),
0010     Verbosity = cms.untracked.int32(0),
0011     ProvenanceLookup = cms.PSet(
0012         PrintProvenanceInfo = cms.untracked.bool(False),
0013         GetAllProvenances = cms.untracked.bool(False)
0014     ),
0015     DTHitsSrc = cms.InputTag("g4SimHits","MuonDTHits"),
0016     CSCHitsSrc = cms.InputTag("g4SimHits","MuonCSCHits"),
0017     Label = cms.string('Hits')
0018 )
0019 
0020 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0021 fastSim.toModify(validSimHit,
0022     DTHitsSrc = "MuonSimHits:MuonDTHits",
0023     CSCHitsSrc = "MuonSimHits:MuonCSCHits",
0024     RPCHitsSrc = "MuonSimHits:MuonRPCHits"
0025 )