CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HISelectedTracks_cfi.py
Go to the documentation of this file.
2 
3 from RecoTracker.FinalTrackSelectors.selectHighPurity_cfi import selectHighPurity
4 
5 #loose
6 hiTracksWithLooseQuality = selectHighPurity.clone(
7  src = "hiGlobalPrimTracks",
8  keepAllTracks = False,
9 
10  vertices = "hiSelectedVertex",
11  vertexCut = "ndof>=0&((chi2==0.0)|(chi2prob(chi2,ndof)>=0.01))",
12  copyTrajectories = True, # needed by TrackClusterRemover
13 
14  qualityBit = 'loose', # set to '' if you don't want to set the bit
15 
16  chi2n_par = 1.6, # normalizedChi2 < nLayers * chi2n_par
17  res_par = [0.003, 0.001], # residual parameterization (re-check in HI)
18  d0_par1 = [9999, 1], # parameterized nomd0E
19  dz_par1 = [9999, 1],
20  d0_par2 = [300.0, 0.3], # d0E from tk.d0Error
21  dz_par2 = [300.0, 0.3],
22 
23  minNumberLayers = 3,
24  minNumber3DLayers = 3,
25  maxNumberLostLayers = 999
26 )
27 
28 #tight
29 hiTracksWithTightQuality = hiTracksWithLooseQuality.clone(
30  src = "hiTracksWithLooseQuality",
31  keepAllTracks = False,
32  qualityBit = 'tight',
33  chi2n_par = 0.7,
34  d0_par2 = [30.0, 0.3],
35  dz_par2 = [30.0, 0.3],
36  minNumberLayers = 5,
37 )
38 
39 #highPurity
40 hiSelectedTracks = hiTracksWithLooseQuality.clone(
41  src = "hiTracksWithTightQuality",
42  keepAllTracks = False,
43  qualityBit = 'highPurity',
44  chi2n_par = 0.4,
45  d0_par2 = [5.0, 0.3],
46  dz_par2 = [30.0, 0.3],
47  minNumberLayers = 7,
48 )
49 
50 #complete sequence
51 hiTracksWithQuality = cms.Sequence(hiTracksWithLooseQuality
52  * hiTracksWithTightQuality
53  * hiSelectedTracks)