Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 10:05:12

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # Magnetic Field, Geometry, TransientTracks
0004 from Configuration.StandardSequences.MagneticField_cff import *
0005 
0006 # Track Associators
0007 from SimTracker.TrackAssociatorProducers.trackAssociatorByChi2_cfi import *
0008 from SimTracker.TrackAssociatorProducers.trackAssociatorByHits_cfi import *
0009 from SimTracker.TrackAssociation.trackingParticleRecoTrackAsssociation_cfi import *
0010 from SimTracker.VertexAssociation.VertexAssociatorByTracks_cfi import *
0011 
0012 trackingParticleRecoTrackAsssociationByHits = trackingParticleRecoTrackAsssociation.clone(
0013     associator = 'trackAssociatorByHits'
0014 )
0015 vertexAssociatorByTracksByHits = VertexAssociatorByTracks.clone(
0016     trackAssociation = "trackingParticleRecoTrackAsssociationByHits"
0017 )
0018 vertexAssociatorSequence = cms.Sequence(
0019     trackingParticleRecoTrackAsssociationByHits +
0020     vertexAssociatorByTracksByHits
0021 )
0022 
0023 # Track history parameters
0024 vertexHistory = cms.PSet(
0025     bestMatchByMaxValue = cms.untracked.bool(True),
0026     trackingTruth = cms.untracked.InputTag('mix','MergedTrackTruth'),
0027     vertexAssociator = cms.untracked.InputTag('vertexAssociatorByTracksByHits'),
0028     vertexProducer = cms.untracked.InputTag('offlinePrimaryVertices'),
0029     enableRecoToSim = cms.untracked.bool(True),
0030     enableSimToReco = cms.untracked.bool(False)
0031 )
0032 
0033