CMS 3D CMS Logo

hiMergedConformalPixelTracking_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
6 from RecoTracker.FinalTrackSelectors.trackAlgoPriorityOrder_cfi import trackAlgoPriorityOrder
7 
8 # Selector for quality pixel tracks with tapering high-pT cut
9 
10 #loose
11 hiPixelOnlyStepLooseMTS = hiLooseMTS.clone(
12  name = 'hiPixelOnlyTrkLoose',
13  chi2n_no1Dmod_par = 25.0,
14  d0_par2 = [9999.0, 0.0], # d0E from tk.d0Error
15  dz_par2 = [14.0, 0.0],
16  max_relpterr = 9999.,
17  min_nhits = 0,
18  pixel_pTMinCut = cms.vdouble(0.0001,0.000,9999,1.0),
19  pixel_pTMaxCut = cms.vdouble(10,5,25,2.5)
20 )
21 
22 hiPixelOnlyStepTightMTS = hiPixelOnlyStepLooseMTS.clone(
23  preFilterName ='hiPixelOnlyTrkLoose',
24  chi2n_no1Dmod_par = 18.0,
25  dz_par2 = [12.0, 0.0],
26  pixel_pTMaxCut = [4,2,18,2.5],
27  name = 'hiPixelOnlyTrkTight',
28  qualityBit = 'tight',
29  keepAllTracks = True
30 )
31 
32 hiPixelOnlyStepHighpurityMTS= hiPixelOnlyStepTightMTS.clone(
33  name = 'hiPixelOnlyTrkHighPurity',
34  preFilterName ='hiPixelOnlyTrkTight',
35  chi2n_no1Dmod_par = 12.,
36  dz_par2 = [10.0, 0.0],
37  pixel_pTMaxCut = [2.4,1.6,12,2.5],
38  qualityBit = 'highPurity'
39 )
40 
41 hiPixelOnlyStepSelector = hiMultiTrackSelector.clone(
42  applyPixelMergingCuts = cms.bool(True),
43  src = 'hiConformalPixelTracks',
44  trackSelectors= cms.VPSet(
45  hiPixelOnlyStepLooseMTS,
46  hiPixelOnlyStepTightMTS,
47  hiPixelOnlyStepHighpurityMTS
48  )
49 )
50 
51 
52 # selector for tapered full tracks
53 
54 hiHighPtStepTruncMTS = hiLooseMTS.clone(
55  name = 'hiHighPtTrkTrunc',
56  chi2n_no1Dmod_par = 9999.0,
57  d0_par2 = [9999.0, 0.0], # d0E from tk.d0Error
58  dz_par2 = [9999.0, 0.0],
59  max_relpterr = 9999.,
60  minHitsToBypassChecks = 9999,
61  min_nhits = 12,
62  pixel_pTMinCut = cms.vdouble(1.0,1.8,0.15,2.5),
63  pixel_pTMaxCut = cms.vdouble(9998,9999,9999,1.0),
64  qualityBit = ''
65 )
66 
67 hiHighPtStepSelector = hiMultiTrackSelector.clone(
68  applyPixelMergingCuts = cms.bool(True),
69  src = 'hiGeneralTracks',
70  trackSelectors= cms.VPSet(
71  hiHighPtStepTruncMTS
72  )
73 )
74 
75 
76 hiGeneralAndPixelTracks = trackListMerger.clone(
77  TrackProducers = ['hiConformalPixelTracks',
78  'hiGeneralTracks'],
79  hasSelector = [1,1],
80  selectedTrackQuals = ["hiPixelOnlyStepSelector:hiPixelOnlyTrkHighPurity",
81  "hiHighPtStepSelector:hiHighPtTrkTrunc"],
82  setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1), pQual=cms.bool(False)),
83  ),
84  copyExtras = True,
85  makeReKeyedSeeds = cms.untracked.bool(False)
86 )
87 
88 hiMergedConformalPixelTrackingTask = cms.Task(
89  hiConformalPixelTracksTask
90  ,hiPixelOnlyStepSelector
91  ,hiHighPtStepSelector
92  ,hiGeneralAndPixelTracks
93  )