test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 validSimHit = cms.EDAnalyzer("MuonSimHitsValidAnalyzer",
5  # Name of the root file which will contain the histos
6  DT_outputFile = cms.untracked.string(''),
7  Name = cms.untracked.string('MuonSimHitsValidAnalyzer'),
8  RPCHitsSrc = cms.InputTag("g4SimHits","MuonRPCHits"),
9  Verbosity = cms.untracked.int32(0),
10  ProvenanceLookup = cms.PSet(
11  PrintProvenanceInfo = cms.untracked.bool(False),
12  GetAllProvenances = cms.untracked.bool(False)
13  ),
14  DTHitsSrc = cms.InputTag("g4SimHits","MuonDTHits"),
15  CSCHitsSrc = cms.InputTag("g4SimHits","MuonCSCHits"),
16  Label = cms.string('Hits')
17 )
18 
19 from Configuration.StandardSequences.Eras import eras
20 if eras.fastSim.isChosen():
21  validSimHit.DTHitsSrc = cms.InputTag("MuonSimHits","MuonDTHits")
22  validSimHit.CSCHitsSrc = cms.InputTag("MuonSimHits","MuonCSCHits")
23  validSimHit.RPCHitsSrc = cms.InputTag("MuonSimHits","MuonRPCHits")
24