CMS 3D CMS Logo

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