CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
particleFlowDisplacedVertex_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 particleFlowDisplacedVertex = cms.EDProducer("PFDisplacedVertexProducer",
4 
5  vertexCandidatesLabel = cms.InputTag("particleFlowDisplacedVertexCandidate"),
6 
7  # verbosity
8  verbose = cms.untracked.bool(False),
9 
10  # Debug flag
11  debug = cms.untracked.bool(False),
12 
13  # maximum transverse distance between two points to be used in Seed
14  transvSize = cms.double(1.0),
15 
16  # maximum longitudinal distance between two points to be used in Seed
17  longSize = cms.double(5),
18 
19  # minimal radius below which we do not reconstruct interactions
20  # typically the position of the first Pixel layer or beam pipe
21  primaryVertexCut = cms.double(1.8),
22 
23  # radius below which we don't wamt to reconstruct displaced
24  # vertices
25  tobCut = cms.double(100),
26 
27  # z below which we don't want to reconstruct displaced
28  # vertices
29  tecCut = cms.double(220),
30 
31  # the minimal accepted weight for the tracks calculated in the
32  # adaptive vertex fitter to be associated to the displaced vertex
33  # this correspond to the sigmacut of 6
34  minAdaptWeight = cms.double(0.5),
35 
36  # this flag is designed to reduce the timing of the algorithm in the high pile-up conditions. 2 tracks
37  # vertices are the most sensitives to the pile-ups.
38  switchOff2TrackVertex = cms.untracked.bool(True),
39 
40  # ------------ Paramemeters for the track selection ------------
41 
42  # Primary vertex information used for dxy calculation
43  mainVertexLabel = cms.InputTag("offlinePrimaryVertices", ""),
44  offlineBeamSpotLabel = cms.InputTag("offlineBeamSpot", ""),
45 
46  # Parameters used to apply cuts
47  tracksSelectorParameters = cms.PSet(
48  bSelectTracks = cms.bool(True),
49  # If a track is high purity it is always kept
50  quality = cms.string("HighPurity"),
51  # Following cuts are applyed to non high purity tracks
52  # nChi2_max and pt_min cuts are applyed to the primary and secondary tracks
53  nChi2_max = cms.double(5.),
54  pt_min = cms.double(.2),
55  # nChi2_min applyed only to primary tracks which may be short
56  # remove fake pixel triplets
57  nChi2_min = cms.double(.5),
58  # Cuts applyed to the secondary tracks long and displaced
59  dxy_min = cms.double(.2),
60  nHits_min = cms.int32(6),
61  nOuterHits_max = cms.int32(9)
62  ),
63 
64  # ------------ Paramemeters for the vertex identification ------------
65 
66  vertexIdentifierParameters = cms.PSet(
67  bIdentifyVertices = cms.bool(True),
68  # Minimal sum pt of secondary tracks for displaced vertices.
69  # Below this value we find either loopers splitted in two parts eiter
70  # fake vertices in forward direction
71  pt_min = cms.double(0.5),
72  # Minimal pT and log10(P_primary/P_secondary) for primary track in kinks (Primary+Secondary)
73  # which are not identifier as K-+ decays
74  pt_kink_min = cms.double(3.0),
75  logPrimSec_min = cms.double(0.0),
76  # maximum absoluta value of eta for loopers
77  looper_eta_max = cms.double(0.1),
78  # Masses cuts for selections
79  # CVmin K0min K0max K-min K-max Ldmin Ldmax Nuclmin_ee
80  masses = cms.vdouble(0.050, 0.485, 0.515, 0.480, 0.520, 1.107, 1.125, 0.200),
81  # Angle between the primaryVertex-secondaryVertex direction and secondary tracks direction
82  # this angle means that the final system shall propagate in the same direction than initial system
83  # all_max, CV and V0 max
84  angles = cms.vdouble(15, 15)
85  ),
86 
87  # Adaptive Vertex Fitter parameters identical to the default ones except sigmacut.
88  # The default value is sigmacut = 3 too tight for displaced vertices
89  # see CMS NOTE-2008/033 for more details
90  avfParameters = cms.PSet(
91  sigmacut = cms.double(6.),
92  Tini = cms.double(256.),
93  ratio = cms.double(0.25)
94  )
95 
96 
97 )
98 
99