CMS 3D CMS Logo

VertexProducer_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 VertexProducer = cms.EDProducer('VertexProducer',
4 
5  l1TracksInputTag = cms.InputTag("TTTracksFromTrackletEmulation", "Level1TTTracks"),
6 
7  l1VertexCollectionName = cms.string("l1vertices"),
8 
9  # === Vertex Reconstruction configuration
10  VertexReconstruction = cms.PSet(
11  # Vertex Reconstruction Algorithm
12  Algorithm = cms.string("FastHisto"),
13  # Vertex distance [cm]
14  VertexDistance = cms.double(.15),
15  # Assumed Vertex Resolution [cm]
16  VertexResolution = cms.double(.10),
17  # Distance Type for agglomerative algorithm (0: MaxDistance, 1: MinDistance, 2: MeanDistance, 3: CentralDistance)
18  DistanceType = cms.uint32(0),
19  # Minimum number of tracks to accept vertex
20  MinTracks = cms.uint32(2),
21  # Compute the z0 position of the vertex with a mean weighted with track momenta
22  # 0 = unweighted
23  # 1 = pT weighted
24  # 2 = pT^2 weighted
25  WeightedMean = cms.uint32(1),
26  # Chi2 cut for the Adaptive Vertex Reconstruction Algorithm
27  AVR_chi2cut = cms.double(5.),
28  # Track-stubs Pt compatibility cut
29  FH_DoPtComp = cms.bool(True),
30  # chi2dof < 5 for tracks with Pt > 10
31  FH_DoTightChi2 = cms.bool(False),
32  # FastHisto algorithm histogram parameters (min,max,width) [cm]
33  # TDR settings: [-14.95, 15.0, 0.1]
34  # L1TkPrimaryVertexProducer: [-30.0, 30.0, 0.09983361065]
35  # Firmware: [-14.4, 14.4, 0.4]
36  FH_HistogramParameters = cms.vdouble(-30.0, 30.0, 0.09983361065),
37  # The number of vertixes to return (i.e. N windows with the highest combined pT)
38  FH_NVtx = cms.uint32(10),
39  # FastHisto algorithm assumed vertex half-width [cm]
40  FH_VertexWidth = cms.double(.15),
41  # Window size of the sliding window
42  FH_WindowSize = cms.uint32(3),
43  # Kmeans number of iterations
44  KmeansIterations = cms.uint32(10),
45  # Kmeans number of clusters
46  KmeansNumClusters = cms.uint32(18),
47  # DBSCAN pt threshold
48  DBSCANPtThreshold = cms.double(4.),
49  # DBSCAN min density tracks
50  DBSCANMinDensityTracks = cms.uint32(2),
51  # Minimum pt of tracks used to create vertex [GeV]
52  VxMinTrackPt = cms.double(2.0),
53  # Maximum pt of tracks used to create vertex [GeV]
54  VxMaxTrackPt = cms.double(50.0),
55  # When the track pt > VxMaxTrackPt, how should the tracks be considered
56  # -1 = tracks are valid
57  # 0 = tracks are mismeasured and ignored/truncated
58  # 1 = tracks are mismeasured and saturate at VxMaxTrackPt
59  # Option '0' was used for the TDR, but '1' is used for the firmware
60  VxMaxTrackPtBehavior = cms.int32(0),
61  # Maximum chi2 of tracks used to create vertex
62  VxMaxTrackChi2 = cms.double(100.),
63  # Minimum number of stubs associated to a track
64  VxMinNStub = cms.uint32(4),
65  # Minimum number of stubs in PS modules associated to a track
66  VxMinNStubPS = cms.uint32(3),
67  ),
68  # Debug printout
69  debug = cms.uint32(0)
70 )