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= cms.string('hiPixelOnlyTrkLoose'),
13  chi2n_no1Dmod_par = cms.double(25.0),
14  d0_par2 = cms.vdouble(9999.0, 0.0), # d0E from tk.d0Error
15  dz_par2 = cms.vdouble(14.0, 0.0),
16  max_relpterr = cms.double(9999.),
17  min_nhits = cms.uint32(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 = cms.double(18.0),
25  dz_par2 = cms.vdouble(12.0, 0.0),
26  pixel_pTMaxCut = cms.vdouble(4,2,18,2.5),
27  name= cms.string('hiPixelOnlyTrkTight'),
28  qualityBit = cms.string('tight'),
29  keepAllTracks= cms.bool(True)
30  )
31 
32 hiPixelOnlyStepHighpurityMTS= hiPixelOnlyStepTightMTS.clone(
33  name= cms.string('hiPixelOnlyTrkHighPurity'),
34  preFilterName='hiPixelOnlyTrkTight',
35  chi2n_no1Dmod_par = cms.double(12.),
36  dz_par2 = cms.vdouble(10.0, 0.0),
37  pixel_pTMaxCut = cms.vdouble(2.4,1.6,12,2.5),
38  qualityBit = cms.string('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= cms.string('hiHighPtTrkTrunc'),
56  chi2n_no1Dmod_par = cms.double(9999.0),
57  d0_par2 = cms.vdouble(9999.0, 0.0), # d0E from tk.d0Error
58  dz_par2 = cms.vdouble(9999.0, 0.0),
59  max_relpterr = cms.double(9999.),
60  minHitsToBypassChecks = cms.uint32(9999),
61  min_nhits = cms.uint32(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 = cms.string('')
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 = cms.VInputTag(cms.InputTag('hiConformalPixelTracks'),
78  cms.InputTag('hiGeneralTracks')
79  ),
80  hasSelector=cms.vint32(1,1),
81  selectedTrackQuals = cms.VInputTag(
82  cms.InputTag("hiPixelOnlyStepSelector","hiPixelOnlyTrkHighPurity"),
83  cms.InputTag("hiHighPtStepSelector","hiHighPtTrkTrunc")
84  ),
85  setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1), pQual=cms.bool(False)),
86  ),
87  copyExtras = True,
88  makeReKeyedSeeds = cms.untracked.bool(False)
89  )
90 
91 hiMergedConformalPixelTrackingTask = cms.Task(
92  hiConformalPixelTracksTask
93  ,hiPixelOnlyStepSelector
94  ,hiHighPtStepSelector
95  ,hiGeneralAndPixelTracks
96  )
hiMultiTrackSelector_cfi
HILowPtConformalPixelTracks_cfi
trackListMerger_cfi