1 import FWCore.ParameterSet.Config
as cms
3 offlinePrimaryVertices = cms.EDProducer(
"PrimaryVertexProducer",
5 verbose = cms.untracked.bool(
False),
6 TrackLabel = cms.InputTag(
"generalTracks"),
7 beamSpotLabel = cms.InputTag(
"offlineBeamSpot"),
9 TkFilterParameters = cms.PSet(
10 algorithm=cms.string(
'filter'),
11 maxNormalizedChi2 = cms.double(20.0),
12 minPixelLayersWithHits=cms.int32(2),
13 minSiliconLayersWithHits = cms.int32(5),
14 maxD0Significance = cms.double(5.0),
15 minPt = cms.double(0.0),
16 trackQuality = cms.string(
"any")
19 TkClusParameters = cms.PSet(
20 algorithm = cms.string(
"DA_vect"),
21 TkDAClusParameters = cms.PSet(
22 coolingFactor = cms.double(0.6),
23 Tmin = cms.double(4.),
24 vertexSize = cms.double(0.01),
25 d0CutOff = cms.double(3.),
26 dzCutOff = cms.double(4.)
30 vertexCollections = cms.VPSet(
31 [cms.PSet(label=cms.string(
""),
32 algorithm=cms.string(
"AdaptiveVertexFitter"),
33 minNdof=cms.double(0.0),
34 useBeamConstraint = cms.bool(
False),
35 maxDistanceToBeam = cms.double(1.0)
37 cms.PSet(label=cms.string(
"WithBS"),
38 algorithm = cms.string(
'AdaptiveVertexFitter'),
39 minNdof=cms.double(2.0),
40 useBeamConstraint = cms.bool(
True),
41 maxDistanceToBeam = cms.double(1.0)
55 from Configuration.StandardSequences.Eras
import eras
56 eras.trackingLowPU.toModify(offlinePrimaryVertices,
57 TkFilterParameters =
dict(minPixelLayersWithHits = 0))