CMS 3D CMS Logo

muonSimClassificationByHits_cff.py
Go to the documentation of this file.
2 
3 muonSimClassifier = cms.EDProducer("MuonSimClassifier",
4  muons = cms.InputTag("muons"),
5  trackType = cms.string("glb_or_trk"), # 'inner','outer','global','segments','glb_or_trk'
6  trackingParticles = cms.InputTag("mix","MergedTrackTruth"), # default TrackingParticle collection (should exist in the Event)
7  associatorLabel = cms.InputTag("muonAssociatorByHitsNoSimHitsHelper"),
8  decayRho = cms.double(200), # to classify differently decay muons included in ppMuX
9  decayAbsZ = cms.double(400), # and decay muons that could not be in ppMuX
10  linkToGenParticles = cms.bool(True), # produce also a collection of GenParticles for secondary muons
11  genParticles = cms.InputTag("genParticles"), # and associations to primary and secondaries
12 )
13 
14 muonSimClassificationByHitsTask = cms.Task(
15  muonAssociatorByHitsNoSimHitsHelper,muonSimClassifier
16 )
muonAssociatorByHitsNoSimHitsHelper_cfi