Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:47

0001 from SimMuon.MCTruth.muonAssociatorByHitsNoSimHitsHelper_cfi import * 
0002 
0003 muonSimClassifier = cms.EDProducer("MuonSimClassifier",
0004     muons = cms.InputTag("muons"),
0005     trackType = cms.string("glb_or_trk"),  # 'inner','outer','global','segments','glb_or_trk'
0006     trackingParticles = cms.InputTag("mix","MergedTrackTruth"), # default TrackingParticle collection (should exist in the Event)      
0007     associatorLabel   = cms.InputTag("muonAssociatorByHitsNoSimHitsHelper"),
0008     decayRho  = cms.double(200), # to classify differently decay muons included in ppMuX
0009     decayAbsZ = cms.double(400), # and decay muons that could not be in ppMuX
0010     linkToGenParticles = cms.bool(True),          # produce also a collection of GenParticles for secondary muons
0011     genParticles = cms.InputTag("genParticles"),  # and associations to primary and secondaries
0012 )
0013 
0014 muonSimClassificationByHitsTask = cms.Task(
0015     muonAssociatorByHitsNoSimHitsHelper,muonSimClassifier
0016 )