CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TrackCollections2monitor_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 allTrackProducer = {}
4 mainfolderName = {}
5 vertexfolderName = {}
6 sequenceName = {}
7 trackPtN = {}
8 trackPtMin = {}
9 trackPtMax = {}
10 doPlotsPCA = {}
11 numCutString = {}
12 denCutString = {}
13 doGoodTracksPlots = {}
14 doTrackerSpecific = {}
15 doHitPropertiesPlots = {}
16 doGeneralPropertiesPlots = {}
17 doBeamSpotPlots = {}
18 doSeedParameterHistos = {}
19 doRecHitVsPhiVsEtaPerTrack = {}
20 doRecHitVsPtVsEtaPerTrack = {}
21 doGoodTrackRecHitVsPhiVsEtaPerTrack = {}
22 doLayersVsPhiVsEtaPerTrack = {}
23 doGoodTrackLayersVsPhiVsEtaPerTrack = {}
24 doPUmonitoring = {}
25 doPlotsVsBXlumi = {}
26 doPlotsVsGoodPVtx = {}
27 doEffFromHitPatternVsPU = {}
28 doEffFromHitPatternVsBX = {}
29 doEffFromHitPatternVsLumi = {}
30 doStopSource = {}
31 
32 selectedTracks = []
33 
34 allTrackProducer['generalTracks'] = 'generalTracks'
35 mainfolderName ['generalTracks'] = 'Tracking/TrackParameters/generalTracks'
36 vertexfolderName['generalTracks'] = 'Tracking/PrimaryVertices/generalTracks'
37 trackPtN ['generalTracks'] = cms.int32(100)
38 trackPtMin ['generalTracks'] = cms.double(0.)
39 trackPtMax ['generalTracks'] = cms.double(100.)
40 doPlotsPCA ['generalTracks'] = cms.bool(False)
41 numCutString ['generalTracks'] = cms.string("quality('highPurity')") # num := den + quality('highPurity')
42 denCutString ['generalTracks'] = cms.string("") # den := kinematics cuts
43 doGoodTracksPlots ['generalTracks'] = cms.bool(True)
44 doTrackerSpecific ['generalTracks'] = cms.bool(True)
45 doHitPropertiesPlots ['generalTracks'] = cms.bool(True)
46 doGeneralPropertiesPlots ['generalTracks'] = cms.bool(True)
47 doBeamSpotPlots ['generalTracks'] = cms.bool(True)
48 doSeedParameterHistos ['generalTracks'] = cms.bool(False)
49 doRecHitVsPhiVsEtaPerTrack ['generalTracks'] = cms.bool(True)
50 doRecHitVsPtVsEtaPerTrack ['generalTracks'] = cms.bool(True)
51 doGoodTrackRecHitVsPhiVsEtaPerTrack ['generalTracks'] = cms.bool(True)
52 doLayersVsPhiVsEtaPerTrack ['generalTracks'] = cms.bool(True)
53 doGoodTrackLayersVsPhiVsEtaPerTrack ['generalTracks'] = cms.bool(True)
54 doPUmonitoring ['generalTracks'] = cms.bool(False)
55 doPlotsVsBXlumi ['generalTracks'] = cms.bool(False)
56 doPlotsVsGoodPVtx ['generalTracks'] = cms.bool(True)
57 doEffFromHitPatternVsPU ['generalTracks'] = cms.bool(True)
58 doEffFromHitPatternVsBX ['generalTracks'] = cms.bool(False)
59 doEffFromHitPatternVsLumi ['generalTracks'] = cms.bool(False)
60 doStopSource ['generalTracks'] = cms.bool(True)
61 
62 trackSelector = cms.EDFilter('TrackSelector',
63  src = cms.InputTag('generalTracks'),
64  cut = cms.string("")
65 )
66 
67 ### highpurity definition: https://cmssdt.cern.ch/SDT/lxr/source/RecoTracker/FinalTrackSelectors/python/selectHighPurity_cfi.py
68 highPurityPtRange0to1 = trackSelector.clone(
69  cut = "quality('highPurity') & pt >= 0 & pt < 1 "
70 )
71 
72 sequenceName ['highPurityPtRange0to1'] = highPurityPtRange0to1
73 allTrackProducer['highPurityPtRange0to1'] = 'generalTracks'
74 mainfolderName ['highPurityPtRange0to1'] = 'Tracking/TrackParameters/highPurityTracks/pt_0to1'
75 vertexfolderName['highPurityPtRange0to1'] = 'Tracking/PrimaryVertices/highPurityTracks/pt_0to1'
76 trackPtN ['highPurityPtRange0to1'] = cms.int32(10)
77 trackPtMin ['highPurityPtRange0to1'] = cms.double(0.)
78 trackPtMax ['highPurityPtRange0to1'] = cms.double(1.)
79 numCutString ['highPurityPtRange0to1'] = cms.string(" pt >= 0 & pt < 1 & quality('highPurity')") # num := den + quality('highPurity') [it is the same as the main selection, but just to be sure ...]
80 denCutString ['highPurityPtRange0to1'] = cms.string(" pt >= 0 & pt < 1 ") # den := kinematics cut
81 doPlotsPCA ['highPurityPtRange0to1'] = cms.bool(False)
82 doGoodTracksPlots ['highPurityPtRange0to1'] = cms.bool(False)
83 doTrackerSpecific ['highPurityPtRange0to1'] = cms.bool(False)
84 doHitPropertiesPlots ['highPurityPtRange0to1'] = cms.bool(True)
85 doGeneralPropertiesPlots ['highPurityPtRange0to1'] = cms.bool(True)
86 doBeamSpotPlots ['highPurityPtRange0to1'] = cms.bool(True)
87 doSeedParameterHistos ['highPurityPtRange0to1'] = cms.bool(False)
88 doRecHitVsPhiVsEtaPerTrack ['highPurityPtRange0to1'] = cms.bool(True)
89 doRecHitVsPtVsEtaPerTrack ['highPurityPtRange0to1'] = cms.bool(True)
90 doGoodTrackRecHitVsPhiVsEtaPerTrack ['highPurityPtRange0to1'] = cms.bool(False)
91 doLayersVsPhiVsEtaPerTrack ['highPurityPtRange0to1'] = cms.bool(True)
92 doGoodTrackLayersVsPhiVsEtaPerTrack ['highPurityPtRange0to1'] = cms.bool(False)
93 doPUmonitoring ['highPurityPtRange0to1'] = cms.bool(True)
94 doPlotsVsBXlumi ['highPurityPtRange0to1'] = cms.bool(False)
95 doPlotsVsGoodPVtx ['highPurityPtRange0to1'] = cms.bool(True)
96 doEffFromHitPatternVsPU ['highPurityPtRange0to1'] = cms.bool(False)
97 doEffFromHitPatternVsBX ['highPurityPtRange0to1'] = cms.bool(False)
98 doEffFromHitPatternVsLumi ['highPurityPtRange0to1'] = cms.bool(False)
99 doStopSource ['highPurityPtRange0to1'] = cms.bool(True)
100 
101 highPurityPtRange1to10 = trackSelector.clone(
102  cut = "quality('highPurity') & pt >= 1 & pt < 10 "
103 )
104 
105 sequenceName ['highPurityPtRange1to10'] = highPurityPtRange1to10
106 allTrackProducer['highPurityPtRange1to10'] = 'generalTracks'
107 mainfolderName ['highPurityPtRange1to10'] = 'Tracking/TrackParameters/highPurityTracks/pt_1to10'
108 vertexfolderName['highPurityPtRange1to10'] = 'Tracking/PrimaryVertices/highPurityTracks/pt_1to10'
109 trackPtN ['highPurityPtRange1to10'] = cms.int32(10)
110 trackPtMin ['highPurityPtRange1to10'] = cms.double(1.)
111 trackPtMax ['highPurityPtRange1to10'] = cms.double(10.)
112 numCutString ['highPurityPtRange1to10'] = cms.string(" pt >= 1 & pt < 10 & quality('highPurity')") # num := den + quality('highPurity') [it is the same as the main selection, but just to be sure ...]
113 denCutString ['highPurityPtRange1to10'] = cms.string(" pt >= 1 & pt < 10 ") # den := kinematics cuts
114 doGoodTracksPlots ['highPurityPtRange1to10'] = cms.bool(True)
115 doTrackerSpecific ['highPurityPtRange1to10'] = cms.bool(True)
116 doHitPropertiesPlots ['highPurityPtRange1to10'] = cms.bool(True)
117 doGeneralPropertiesPlots ['highPurityPtRange1to10'] = cms.bool(True)
118 doBeamSpotPlots ['highPurityPtRange1to10'] = cms.bool(True)
119 doSeedParameterHistos ['highPurityPtRange1to10'] = cms.bool(False)
120 doRecHitVsPhiVsEtaPerTrack ['highPurityPtRange1to10'] = cms.bool(True)
121 doRecHitVsPtVsEtaPerTrack ['highPurityPtRange1to10'] = cms.bool(True)
122 doGoodTrackRecHitVsPhiVsEtaPerTrack ['highPurityPtRange1to10'] = cms.bool(True)
123 doLayersVsPhiVsEtaPerTrack ['highPurityPtRange1to10'] = cms.bool(True)
124 doGoodTrackLayersVsPhiVsEtaPerTrack ['highPurityPtRange1to10'] = cms.bool(True)
125 doPUmonitoring ['highPurityPtRange1to10'] = cms.bool(False)
126 doPlotsVsBXlumi ['highPurityPtRange1to10'] = cms.bool(False)
127 doPlotsVsGoodPVtx ['highPurityPtRange1to10'] = cms.bool(True)
128 doEffFromHitPatternVsPU ['highPurityPtRange1to10'] = cms.bool(False)
129 doEffFromHitPatternVsBX ['highPurityPtRange1to10'] = cms.bool(False)
130 doEffFromHitPatternVsLumi ['highPurityPtRange1to10'] = cms.bool(False)
131 doStopSource ['highPurityPtRange1to10'] = cms.bool(True)
132 
133 highPurityPt10 = trackSelector.clone(
134  cut = "quality('highPurity') & pt >= 10"
135 )
136 
137 sequenceName ['highPurityPt10'] = highPurityPt10
138 allTrackProducer['highPurityPt10'] = 'generalTracks'
139 mainfolderName ['highPurityPt10'] = 'Tracking/TrackParameters/highPurityTracks/pt_10'
140 vertexfolderName['highPurityPt10'] = 'Tracking/PrimaryVertices/highPurityTracks/pt_10'
141 trackPtN ['highPurityPt10'] = cms.int32(100)
142 trackPtMin ['highPurityPt10'] = cms.double(10.)
143 trackPtMax ['highPurityPt10'] = cms.double(110.)
144 numCutString ['highPurityPt10'] = cms.string(" pt >= 10 & quality('highPurity')") # num := den + quality('highPurity') [it is the same as the main selection, but just to be sure ...]
145 denCutString ['highPurityPt10'] = cms.string(" pt >= 10 ") # den := kinematics cuts
146 doGoodTracksPlots ['highPurityPt10'] = cms.bool(True)
147 doTrackerSpecific ['highPurityPt10'] = cms.bool(True)
148 doHitPropertiesPlots ['highPurityPt10'] = cms.bool(True)
149 doGeneralPropertiesPlots ['highPurityPt10'] = cms.bool(True)
150 doBeamSpotPlots ['highPurityPt10'] = cms.bool(True)
151 doSeedParameterHistos ['highPurityPt10'] = cms.bool(False)
152 doRecHitVsPhiVsEtaPerTrack ['highPurityPt10'] = cms.bool(True)
153 doRecHitVsPtVsEtaPerTrack ['highPurityPt10'] = cms.bool(True)
154 doGoodTrackRecHitVsPhiVsEtaPerTrack ['highPurityPt10'] = cms.bool(True)
155 doLayersVsPhiVsEtaPerTrack ['highPurityPt10'] = cms.bool(True)
156 doGoodTrackLayersVsPhiVsEtaPerTrack ['highPurityPt10'] = cms.bool(True)
157 doPUmonitoring ['highPurityPt10'] = cms.bool(False)
158 doPlotsVsBXlumi ['highPurityPt10'] = cms.bool(False)
159 doPlotsVsGoodPVtx ['highPurityPt10'] = cms.bool(True)
160 doEffFromHitPatternVsPU ['highPurityPt10'] = cms.bool(False)
161 doEffFromHitPatternVsBX ['highPurityPt10'] = cms.bool(False)
162 doEffFromHitPatternVsLumi ['highPurityPt10'] = cms.bool(False)
163 doStopSource ['highPurityPt10'] = cms.bool(True)
164 
165 ###### old monitored track collections
166 highPurityPt1 = trackSelector.clone(
167  cut = "quality('highPurity') & pt >= 1"
168 )
169 
170 sequenceName ['highPurityPt1'] = highPurityPt1
171 allTrackProducer['highPurityPt1'] = 'generalTracks'
172 mainfolderName ['highPurityPt1'] = 'Tracking/TrackParameters/highPurityTracks/pt_1'
173 vertexfolderName['highPurityPt1'] = 'Tracking/PrimaryVertices/highPurityTracks/pt_1'
174 trackPtN ['highPurityPt1'] = cms.int32(100)
175 trackPtMin ['highPurityPt1'] = cms.double(0.)
176 trackPtMax ['highPurityPt1'] = cms.double(100.)
177 doPlotsPCA ['highPurityPt1'] = cms.bool(True)
178 numCutString ['highPurityPt1'] = cms.string(" pt >= 1 & quality('highPurity')") # num := den + quality('highPurity') [it is the same as the main selection, but just to be sure ...]
179 denCutString ['highPurityPt1'] = cms.string(" pt >= 1 ") # den := kinematics cut
180 doGoodTracksPlots ['highPurityPt1'] = cms.bool(True)
181 doTrackerSpecific ['highPurityPt1'] = cms.bool(True)
182 doHitPropertiesPlots ['highPurityPt1'] = cms.bool(True)
183 doGeneralPropertiesPlots ['highPurityPt1'] = cms.bool(True)
184 doBeamSpotPlots ['highPurityPt1'] = cms.bool(True)
185 doSeedParameterHistos ['highPurityPt1'] = cms.bool(False)
186 doRecHitVsPhiVsEtaPerTrack ['highPurityPt1'] = cms.bool(True)
187 doRecHitVsPtVsEtaPerTrack ['highPurityPt1'] = cms.bool(True)
188 doGoodTrackRecHitVsPhiVsEtaPerTrack ['highPurityPt1'] = cms.bool(True)
189 doLayersVsPhiVsEtaPerTrack ['highPurityPt1'] = cms.bool(True)
190 doGoodTrackLayersVsPhiVsEtaPerTrack ['highPurityPt1'] = cms.bool(True)
191 doPUmonitoring ['highPurityPt1'] = cms.bool(False)
192 doPlotsVsBXlumi ['highPurityPt1'] = cms.bool(False)
193 doPlotsVsGoodPVtx ['highPurityPt1'] = cms.bool(True)
194 doEffFromHitPatternVsPU ['highPurityPt1'] = cms.bool(True)
195 doEffFromHitPatternVsBX ['highPurityPt1'] = cms.bool(True)
196 doEffFromHitPatternVsLumi ['highPurityPt1'] = cms.bool(True)
197 doStopSource ['highPurityPt1'] = cms.bool(True)
198 
199 ###### forward-only monitored track collections
200 highPurityPt1Eta2p5to3p0 = trackSelector.clone(
201  cut = "quality('highPurity') & pt >= 1 & abs(eta) > 2.5"
202 )
203 
204 sequenceName ['highPurityPt1Eta2p5to3p0'] = highPurityPt1Eta2p5to3p0
205 allTrackProducer['highPurityPt1Eta2p5to3p0'] = 'generalTracks'
206 mainfolderName ['highPurityPt1Eta2p5to3p0'] = 'Tracking/TrackParameters/highPurityTracks/pt_1_Eta_2p5'
207 vertexfolderName['highPurityPt1Eta2p5to3p0'] = 'Tracking/PrimaryVertices/highPurityTracks/pt_1_Eta_2p5'
208 trackPtN ['highPurityPt1Eta2p5to3p0'] = cms.int32(100)
209 trackPtMin ['highPurityPt1Eta2p5to3p0'] = cms.double(0.)
210 trackPtMax ['highPurityPt1Eta2p5to3p0'] = cms.double(100.)
211 doPlotsPCA ['highPurityPt1Eta2p5to3p0'] = cms.bool(True)
212 numCutString ['highPurityPt1Eta2p5to3p0'] = cms.string(" pt >= 1 & abs(eta) > 2.5 & quality('highPurity')") # num := den + quality('highPurity') [it is the same as the main selection, but just to be sure ...]
213 denCutString ['highPurityPt1Eta2p5to3p0'] = cms.string(" pt >= 1 & abs(eta) > 2.5") # den := kinematics cut
214 doGoodTracksPlots ['highPurityPt1Eta2p5to3p0'] = cms.bool(True)
215 doTrackerSpecific ['highPurityPt1Eta2p5to3p0'] = cms.bool(True)
216 doHitPropertiesPlots ['highPurityPt1Eta2p5to3p0'] = cms.bool(True)
217 doGeneralPropertiesPlots ['highPurityPt1Eta2p5to3p0'] = cms.bool(True)
218 doBeamSpotPlots ['highPurityPt1Eta2p5to3p0'] = cms.bool(True)
219 doSeedParameterHistos ['highPurityPt1Eta2p5to3p0'] = cms.bool(False)
220 doRecHitVsPhiVsEtaPerTrack ['highPurityPt1Eta2p5to3p0'] = cms.bool(True)
221 doRecHitVsPtVsEtaPerTrack ['highPurityPt1Eta2p5to3p0'] = cms.bool(True)
222 doGoodTrackRecHitVsPhiVsEtaPerTrack ['highPurityPt1Eta2p5to3p0'] = cms.bool(True)
223 doLayersVsPhiVsEtaPerTrack ['highPurityPt1Eta2p5to3p0'] = cms.bool(True)
224 doGoodTrackLayersVsPhiVsEtaPerTrack ['highPurityPt1Eta2p5to3p0'] = cms.bool(True)
225 doPUmonitoring ['highPurityPt1Eta2p5to3p0'] = cms.bool(False)
226 doPlotsVsBXlumi ['highPurityPt1Eta2p5to3p0'] = cms.bool(False)
227 doPlotsVsGoodPVtx ['highPurityPt1Eta2p5to3p0'] = cms.bool(True)
228 doEffFromHitPatternVsPU ['highPurityPt1Eta2p5to3p0'] = cms.bool(True)
229 doEffFromHitPatternVsBX ['highPurityPt1Eta2p5to3p0'] = cms.bool(False)
230 doEffFromHitPatternVsLumi ['highPurityPt1Eta2p5to3p0'] = cms.bool(False)
231 doStopSource ['highPurityPt1Eta2p5to3p0'] = cms.bool(True)
232 
233 
234 
235 
236 ###### all tracks (no pt cut) associated to the PV
237 ###### association is dz<1mm
239 
240 trackAssociated2pvSelector = trackWithVertexSelector.clone(
241  # the track collection
242  src = 'generalTracks',
243  # kinematic cuts (pT in GeV)
244  etaMin = 0.0,
245  etaMax = 5.0,
246  ptMin = 0.0,
247  ptMax = 100000.0,
248  # impact parameter cut (in cm)
249  d0Max = 999.,
250  dzMax = 999.,
251  # quality cuts (valid hits, normalized chi2)
252  normalizedChi2 = 999999.,
253  numberOfValidHits = 0,
254  numberOfLostHits = 999, ## at most 999 lost hits
255  numberOfValidPixelHits = 0, ## at least <n> hits in the pixels
256  ptErrorCut = 9999999., ## [pTError/pT]*max(1,normChi2) <= ptErrorCut
257  quality = "highPurity", # quality cut as defined in reco::TrackBase
258  # compatibility with a vertex ?
259  useVtx = True,
260  vertexTag = 'trackingDQMgoodOfflinePrimaryVertices',
261  timesTag = '',
262  timeResosTag = '',
263  nVertices = 1, ## how many vertices to look at before dropping the track
264  vtxFallback = True, ## falback to beam spot if there are no vertices
265  # uses vtx=(0,0,0) with deltaZeta=15.9, deltaRho = 0.2
266  zetaVtx = 999.,
267  #rhoVtx = 0.2, ## tags used by b-tagging folks
268  rhoVtx = 999., ## tags used by b-tagging folks
269  nSigmaDtVertex = 0.,
270  # should _not_ be used for the TrackWithVertexRefSelector
271  copyExtras = False, ## copies also extras and rechits on RECO
272  copyTrajectories = False # don't set this to true on AOD!
273 )
274 
275 highPurityPV0p1 = trackAssociated2pvSelector.clone(
276  zetaVtx = 0.1, # wrt PV
277  #dzMax = 0.1 # wrt BS
278 )
279 
280 PV0p1 = highPurityPV0p1.clone(
281  quality = "" # quality cut as defined in reco::TrackBase
282 )
283 
284 #sequenceName ['highPurityPV0p1'] = highPurityPV0p1
285 sequenceName ['highPurityPV0p1'] = highPurityPV0p1+PV0p1
286 allTrackProducer['highPurityPV0p1'] = 'PV0p1'
287 mainfolderName ['highPurityPV0p1'] = 'Tracking/TrackParameters/highPurityTracks/dzPV0p1'
288 vertexfolderName['highPurityPV0p1'] = 'Tracking/PrimaryVertices/highPurityTracks/dzPV0p1'
289 trackPtN ['highPurityPV0p1'] = cms.int32(100)
290 trackPtMin ['highPurityPV0p1'] = cms.double(0.)
291 trackPtMax ['highPurityPV0p1'] = cms.double(100.)
292 doPlotsPCA ['highPurityPV0p1'] = cms.bool(True)
293 numCutString ['highPurityPV0p1'] = cms.string("quality('highPurity')") # num := den + quality('highPurity')
294 denCutString ['highPurityPV0p1'] = cms.string("") # den := kinematic cuts
295 doGoodTracksPlots ['highPurityPV0p1'] = cms.bool(True)
296 doTrackerSpecific ['highPurityPV0p1'] = cms.bool(True)
297 doHitPropertiesPlots ['highPurityPV0p1'] = cms.bool(True)
298 doGeneralPropertiesPlots ['highPurityPV0p1'] = cms.bool(True)
299 doBeamSpotPlots ['highPurityPV0p1'] = cms.bool(True)
300 doSeedParameterHistos ['highPurityPV0p1'] = cms.bool(False)
301 doRecHitVsPhiVsEtaPerTrack ['highPurityPV0p1'] = cms.bool(True)
302 doRecHitVsPtVsEtaPerTrack ['highPurityPV0p1'] = cms.bool(True)
303 doGoodTrackRecHitVsPhiVsEtaPerTrack ['highPurityPV0p1'] = cms.bool(True)
304 doLayersVsPhiVsEtaPerTrack ['highPurityPV0p1'] = cms.bool(True)
305 doGoodTrackLayersVsPhiVsEtaPerTrack ['highPurityPV0p1'] = cms.bool(True)
306 doPUmonitoring ['highPurityPV0p1'] = cms.bool(False)
307 doPlotsVsBXlumi ['highPurityPV0p1'] = cms.bool(False)
308 doPlotsVsGoodPVtx ['highPurityPV0p1'] = cms.bool(True)
309 doEffFromHitPatternVsPU ['highPurityPV0p1'] = cms.bool(True)
310 doEffFromHitPatternVsBX ['highPurityPV0p1'] = cms.bool(False)
311 doEffFromHitPatternVsLumi ['highPurityPV0p1'] = cms.bool(True)
312 doStopSource ['highPurityPV0p1'] = cms.bool(True)
313 
314 #pixel tracks
315 hiConformalPixelTracksQA = trackSelector.clone(
316  src = 'hiConformalPixelTracks',
317  cut = "chi2/ndof/hitPattern.trackerLayersWithMeasurement < 200"
318 )
319 
320 sequenceName ['hiConformalPixelTracksQA'] = hiConformalPixelTracksQA
321 allTrackProducer['hiConformalPixelTracksQA'] = 'generalTracks'
322 mainfolderName ['hiConformalPixelTracksQA'] = 'Tracking/TrackParameters/hiConformalPixelTracks'
323 vertexfolderName['hiConformalPixelTracksQA'] = 'Tracking/PrimaryVertices/hiConformalPixelTracks'
324 trackPtN ['hiConformalPixelTracksQA'] = cms.int32(100)
325 trackPtMin ['hiConformalPixelTracksQA'] = cms.double(0.)
326 trackPtMax ['hiConformalPixelTracksQA'] = cms.double(10.)
327 numCutString ['hiConformalPixelTracksQA'] = cms.string(" pt >= 0 ")
328 denCutString ['hiConformalPixelTracksQA'] = cms.string(" pt >= 0 ")
329 doPlotsPCA ['hiConformalPixelTracksQA'] = cms.bool(False)
330 doGoodTracksPlots ['hiConformalPixelTracksQA'] = cms.bool(False)
331 doTrackerSpecific ['hiConformalPixelTracksQA'] = cms.bool(False)
332 doHitPropertiesPlots ['hiConformalPixelTracksQA'] = cms.bool(True)
333 doGeneralPropertiesPlots ['hiConformalPixelTracksQA'] = cms.bool(True)
334 doBeamSpotPlots ['hiConformalPixelTracksQA'] = cms.bool(True)
335 doSeedParameterHistos ['hiConformalPixelTracksQA'] = cms.bool(False)
336 doRecHitVsPhiVsEtaPerTrack ['hiConformalPixelTracksQA'] = cms.bool(True)
337 doRecHitVsPtVsEtaPerTrack ['hiConformalPixelTracksQA'] = cms.bool(True)
338 doGoodTrackRecHitVsPhiVsEtaPerTrack ['hiConformalPixelTracksQA'] = cms.bool(False)
339 doLayersVsPhiVsEtaPerTrack ['hiConformalPixelTracksQA'] = cms.bool(True)
340 doGoodTrackLayersVsPhiVsEtaPerTrack ['hiConformalPixelTracksQA'] = cms.bool(False)
341 doPUmonitoring ['hiConformalPixelTracksQA'] = cms.bool(True)
342 doPlotsVsBXlumi ['hiConformalPixelTracksQA'] = cms.bool(False)
343 doPlotsVsGoodPVtx ['hiConformalPixelTracksQA'] = cms.bool(True)
344 doEffFromHitPatternVsPU ['hiConformalPixelTracksQA'] = cms.bool(False)
345 doEffFromHitPatternVsBX ['hiConformalPixelTracksQA'] = cms.bool(False)
346 doEffFromHitPatternVsLumi ['hiConformalPixelTracksQA'] = cms.bool(False)
347 doStopSource ['hiConformalPixelTracksQA'] = cms.bool(True)
348 
349 selectedTracks.extend( ['generalTracks'] )
350 #selectedTracks.extend( ['highPurityPtRange0to1'] )
351 #selectedTracks.extend( ['highPurityPtRange1to10'] )
352 #selectedTracks.extend( ['highPurityPt10'] )
353 
354 selectedTracks.extend( ['highPurityPt1'] )
355 selectedTracks.extend( ['highPurityPtRange0to1'] )
356 selectedTracks.extend( ['highPurityPV0p1'] )
357 
358 # not by default
359 #selectedTracks.extend( ['highPurityPt1Eta2p5to3p0'] )
360 
361 
362 #selectedTracks2runSequence=cms.Sequence()
363 #for tracks in selectedTracks :
364 # if tracks != 'generalTracks':
365 # selectedTracks2runSequence+=sequenceName[tracks]
366 
367 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
368 pp_on_AA.toModify(selectedTracks, func=lambda selectedTracks: selectedTracks.extend( ['hiConformalPixelTracksQA'] ))
all tracks (no pt cut) associated to the PV association is dz&lt;1mm