1 import FWCore.ParameterSet.Config
as cms
11 offlinePrimaryVerticesGAP = cms.EDProducer(
"PrimaryVertexProducer",
12 verbose = cms.untracked.bool(
False),
13 beamSpotLabel = cms.InputTag(
"offlineBeamSpot"),
14 TrackLabel = cms.InputTag(
"generalTracks"),
15 TkFilterParameters = cms.PSet(
16 algorithm=cms.string(
'filter'),
17 maxNormalizedChi2 = cms.double(20.0),
18 minSiliconLayersWithHits = cms.int32(5),
19 minPixelLayersWithHits = cms.int32(2),
20 maxD0Significance = cms.double(100.0),
21 minPt = cms.double(0.0),
22 trackQuality = cms.string(
"any")
25 TkClusParameters = cms.PSet(
26 algorithm = cms.string(
'gap'),
27 TkGapClusParameters = cms.PSet(
28 zSeparation = cms.double(0.2)
31 vertexCollections = cms.VPSet(
32 [cms.PSet(label=cms.string(
""),
33 algorithm = cms.string(
'AdaptiveVertexFitter'),
34 minNdof=cms.double(0.0),
35 useBeamConstraint = cms.bool(
False),
36 maxDistanceToBeam = cms.double(2.0)
43 offlinePrimaryVerticesD0s5 = offlinePrimaryVerticesGAP.clone()
44 offlinePrimaryVerticesD0s5.TkFilterParameters.maxD0Significance = cms.double(5)
46 offlinePrimaryVerticesD0s51mm = offlinePrimaryVerticesGAP.clone()
47 offlinePrimaryVerticesD0s51mm.TkFilterParameters.maxD0Significance = cms.double(5)
48 offlinePrimaryVerticesD0s51mm.TkClusParameters.TkGapClusParameters.zSeparation = cms.double(0.1)
51 offlinePrimaryVerticesDA100um = cms.EDProducer(
"PrimaryVertexProducer",
53 verbose = cms.untracked.bool(
False),
54 TrackLabel = cms.InputTag(
"generalTracks"),
55 beamSpotLabel = cms.InputTag(
"offlineBeamSpot"),
57 TkFilterParameters = cms.PSet(
58 algorithm=cms.string(
'filter'),
59 maxNormalizedChi2 = cms.double(20.0),
60 minPixelLayersWithHits=cms.int32(2),
61 minSiliconLayersWithHits = cms.int32(5),
62 maxD0Significance = cms.double(5.0),
63 minPt = cms.double(0.0),
64 trackQuality = cms.string(
"any")
67 TkClusParameters = cms.PSet(
68 algorithm = cms.string(
"DA"),
69 TkDAClusParameters = cms.PSet(
70 coolingFactor = cms.double(0.6),
71 Tmin = cms.double(4.),
72 vertexSize = cms.double(0.01),
73 d0CutOff = cms.double(3.),
74 dzCutOff = cms.double(4.)
78 vertexCollections = cms.VPSet(
79 [cms.PSet(label=cms.string(
""),
80 algorithm=cms.string(
"AdaptiveVertexFitter"),
81 minNdof=cms.double(0.0),
82 useBeamConstraint = cms.bool(
False),
83 maxDistanceToBeam = cms.double(1.0)
92 offlinePrimaryVerticesDA100umV7 = offlinePrimaryVerticesDA100um.clone()
93 offlinePrimaryVerticesDA100umV7.vertexCollections[0].maxDistanceToBeam = cms.double(2.0)
94 offlinePrimaryVerticesDA100umV7.TkFilterParameters.maxNormalizedChi2 = cms.double(5.0)
95 offlinePrimaryVerticesDA100umV7.TkClusParameters.TkDAClusParameters.coolingFactor = cms.double(0.8)
96 offlinePrimaryVerticesDA100umV7.TkClusParameters.TkDAClusParameters.Tmin = cms.double(9.)
98 offlinePrimaryVerticesDA100umV8 = offlinePrimaryVerticesDA100um.clone()
99 offlinePrimaryVerticesDA100umV8.vertexCollections[0].maxDistanceToBeam = cms.double(1.0)
100 offlinePrimaryVerticesDA100umV8.TkFilterParameters.maxNormalizedChi2 = cms.double(5.0)
101 offlinePrimaryVerticesDA100umV8.TkClusParameters.TkDAClusParameters.coolingFactor = cms.double(0.6)
102 offlinePrimaryVerticesDA100umV8.TkClusParameters.TkDAClusParameters.Tmin = cms.double(4.)
105 seqPVReco = cms.Sequence(offlinePrimaryVerticesGAP + offlinePrimaryVerticesD0s5 + offlinePrimaryVerticesD0s51mm +
106 offlinePrimaryVerticesDA100um + offlinePrimaryVerticesDA100umV7 + offlinePrimaryVerticesDA100umV8 )