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 maxEta = cms.double(5.0),
23 trackQuality = cms.string(
"any")
26 TkClusParameters = cms.PSet(
27 algorithm = cms.string(
'gap'),
28 TkGapClusParameters = cms.PSet(
29 zSeparation = cms.double(0.2)
32 vertexCollections = cms.VPSet(
33 [cms.PSet(label=cms.string(
""),
34 chi2cutoff = cms.double(3.0),
35 algorithm = cms.string(
'AdaptiveVertexFitter'),
36 minNdof=cms.double(0.0),
37 useBeamConstraint = cms.bool(
False),
38 maxDistanceToBeam = cms.double(2.0)
45 offlinePrimaryVerticesD0s5 = offlinePrimaryVerticesGAP.clone()
46 offlinePrimaryVerticesD0s5.TkFilterParameters.maxD0Significance = cms.double(5)
48 offlinePrimaryVerticesD0s51mm = offlinePrimaryVerticesGAP.clone()
49 offlinePrimaryVerticesD0s51mm.TkFilterParameters.maxD0Significance = cms.double(5)
50 offlinePrimaryVerticesD0s51mm.TkClusParameters.TkGapClusParameters.zSeparation = cms.double(0.1)
53 offlinePrimaryVerticesDA100um = cms.EDProducer(
"PrimaryVertexProducer",
55 verbose = cms.untracked.bool(
False),
56 TrackLabel = cms.InputTag(
"generalTracks"),
57 beamSpotLabel = cms.InputTag(
"offlineBeamSpot"),
59 TkFilterParameters = cms.PSet(
60 algorithm=cms.string(
'filter'),
61 maxNormalizedChi2 = cms.double(20.0),
62 minPixelLayersWithHits=cms.int32(2),
63 minSiliconLayersWithHits = cms.int32(5),
64 maxD0Significance = cms.double(5.0),
65 minPt = cms.double(0.0),
66 maxEta = cms.double(5.0),
67 trackQuality = cms.string(
"any")
70 TkClusParameters = cms.PSet(
71 algorithm = cms.string(
"DA"),
72 TkDAClusParameters = cms.PSet(
73 coolingFactor = cms.double(0.6),
74 Tmin = cms.double(4.0),
75 vertexSize = cms.double(0.01),
76 d0CutOff = cms.double(3.),
77 dzCutOff = cms.double(4.),
81 vertexCollections = cms.VPSet(
82 [cms.PSet(label=cms.string(
""),
83 chi2cutoff = cms.double(3.0),
84 algorithm=cms.string(
"AdaptiveVertexFitter"),
85 minNdof=cms.double(0.0),
86 useBeamConstraint = cms.bool(
False),
87 maxDistanceToBeam = cms.double(1.0)
96 offlinePrimaryVerticesDA100umV7 = offlinePrimaryVerticesDA100um.clone()
97 offlinePrimaryVerticesDA100umV7.vertexCollections[0].maxDistanceToBeam = cms.double(2.0)
98 offlinePrimaryVerticesDA100umV7.TkFilterParameters.maxNormalizedChi2 = cms.double(5.0)
99 offlinePrimaryVerticesDA100umV7.TkClusParameters.TkDAClusParameters.coolingFactor = cms.double(0.8)
100 offlinePrimaryVerticesDA100umV7.TkClusParameters.TkDAClusParameters.Tmin = cms.double(9.)
102 offlinePrimaryVerticesDA100umV8 = offlinePrimaryVerticesDA100um.clone()
103 offlinePrimaryVerticesDA100umV8.vertexCollections[0].maxDistanceToBeam = cms.double(1.0)
104 offlinePrimaryVerticesDA100umV8.TkFilterParameters.maxNormalizedChi2 = cms.double(5.0)
105 offlinePrimaryVerticesDA100umV8.TkClusParameters.TkDAClusParameters.coolingFactor = cms.double(0.6)
106 offlinePrimaryVerticesDA100umV8.TkClusParameters.TkDAClusParameters.Tmin = cms.double(4.)
109 seqPVReco = cms.Sequence(offlinePrimaryVerticesGAP + offlinePrimaryVerticesD0s5 + offlinePrimaryVerticesD0s51mm +
110 offlinePrimaryVerticesDA100um + offlinePrimaryVerticesDA100umV7 + offlinePrimaryVerticesDA100umV8 )