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.
2 
4 
5 # Magnetic Field
7 
8 # Track Associators
11 
12 generalGenTrackMatcher = cms.EDProducer("GenTrackMatcher",
13  bestMatchByMaxValue = cms.untracked.bool(True),
14  trackingTruth = cms.untracked.InputTag("mergedtruth","MergedTrackTruth"),
15  trackAssociator = cms.untracked.string('TrackAssociatorByHits'),
16  trackProducer = cms.untracked.InputTag("generalTracks"),
17  genParticles = cms.untracked.InputTag("genParticles")
18 )
19 
20 globalMuonsGenTrackMatcher = cms.EDProducer("GenTrackMatcher",
21  bestMatchByMaxValue = cms.untracked.bool(True),
22  trackingTruth = cms.untracked.InputTag("mergedtruth","MergedTrackTruth"),
23  trackAssociator = cms.untracked.string('TrackAssociatorByHits'),
24  trackProducer = cms.untracked.InputTag("globalMuons"),
25  genParticles = cms.untracked.InputTag("genParticles")
26 )
27 
28 standAloneMuonsGenTrackMatcher = cms.EDProducer("GenTrackMatcher",
29  bestMatchByMaxValue = cms.untracked.bool(True),
30  trackingTruth = cms.untracked.InputTag("mergedtruth","MergedTrackTruth"),
31  trackAssociator = cms.untracked.string('TrackAssociatorByHits'),
32  trackProducer = cms.untracked.InputTag("standAloneMuons"),
33  genParticles = cms.untracked.InputTag("genParticles")
34 )
35 
36 genTrackMatcher = cms.Sequence(generalGenTrackMatcher*globalMuonsGenTrackMatcher*standAloneMuonsGenTrackMatcher)
37 
38