Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:34:21

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # Reco Vertex
0004 # initialize magnetic field #########################
0005 from TrackingTools.TransientTrack.TransientTrackBuilder_cfi import *
0006 import RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi
0007 offlinePrimaryVerticesFromCTFTracksAVF = RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi.offlinePrimaryVertices.clone()
0008 import RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi
0009 offlinePrimaryVerticesFromCTFTracksKVF = RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi.offlinePrimaryVertices.clone()
0010 
0011 vertexreco = cms.Sequence(offlinePrimaryVerticesFromCTFTracksAVF*offlinePrimaryVerticesFromCTFTracksKVF)
0012 offlinePrimaryVerticesFromCTFTracksAVF.vertexCollections[0].algorithm = 'AdaptiveVertexFitter'
0013 offlinePrimaryVerticesFromCTFTracksKVF.vertexCollections[0].algorithm = 'KalmanVertexFitter'
0014