CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
OfflinePrimaryVertices_cfi.py
Go to the documentation of this file.
2 
3 offlinePrimaryVertices = cms.EDProducer("PrimaryVertexProducer",
4 
5  verbose = cms.untracked.bool(False),
6  TrackLabel = cms.InputTag("generalTracks"),
7  beamSpotLabel = cms.InputTag("offlineBeamSpot"),
8 
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")
17  ),
18 
19  TkClusParameters = cms.PSet(
20  algorithm = cms.string("DA"),
21  TkDAClusParameters = cms.PSet(
22  coolingFactor = cms.double(0.6), # moderate annealing speed
23  Tmin = cms.double(4.), # end of annealing
24  vertexSize = cms.double(0.01), # ~ resolution / sqrt(Tmin)
25  d0CutOff = cms.double(3.), # downweight high IP tracks
26  dzCutOff = cms.double(4.) # outlier rejection after freeze-out (T<Tmin)
27  )
28  ),
29 
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)
36  ),
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)
42  )
43  ]
44  )
45 
46 
47 
48 )
49 
50 # These lines should be uncommented only for the gcc4X builds, with X>=6
51 offlinePrimaryVertices.TkClusParameters.algorithm = cms.string("DA_vect" )
52 offlinePrimaryVertices.TkClusParameters.TkDAClusParameters.use_vdt = cms.untracked.bool( True )
53