CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
upgradeTracking_longbarrel_cff.py
Go to the documentation of this file.
2 
4 
6 #from EventFilter.SiStripRawToDigi.SiStripDigiToRaw_cfi import *
9 
11 
12 #the quadruplet merger configuration
13 # from this PSet the quadruplet merger uses only the layer list so these could probably be removed
15 PixelSeedMergerQuadruplets.BPix.TTRHBuilder = cms.string("PixelTTRHBuilderWithoutAngle" )
16 PixelSeedMergerQuadruplets.BPix.HitProducer = cms.string("siPixelRecHits" )
17 PixelSeedMergerQuadruplets.FPix.TTRHBuilder = cms.string("PixelTTRHBuilderWithoutAngle" )
18 PixelSeedMergerQuadruplets.FPix.HitProducer = cms.string("siPixelRecHits" )
19 
20 # new layer list (3/4 pixel seeding) in stepZero
21 PixelLayerTriplets.layerList = cms.vstring( 'BPix1+BPix2+BPix3',
22  'BPix2+BPix3+BPix4',
23  'BPix1+BPix3+BPix4',
24  'BPix1+BPix2+BPix4',
25  'BPix2+BPix3+FPix1_pos',
26  'BPix2+BPix3+FPix1_neg',
27  'BPix1+BPix2+FPix1_pos',
28  'BPix1+BPix2+FPix1_neg',
29  'BPix2+FPix1_pos+FPix2_pos',
30  'BPix2+FPix1_neg+FPix2_neg',
31  'BPix1+FPix1_pos+FPix2_pos',
32  'BPix1+FPix1_neg+FPix2_neg',
33  'FPix1_pos+FPix2_pos+FPix3_pos',
34  'FPix1_neg+FPix2_neg+FPix3_neg'
35  )
36 highPtTripletStepSeedLayers.layerList = cms.vstring( 'BPix1+BPix2+BPix3',
37  'BPix2+BPix3+BPix4',
38  'BPix1+BPix3+BPix4',
39  'BPix1+BPix2+BPix4',
40  'BPix2+BPix3+FPix1_pos', 'BPix2+BPix3+FPix1_neg',
41  'BPix1+BPix2+FPix1_pos', 'BPix1+BPix2+FPix1_neg',
42  'BPix1+BPix3+FPix1_pos', 'BPix1+BPix3+FPix1_neg',
43  'BPix2+FPix1_pos+FPix2_pos', 'BPix2+FPix1_neg+FPix2_neg',
44  'BPix1+FPix1_pos+FPix2_pos', 'BPix1+FPix1_neg+FPix2_neg',
45  'BPix1+BPix2+FPix2_pos', 'BPix1+BPix2+FPix2_neg',
46  'FPix1_pos+FPix2_pos+FPix3_pos', 'FPix1_neg+FPix2_neg+FPix3_neg',
47  'BPix1+FPix2_pos+FPix3_pos', 'BPix1+FPix2_neg+FPix3_neg',
48  'BPix1+FPix1_pos+FPix3_pos', 'BPix1+FPix1_neg+FPix3_neg'
49  )
50 lowPtTripletStepSeedLayers.layerList = cms.vstring( 'BPix1+BPix2+BPix3',
51  'BPix2+BPix3+BPix4',
52  'BPix1+BPix3+BPix4',
53  'BPix1+BPix2+BPix4',
54  'BPix2+BPix3+FPix1_pos',
55  'BPix2+BPix3+FPix1_neg',
56  'BPix1+BPix2+FPix1_pos',
57  'BPix1+BPix2+FPix1_neg',
58  'BPix2+FPix1_pos+FPix2_pos',
59  'BPix2+FPix1_neg+FPix2_neg',
60  'BPix1+FPix1_pos+FPix2_pos',
61  'BPix1+FPix1_neg+FPix2_neg',
62  'FPix1_pos+FPix2_pos+FPix3_pos',
63  'FPix1_neg+FPix2_neg+FPix3_neg'
64  )
65 
66 ## need changes to mixedtriplets step to use for imcreasing high eta efficiency
67 
68 mixedTripletStepClusters.oldClusterRemovalInfo = cms.InputTag("pixelPairStepClusters")
69 mixedTripletStepClusters.trajectories = cms.InputTag("pixelPairStepTracks")
70 mixedTripletStepClusters.overrideTrkQuals = cms.InputTag('pixelPairStepSelector','pixelPairStep')
71 mixedTripletStepSeedsA.RegionFactoryPSet.RegionPSet.originRadius = 0.02
72 mixedTripletStepSeedsB.RegionFactoryPSet.RegionPSet.originRadius = 0.02
73 
74 ## new layer list for mixed triplet step
75 mixedTripletStepSeedLayersA.layerList = cms.vstring('BPix1+BPix2+BPix3', 'BPix2+BPix3+BPix4',
76  'BPix1+BPix2+FPix1_pos', 'BPix1+BPix2+FPix1_neg',
77  'BPix1+FPix1_pos+FPix2_pos', 'BPix1+FPix1_neg+FPix2_neg',
78  'FPix1_pos+FPix2_pos+FPix3_pos', 'FPix1_neg+FPix2_neg+FPix3_neg',
79  'BPix2+FPix1_pos+FPix2_pos', 'BPix2+FPix1_neg+FPix2_neg',
80 # 'FPix2_pos+FPix3_pos+TEC1_pos', 'FPix2_neg+FPix3_neg+TEC1_neg',
81  'FPix3_pos+BPix5+BPix6', 'FPix3_neg+BPix5+BPix6')
82 
83 #mixedTripletStepSeedLayersB.layerList = cms.vstring('BPix3+BPix4+TIB1', 'BPix3+BPix4+TIB2')
84 mixedTripletStepSeedLayersB.layerList = cms.vstring('BPix3+BPix4+BPix5', 'BPix3+BPix4+BPix6')
85 
86 #--->
87 # disconnect merger for stepOne and step 2 to have triplets merged
88 highPtTripletStepSeeds.SeedMergerPSet.mergeTriplets = cms.bool(False)
89 lowPtTripletStepSeeds.SeedMergerPSet.mergeTriplets = cms.bool(False)
90 pixelPairStepSeeds.SeedMergerPSet.mergeTriplets = cms.bool(False)
91 mixedTripletStepSeedsA.SeedMergerPSet.mergeTriplets = cms.bool(False)
92 mixedTripletStepSeedsB.SeedMergerPSet.mergeTriplets = cms.bool(False)
93 #<---
94 
95 # to avoid 'too many clusters'
96 initialStepSeeds.ClusterCheckPSet.doClusterCheck = cms.bool(False)
97 highPtTripletStepSeeds.ClusterCheckPSet.doClusterCheck = cms.bool(False)
98 lowPtTripletStepSeeds.ClusterCheckPSet.doClusterCheck = cms.bool(False)
99 pixelPairStepSeeds.ClusterCheckPSet.doClusterCheck = cms.bool(False)
100 mixedTripletStepSeedsA.ClusterCheckPSet.doClusterCheck = cms.bool(False)
101 mixedTripletStepSeedsB.ClusterCheckPSet.doClusterCheck = cms.bool(False)
102 
103 # avoid 'number of triples exceed maximum'
104 pixelTracks.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(0)
105 initialStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(0)
106 highPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(0)
107 lowPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(0)
108 mixedTripletStepSeedsA.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(0)
109 mixedTripletStepSeedsB.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(0)
110 # avoid 'number of pairs exceed maximum'
111 pixelPairStepSeeds.OrderedHitsFactoryPSet.maxElement = cms.uint32(0)
112 
113 # iterative tracking cuts renormalization (alpha's reduced by 7%
114 # to take into account the corresponding increase in number_of_layers)
115 ##process.load("RecoTracker.FinalTrackSelectors.TracksWithQuality_cff")
116 ##from RecoTracker.FinalTrackSelectors.TracksWithQuality_cff import *
117 
118 initialStepSelector.trackSelectors[0].dz_par1 = cms.vdouble(0.605, 4.0) # 0.65
119 initialStepSelector.trackSelectors[0].dz_par2 = cms.vdouble(0.42, 4.0) # 0.45
120 initialStepSelector.trackSelectors[0].d0_par1 = cms.vdouble(0.51, 4.0) # 0.55
121 initialStepSelector.trackSelectors[0].d0_par2 = cms.vdouble(0.51, 4.0) # 0.55
122 initialStepSelector.trackSelectors[1].dz_par1 = cms.vdouble(0.325, 4.0) # 0.35
123 initialStepSelector.trackSelectors[1].dz_par2 = cms.vdouble(0.372, 4.0) # 0.4
124 initialStepSelector.trackSelectors[1].d0_par1 = cms.vdouble(0.279, 4.0) # 0.3
125 initialStepSelector.trackSelectors[1].d0_par2 = cms.vdouble(0.372, 4.0) # 0.4
126 initialStepSelector.trackSelectors[2].dz_par1 = cms.vdouble(0.325, 4.0) # 0.35
127 initialStepSelector.trackSelectors[2].dz_par2 = cms.vdouble(0.372, 4.0) # 0.4
128 initialStepSelector.trackSelectors[2].d0_par1 = cms.vdouble(0.279, 4.0) # 0.3
129 initialStepSelector.trackSelectors[2].d0_par2 = cms.vdouble(0.372, 4.0) # 0.4
130 
131 lowPtTripletStepSelector.trackSelectors[0].dz_par1 = cms.vdouble(0.605, 4.0) # 0.65
132 lowPtTripletStepSelector.trackSelectors[0].dz_par2 = cms.vdouble(0.42, 4.0) # 0.45
133 lowPtTripletStepSelector.trackSelectors[0].d0_par1 = cms.vdouble(0.51, 4.0) # 0.55
134 lowPtTripletStepSelector.trackSelectors[0].d0_par2 = cms.vdouble(0.51, 4.0) # 0.55
135 lowPtTripletStepSelector.trackSelectors[1].dz_par1 = cms.vdouble(0.325, 4.0) # 0.35
136 lowPtTripletStepSelector.trackSelectors[1].dz_par2 = cms.vdouble(0.372, 4.0) # 0.4
137 lowPtTripletStepSelector.trackSelectors[1].d0_par1 = cms.vdouble(0.279, 4.0) # 0.3
138 lowPtTripletStepSelector.trackSelectors[1].d0_par2 = cms.vdouble(0.372, 4.0) # 0.4
139 lowPtTripletStepSelector.trackSelectors[2].dz_par1 = cms.vdouble(0.325, 4.0) # 0.35
140 lowPtTripletStepSelector.trackSelectors[2].dz_par2 = cms.vdouble(0.372, 4.0) # 0.4
141 lowPtTripletStepSelector.trackSelectors[2].d0_par1 = cms.vdouble(0.279, 4.0) # 0.3
142 lowPtTripletStepSelector.trackSelectors[2].d0_par2 = cms.vdouble(0.372, 4.0) # 0.4
143 
144 highPtTripletStepSelector.trackSelectors[0].dz_par1 = cms.vdouble(0.605, 4.0) # 0.65
145 highPtTripletStepSelector.trackSelectors[0].dz_par2 = cms.vdouble(0.42, 4.0) # 0.45
146 highPtTripletStepSelector.trackSelectors[0].d0_par1 = cms.vdouble(0.51, 4.0) # 0.55
147 highPtTripletStepSelector.trackSelectors[0].d0_par2 = cms.vdouble(0.51, 4.0) # 0.55
148 highPtTripletStepSelector.trackSelectors[1].dz_par1 = cms.vdouble(0.325, 4.0) # 0.35
149 highPtTripletStepSelector.trackSelectors[1].dz_par2 = cms.vdouble(0.372, 4.0) # 0.4
150 highPtTripletStepSelector.trackSelectors[1].d0_par1 = cms.vdouble(0.279, 4.0) # 0.3
151 highPtTripletStepSelector.trackSelectors[1].d0_par2 = cms.vdouble(0.372, 4.0) # 0.4
152 highPtTripletStepSelector.trackSelectors[2].dz_par1 = cms.vdouble(0.325, 4.0) # 0.35
153 highPtTripletStepSelector.trackSelectors[2].dz_par2 = cms.vdouble(0.372, 4.0) # 0.4
154 highPtTripletStepSelector.trackSelectors[2].d0_par1 = cms.vdouble(0.279, 4.0) # 0.3
155 highPtTripletStepSelector.trackSelectors[2].d0_par2 = cms.vdouble(0.372, 4.0) # 0.4
156 
157 ### modify regular tracking sequence to use upgrade version
158 ### so we can use regular reconstruction step
159 ## remove tracking steps 2-5 to speed up the job
160 #iterTracking.remove(PixelPairStep)
161 iterTracking.remove(DetachedTripletStep)
162 #iterTracking.remove(MixedTripletStep)
163 iterTracking.remove(PixelLessStep)
164 iterTracking.remove(TobTecStep)
165 
166 #newCombinedSeeds.seedCollections = cms.VInputTag(
167 # cms.InputTag('initialStepSeeds'),
168 # cms.InputTag('lowPtTripletStepSeeds'),
169 # cms.InputTag('pixelPairStepSeeds')
170 #)
171