Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 offlinePrimaryVertices = cms.EDProducer("PrimaryVertexProducer",
00004
00005 verbose = cms.untracked.bool(False),
00006 TrackLabel = cms.InputTag("generalTracks"),
00007 beamSpotLabel = cms.InputTag("offlineBeamSpot"),
00008
00009 TkFilterParameters = cms.PSet(
00010 algorithm=cms.string('filter'),
00011 maxNormalizedChi2 = cms.double(20.0),
00012 minPixelLayersWithHits=cms.int32(2),
00013 minSiliconLayersWithHits = cms.int32(5),
00014 maxD0Significance = cms.double(5.0),
00015 minPt = cms.double(0.0),
00016 trackQuality = cms.string("any")
00017 ),
00018
00019 TkClusParameters = cms.PSet(
00020 algorithm = cms.string("DA"),
00021 TkDAClusParameters = cms.PSet(
00022 coolingFactor = cms.double(0.6),
00023 Tmin = cms.double(4.),
00024 vertexSize = cms.double(0.01),
00025 d0CutOff = cms.double(3.),
00026 dzCutOff = cms.double(4.)
00027 )
00028 ),
00029
00030 vertexCollections = cms.VPSet(
00031 [cms.PSet(label=cms.string(""),
00032 algorithm=cms.string("AdaptiveVertexFitter"),
00033 minNdof=cms.double(0.0),
00034 useBeamConstraint = cms.bool(False),
00035 maxDistanceToBeam = cms.double(1.0)
00036 ),
00037 cms.PSet(label=cms.string("WithBS"),
00038 algorithm = cms.string('AdaptiveVertexFitter'),
00039 minNdof=cms.double(2.0),
00040 useBeamConstraint = cms.bool(True),
00041 maxDistanceToBeam = cms.double(1.0)
00042 )
00043 ]
00044 )
00045
00046
00047
00048 )
00049
00050
00051 offlinePrimaryVertices.TkClusParameters.algorithm = cms.string("DA_vect" )
00052 offlinePrimaryVertices.TkClusParameters.TkDAClusParameters.use_vdt = cms.untracked.bool( True )
00053