CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GenTrackMatcher_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 # Magnetic Field
7 
8 # Track Associators
10 
11 generalGenTrackMatcher = cms.EDProducer("GenTrackMatcher",
12  bestMatchByMaxValue = cms.untracked.bool(True),
13  trackingTruth = cms.untracked.InputTag("mix","MergedTrackTruth"),
14  trackAssociator = cms.untracked.InputTag('trackAssociatorByHits'),
15  trackProducer = cms.untracked.InputTag("generalTracks"),
16  genParticles = cms.untracked.InputTag("genParticles")
17 )
18 
19 globalMuonsGenTrackMatcher = cms.EDProducer("GenTrackMatcher",
20  bestMatchByMaxValue = cms.untracked.bool(True),
21  trackingTruth = cms.untracked.InputTag("mix","MergedTrackTruth"),
22  trackAssociator = cms.untracked.InputTag('trackAssociatorByHits'),
23  trackProducer = cms.untracked.InputTag("globalMuons"),
24  genParticles = cms.untracked.InputTag("genParticles")
25 )
26 
27 standAloneMuonsGenTrackMatcher = cms.EDProducer("GenTrackMatcher",
28  bestMatchByMaxValue = cms.untracked.bool(True),
29  trackingTruth = cms.untracked.InputTag("mix","MergedTrackTruth"),
30  trackAssociator = cms.untracked.InputTag('trackAssociatorByHits'),
31  trackProducer = cms.untracked.InputTag("standAloneMuons"),
32  genParticles = cms.untracked.InputTag("genParticles")
33 )
34 
35 genTrackMatcher = cms.Sequence(trackAssociatorByHits*generalGenTrackMatcher*globalMuonsGenTrackMatcher*standAloneMuonsGenTrackMatcher)
36 
37