CMS 3D CMS Logo

validationPrimaryVertex_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Reco Vertex
4 # initialize magnetic field #########################
7 offlinePrimaryVerticesFromCTFTracksAVF = RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi.offlinePrimaryVertices.clone()
9 offlinePrimaryVerticesFromCTFTracksKVF = RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi.offlinePrimaryVertices.clone()
10 
11 vertexreco = cms.Sequence(offlinePrimaryVerticesFromCTFTracksAVF*offlinePrimaryVerticesFromCTFTracksKVF)
12 offlinePrimaryVerticesFromCTFTracksAVF.vertexCollections[0].algorithm = 'AdaptiveVertexFitter'
13 offlinePrimaryVerticesFromCTFTracksKVF.vertexCollections[0].algorithm = 'KalmanVertexFitter'
14 
OfflinePrimaryVertices_cfi
TransientTrackBuilder_cfi