00001 import FWCore.ParameterSet.Config as cms 00002 00003 # Reco Vertex 00004 # initialize magnetic field ######################### 00005 from TrackingTools.TransientTrack.TransientTrackBuilder_cfi import * 00006 import RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi 00007 offlinePrimaryVerticesFromCTFTracksAVF = RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi.offlinePrimaryVertices.clone() 00008 import RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi 00009 offlinePrimaryVerticesFromCTFTracksKVF = RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi.offlinePrimaryVertices.clone() 00010 import RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi 00011 offlinePrimaryVerticesFromCTFTracksTKF = RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi.offlinePrimaryVertices.clone() 00012 #include "Validation/RecoVertex/data/OffLinePVFromRSTracks.cfi" 00013 vertexreco = cms.Sequence(offlinePrimaryVerticesFromCTFTracksAVF*offlinePrimaryVerticesFromCTFTracksKVF) 00014 offlinePrimaryVerticesFromCTFTracksAVF.algorithm = 'AdaptiveVertexFitter' 00015 offlinePrimaryVerticesFromCTFTracksKVF.algorithm = 'KalmanVertexFitter' 00016 offlinePrimaryVerticesFromCTFTracksTKF.algorithm = 'TrimmedKalmanFinder' 00017 00018