Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:47

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from SimGeneral.HepPDTESSource.pythiapdt_cfi import *
0004 
0005 # Magnetic Field
0006 from Configuration.StandardSequences.MagneticField_cff import *
0007 
0008 # Track Associators
0009 from SimTracker.TrackAssociatorProducers.trackAssociatorByHits_cfi import *
0010 
0011 generalGenTrackMatcher = cms.EDProducer("GenTrackMatcher",
0012     bestMatchByMaxValue = cms.untracked.bool(True),
0013     trackingTruth = cms.untracked.InputTag("mix","MergedTrackTruth"),
0014     trackAssociator = cms.untracked.InputTag('trackAssociatorByHits'),
0015     trackProducer = cms.untracked.InputTag("generalTracks"),
0016     genParticles = cms.untracked.InputTag("genParticles")
0017 )
0018 
0019 globalMuonsGenTrackMatcher = cms.EDProducer("GenTrackMatcher",
0020     bestMatchByMaxValue = cms.untracked.bool(True),
0021     trackingTruth = cms.untracked.InputTag("mix","MergedTrackTruth"),
0022     trackAssociator = cms.untracked.InputTag('trackAssociatorByHits'),
0023     trackProducer = cms.untracked.InputTag("globalMuons"),
0024     genParticles = cms.untracked.InputTag("genParticles")
0025 )
0026 
0027 standAloneMuonsGenTrackMatcher = cms.EDProducer("GenTrackMatcher",
0028     bestMatchByMaxValue = cms.untracked.bool(True),
0029     trackingTruth = cms.untracked.InputTag("mix","MergedTrackTruth"),
0030     trackAssociator = cms.untracked.InputTag('trackAssociatorByHits'),
0031     trackProducer = cms.untracked.InputTag("standAloneMuons"),
0032     genParticles = cms.untracked.InputTag("genParticles")
0033 )
0034 
0035 genTrackMatcher = cms.Sequence(trackAssociatorByHits*generalGenTrackMatcher*globalMuonsGenTrackMatcher*standAloneMuonsGenTrackMatcher)
0036 
0037