CMS 3D CMS Logo

l1tVertexProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 l1tVertexProducer = cms.EDProducer('VertexProducer',
4 
5  l1TracksInputTag = cms.InputTag("l1tTTTracksFromTrackletEmulation", "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  # Do track quality cuts in emulation algorithms
29  EM_DoQualityCuts = cms.bool(False),
30  # Track-stubs Pt compatibility cut
31  FH_DoPtComp = cms.bool(True),
32  # chi2dof < 5 for tracks with Pt > 10
33  FH_DoTightChi2 = cms.bool(False),
34  # fastHisto algorithm histogram parameters (min,max,width) [cm]
35  # TDR settings: [-14.95, 15.0, 0.1]
36  # L1TkPrimaryVertexProducer: [-30.0, 30.0, 0.09983361065]
37  # HLS Firmware: [-14.4, 14.4, 0.4]
38  # Track word limits (128 binns): [-20.46921512, 20.46921512, 0.31983148625]
39  # Track word limits (256 binns): [-20.46921512, 20.46921512, 0.159915743125]
40  FH_HistogramParameters = cms.vdouble(-20.46921512, 20.46921512, 0.31983148625),
41  # The number of vertixes to return (i.e. N windows with the highest combined pT)
42  FH_NVtx = cms.uint32(10),
43  # fastHisto algorithm assumed vertex half-width [cm]
44  FH_VertexWidth = cms.double(.15),
45  # Window size of the sliding window
46  FH_WindowSize = cms.uint32(3),
47  # Kmeans number of iterations
48  KmeansIterations = cms.uint32(10),
49  # Kmeans number of clusters
50  KmeansNumClusters = cms.uint32(18),
51  # DBSCAN pt threshold
52  DBSCANPtThreshold = cms.double(4.),
53  # DBSCAN min density tracks
54  DBSCANMinDensityTracks = cms.uint32(2),
55  # Minimum pt of tracks used to create vertex [GeV]
56  VxMinTrackPt = cms.double(2.0),
57  # Maximum pt of tracks used to create vertex [GeV]
58  VxMaxTrackPt = cms.double(127.0),
59  # When the track pt > VxMaxTrackPt, how should the tracks be considered
60  # -1 = tracks are valid
61  # 0 = tracks are mismeasured and ignored/truncated
62  # 1 = tracks are mismeasured and saturate at VxMaxTrackPt
63  # Option '0' was used for the TDR, but '1' is used for the firmware
64  VxMaxTrackPtBehavior = cms.int32(1),
65  # Maximum chi2 of tracks used to create vertex
66  VxMaxTrackChi2 = cms.double(100.),
67  # Minimum number of stubs associated to a track
68  VxMinNStub = cms.uint32(4),
69  # Minimum number of stubs in PS modules associated to a track
70  VxMinNStubPS = cms.uint32(3),
71  ),
72  # Debug printout
73  debug = cms.uint32(0)
74 )