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  # Firmware: [-14.4, 14.4, 0.4]
38  FH_HistogramParameters = cms.vdouble(-30.0, 30.0, 0.09983361065),
39  # The number of vertixes to return (i.e. N windows with the highest combined pT)
40  FH_NVtx = cms.uint32(10),
41  # fastHisto algorithm assumed vertex half-width [cm]
42  FH_VertexWidth = cms.double(.15),
43  # Window size of the sliding window
44  FH_WindowSize = cms.uint32(3),
45  # Kmeans number of iterations
46  KmeansIterations = cms.uint32(10),
47  # Kmeans number of clusters
48  KmeansNumClusters = cms.uint32(18),
49  # DBSCAN pt threshold
50  DBSCANPtThreshold = cms.double(4.),
51  # DBSCAN min density tracks
52  DBSCANMinDensityTracks = cms.uint32(2),
53  # Minimum pt of tracks used to create vertex [GeV]
54  VxMinTrackPt = cms.double(2.0),
55  # Maximum pt of tracks used to create vertex [GeV]
56  VxMaxTrackPt = cms.double(127.0),
57  # When the track pt > VxMaxTrackPt, how should the tracks be considered
58  # -1 = tracks are valid
59  # 0 = tracks are mismeasured and ignored/truncated
60  # 1 = tracks are mismeasured and saturate at VxMaxTrackPt
61  # Option '0' was used for the TDR, but '1' is used for the firmware
62  VxMaxTrackPtBehavior = cms.int32(1),
63  # Maximum chi2 of tracks used to create vertex
64  VxMaxTrackChi2 = cms.double(100.),
65  # Minimum number of stubs associated to a track
66  VxMinNStub = cms.uint32(4),
67  # Minimum number of stubs in PS modules associated to a track
68  VxMinNStubPS = cms.uint32(3),
69  ),
70  # Debug printout
71  debug = cms.uint32(0)
72 )