CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/SimTracker/TrackHistory/python/GenTrackMatcher_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from SimGeneral.HepPDTESSource.pythiapdt_cfi import *
00004 
00005 # Magnetic Field
00006 from Configuration.StandardSequences.MagneticField_cff import *
00007 
00008 # Track Associators
00009 from SimTracker.TrackAssociation.TrackAssociatorByChi2_cfi import *
00010 from SimTracker.TrackAssociation.TrackAssociatorByHits_cfi import *
00011 
00012 generalGenTrackMatcher = cms.EDProducer("GenTrackMatcher",
00013     bestMatchByMaxValue = cms.untracked.bool(True),
00014     trackingTruth = cms.untracked.InputTag("mergedtruth","MergedTrackTruth"),
00015     trackAssociator = cms.untracked.string('TrackAssociatorByHits'),
00016     trackProducer = cms.untracked.InputTag("generalTracks"),
00017     genParticles = cms.untracked.InputTag("genParticles")
00018 )
00019 
00020 globalMuonsGenTrackMatcher = cms.EDProducer("GenTrackMatcher",
00021     bestMatchByMaxValue = cms.untracked.bool(True),
00022     trackingTruth = cms.untracked.InputTag("mergedtruth","MergedTrackTruth"),
00023     trackAssociator = cms.untracked.string('TrackAssociatorByHits'),
00024     trackProducer = cms.untracked.InputTag("globalMuons"),
00025     genParticles = cms.untracked.InputTag("genParticles")
00026 )
00027 
00028 standAloneMuonsGenTrackMatcher = cms.EDProducer("GenTrackMatcher",
00029     bestMatchByMaxValue = cms.untracked.bool(True),
00030     trackingTruth = cms.untracked.InputTag("mergedtruth","MergedTrackTruth"),
00031     trackAssociator = cms.untracked.string('TrackAssociatorByHits'),
00032     trackProducer = cms.untracked.InputTag("standAloneMuons"),
00033     genParticles = cms.untracked.InputTag("genParticles")
00034 )
00035 
00036 GenTrackMatcher = cms.Sequence(generalGenTrackMatcher*globalMuonsGenTrackMatcher*standAloneMuonsGenTrackMatcher)
00037 
00038