163 def defineVertexHistos(self, detail):
176 self.makeHisto1D(
'Nvtx',
'TH1F', 50, 0.0, 100.0,
177 title=
"Nvtx; N vertices per event; Number of events")
179 self.makeLBNHisto1D(
'NvtxPass',
'TH1I', 50, 0.0, 50.0,
180 title=
"NvtxPass; N accepted vertices per event; Number of events")
183 self.makeHisto1D(
'ClusterDeltaVertexZ',
'TH1F', 100, -10.0, 10.0,
184 title=
"ClusterDeltaVertexZ; Delta of cluster Z position and Vertex Z position [mm]; Number of vertices")
191 self.makeLBNHisto1D(
'VertexXPass',
'TH1F', 1000, -5.0, 5.0,
192 title=
"Acc. Vertex X; Vertex x [mm]; Number of vertices")
193 self.makeLBNHisto1D(
'VertexYPass',
'TH1F', 1000, -5.0, 5.0,
194 title=
"Acc. Vertex Y; Vertex y [mm]; Number of vertices")
195 self.makeLBNHisto1D(
'VertexZPass',
'TH1F', 500, -500.0, 500.0,
196 title=
"Acc. Vertex Z; Vertex z [mm]; Number of vertices")
202 self.makeLBNHisto1D(
'VertexXZoomPass',
'TH1F', 100, -0.500, 0.500,
203 title=
"Acc. Vertex X-X_{nominal}; Vertex X-X_{nominal} [mm]; Number of vertices")
204 self.makeLBNHisto1D(
'VertexYZoomPass',
'TH1F', 100, -0.500, 0.500,
205 title=
"Acc. Vertex Y-Y_{nominal}; Vertex Y-Y_{nominal} [mm]; Number of vertices")
206 self.makeLBNHisto1D(
'VertexZZoomPass',
'TH1F', 100, -250.0, 250.0,
207 title=
"Acc. Vertex Z-Z_{nominal}; Vertex Z-Z_{nominal} [mm]; Number of vertices")
214 self.makeLBNHisto2D(
'VertexXPass',
'VertexYPass',
'TH2F', 50, -2.5, 2.5, 50, -2.5, 2.5,
215 title=
"Acc. Vertex Y vs X; Vertex X [mm]; Vertex Y [mm]")
216 self.makeLBNProfile(
'VertexZPass',
'VertexXPass', 100, -250.0, 250.0,
217 title=
"Acc. Vertex X vs Z; Vertex Z [mm]; Vertex X [mm]")
218 self.makeLBNProfile(
'VertexZPass',
'VertexYPass', 100, -250.0, 250.0,
219 title=
"Acc. Vertex Y vs Z; Vertex Z [mm]; Vertex Y [mm]")
224 self.makeLBNHisto2D(
'VertexXZoomPass',
'VertexYZoomPass',
'TH2F', 50, -1.25, 1.25, 50, -1.25, 1.25,
225 title=
"Acc. Vertex Y-Y_{nominal} vs X-X_{nominal}; Vertex X-X_{nominal} [mm]; Vertex Y-Y_{nominal} [mm]")
226 self.makeLBNProfile(
'VertexZZoomPass',
'VertexXZoomPass', 100, -250.0, 250.0,
227 title=
"Acc. Vertex X-X_{nominal} vs Z-Z_{nominal}; Vertex Z-Z_{nominal} [mm]; Vertex X-X_{nominal} [mm]")
228 self.makeLBNProfile(
'VertexZZoomPass',
'VertexYZoomPass', 100, -250.0, 250.0,
229 title=
"Acc. Vertex Y-Y_{nominal} vs Z-Z_{nominal}; Vertex Z-Z_{nominal} [mm]; Vertex Y-Y_{nominal} [mm]")
235 self.makeLBNHisto2D(
'VertexNTrksPass',
'VertexXPass',
'TH2F', 100, 0.0, 100.0, 400, -2.00, 2.00,
236 title=
"Acc. Vertex X vs. NTrks; N trk per vertex; Vertex x [mm]")
237 self.makeLBNHisto2D(
'VertexNTrksPass',
'VertexYPass',
'TH2F', 100, 0.0, 100.0, 400, -2.00, 2.00,
238 title=
"Acc. Vertex Y vs. NTrks; N trk per vertex; Vertex y [mm]")
239 self.makeLBNHisto2D(
'VertexNTrksPass',
'VertexZPass',
'TH2F', 100, 0.0, 100.0, 250, -250.0, 250.0,
240 title=
"Acc. Vertex Z vs. NTrks; N trk per vertex; Vertex z [mm]")
242 self.makeProfile(
'VertexZPass',
'VertexNTrksPass', 100, -250.0, 250.0,
243 title=
"Acc. Vertex NTrks vs. Vertex Z; Vertex Z [mm]; N trk per vertex")
244 self.makeProfile(
'VertexZPass',
'VertexXerrPass', 100, -250.0, 250.0,
245 title=
"Vertex Xerr vs Z; Vertex Z [mm]; Vertex Xerr [mm]")
246 self.makeProfile(
'VertexZPass',
'VertexYerrPass', 100, -250.0, 250.0,
247 title=
"Vertex Yerr vs Z; Vertex Z [mm]; Vertex Yerr [mm]")
249 self.makeProfile(
'VertexNTrksPass',
'VertexXerrPass', 100, 0.0, 100.0,
250 title=
"Acc. Vertex Xerr vs NTrks; Vertex N trks; Vertex Xerr [mm]")
251 self.makeProfile(
'VertexNTrksPass',
'VertexYerrPass', 100, 0.0, 100.0,
252 title=
"Acc. Vertex Yerr vs NTrks; Vertex N trks; Vertex Yerr [mm]")
253 self.makeProfile(
'VertexNTrksPass',
'VertexZerrPass', 100, 0.0, 100.0,
254 title=
"Acc. Vertex Zerr vs NTrks; Vertex N trks; Vertex Zerr [mm]")
267 self.makeLBNProfile(
'BCID',
'TotalTracksPass', 3564, 0, 3564,
268 title=
"Acc. N Tracks vs BCID; BCID; N tracks vertices")
269 self.makeLBNProfile(
'BCID',
'NvtxPassBCID', 3564, 0, 3564,
270 title=
"Acc. N Vertices vs BCID; BCID; N accepted vertices")
271 self.makeLBNProfile(
'BCID',
'VertexXPassBCID', 3564, 0, 3564,
272 title=
"Acc. Vertex X vs BCID (profile); BCID; Vertex X [mm]")
273 self.makeLBNProfile(
'BCID',
'VertexYPassBCID', 3564, 0, 3564,
274 title=
"Acc. Vertex Y vs BCID (profile); BCID; Vertex Y [mm]")
275 self.makeLBNProfile(
'BCID',
'VertexZPassBCID', 3564, 0, 3564,
276 title=
"Acc. Vertex Z vs BCID (profile); BCID; Vertex Z [mm]")
283 self.makeLBNHisto2D(
'BCID',
'VertexXZoomPassBCID',
'TH2F', 3564, 0, 3564, 50, -0.5, 0.5,
284 title=
"Acc. Vertex X-X_{nominal} vs. BCID; BCID; Vertex X-X_{nominal} [mm]")
285 self.makeLBNHisto2D(
'BCID',
'VertexYZoomPassBCID',
'TH2F', 3564, 0, 3564, 50, -0.5, 0.5,
286 title=
"Acc. Vertex Y-Y_{nominal} vs. BCID; BCID; Vertex Y-Y_{nominal} [mm]")
287 self.makeLBNHisto2D(
'BCID',
'VertexZZoomPassBCID',
'TH2F', 3564, 0, 3564, 50, -250.0, 250.0,
288 title=
"Acc. Vertex Z-Z_{nominal} vs. BCID; BCID; Vertex Z-Z_{nominal} [mm]")
295 self.makeHisto1D(
'VertexNTrks',
'TH1F', 100, 0., 100.,
296 title=
"Vertex NTrks; N trk per vertex; Number of vertices")
297 self.makeHisto1D(
'VertexSumPt',
'TH1F', 100, 0., 100.,
298 title=
"Vertex SumPt; Vertex sum p_{T} [GeV]; Number of vertices")
299 self.makeHisto1D(
'VertexSumPt2',
'TH1F', 100, 0., 100.,
300 title=
"Vertex SumPt^2; Vertex sum p_{T}^{2} [GeV^{2}]; Number of vertices")
301 self.makeHisto1D(
'VertexQual',
'TH1F', 50, 0., 50.,
302 title=
"Vertex Qual; Vertex #chi^{2}/ndf; Number of vertices")
303 self.makeHisto1D(
'VertexMass',
'TH1F', 300, 0., 3000.,
304 title=
"Vertex mass; Vertex Mass; Number of vertices")
305 self.makeHisto1D(
'VertexChi2Prob',
'TH1F', 70, -0.2, 1.2,
306 title=
"Vertex Probability; Vertex #chi^{2} probability; Number of vertices")
310 self.makeHisto1D(
'VertexX',
'TH1F', 500, -5.0, 5.0,
311 title=
"Vertex X; Vertex X [mm]; Number of vertices")
312 self.makeHisto1D(
'VertexXerr',
'TH1F', 50, 0., 0.5,
313 title=
"Vertex Xerr; Vertex x error [mm]; Number of vertices")
314 self.makeHisto1D(
'VertexY',
'TH1F', 500, -5.0, 5.0,
315 title=
"Vertex Y; Vertex Y [mm]; Number of vertices")
316 self.makeHisto1D(
'VertexYerr',
'TH1F', 50, 0., 0.5,
317 title=
"Vertex Yerr; Vertex y error [mm]; Number of vertices")
318 self.makeHisto1D(
'VertexZ',
'TH1F', 500, -250.0, 250.0,
319 title=
"Vertex Z; Vertex Z [mm]; Number of vertices")
320 self.makeHisto1D(
'VertexZerr',
'TH1F', 100, 0., 1.,
321 title=
"Vertex Zerr; Vertex z error [mm]; Number of vertices")
323 self.makeHisto1D(
'VertexXZoom',
'TH1F', 100, -0.250, 0.250,
324 title=
"Vertex X-X_{nominal}; Vertex X-X_{nominal} [mm]; Number of vertices")
325 self.makeHisto1D(
'VertexYZoom',
'TH1F', 100, -0.250, 0.250,
326 title=
"Vertex Y-Y_{nominal}; Vertex Y-Y_{nominal} [mm]; Number of vertices")
327 self.makeHisto1D(
'VertexZZoom',
'TH1F', 100, -250., 250.,
328 title=
"Vertex Z-Z_{nominal}; Vertex Z-Z_{nominal} [mm]; Number of vertices")
330 self.makeHisto1D(
'VertexPull',
'TH1F', 100, -5.0, 5.0,
331 title=
"Vertex 'pull'; Vertex Z_{PV} - Z_{seed} [mm]; Number of vertices")
333 self.makeLBNHisto1D(
'VertexNTrksInVtx',
'TH1F', 50, 0, 50,
334 title=
"Acc. NTrks in vertex; Vertex number of tracks; Number of tracks in vertex track list")
341 self.makeLBNHisto1D(
'VertexNTrksPass',
'TH1F', 100, 0, 100,
342 title=
"Vertex NTrks; N trk per vertex; Number of vertices")
343 self.makeHisto1D(
'VertexSumPtPass',
'TH1F', 100, 0., 100.,
344 title=
"Vertex SumPt; Vertex sum p_{T} [GeV]; Number of vertices")
345 self.makeHisto1D(
'VertexSumPt2Pass',
'TH1F', 100, 0., 100.,
346 title=
"Vertex SumPt^2; Vertex sum p_{T}^{2} [GeV^{2}]; Number of vertices")
347 self.makeHisto1D(
'VertexQualPass',
'TH1F', 50, 0., 50.,
348 title=
"Vertex Qual; Vertex #chi^{2}/ndf; Number of vertices")
349 self.makeHisto1D(
'VertexMassPass',
'TH1F', 100, 0., 3000.,
350 title=
"Vertex mass; Vertex Mass; Number of vertices")
351 self.makeHisto1D(
'VertexChi2ProbPass',
'TH1F', 70, -0.2, 1.2,
352 title=
"Vertex Probability; Vertex #chi^{2} probability; Number of vertices")
358 self.makeHisto1D(
'VertexXerrPass',
'TH1F', 50, 0., 0.5,
359 title=
"Vertex Xerr; Vertex x error [mm]; Number of vertices")
362 self.makeHisto1D(
'VertexYerrPass',
'TH1F', 50, 0., 0.5,
363 title=
"Vertex Yerr; Vertex y error [mm]; Number of vertices")
366 self.makeHisto1D(
'VertexZerrPass',
'TH1F', 100, 0., 1.,
367 title=
"Vertex Zerr; Vertex z error [mm]; Number of vertices")
369 self.makeHisto1D(
'VertexXZoomPass',
'TH1F', 100, -0.250, 0.250,
370 title=
"Vertex X-X_{nominal}; Vertex X-X_{nominal} [mm]; Number of vertices")
371 self.makeHisto1D(
'VertexYZoomPass',
'TH1F', 100, -0.250, 0.250,
372 title=
"Vertex Y-Y_{nominal}; Vertex Y-Y_{nominal} [mm]; Number of vertices")
373 self.makeHisto1D(
'VertexZZoomPass',
'TH1F', 100, -250., 250.,
374 title=
"Vertex Z-Z_{nominal}; Vertex Z-Z_{nominal} [mm]; Number of vertices")
376 self.makeHisto1D(
'VertexPullPass',
'TH1F', 100, -5.0, 5.0,
377 title=
"Vertex 'pull'; Vertex Z_{PV} - Z_{seed} [mm]; Number of vertices")
379 self.makeLBNHisto1D(
'VertexNTrksInVtxPass',
'TH1F', 50, 0, 50,
380 title=
"Acc. NTrks in vertex; Vertex number of tracks; Number of tracks in vertex track list")
387 self.makeHisto2D(
'VertexX',
'VertexY',
'TH2F', 50, -5.0, 5.0, 50, -5.0, 5.0,
388 title=
"Vertex Y vs X; Vertex X [mm]; Vertex Y [mm]")
389 self.makeHisto2D(
'VertexZ',
'VertexX',
'TH2F', 500, -250.0, 250.0, 50, -5.0, 5.0,
390 title=
"Vertex X vs Z; Vertex Z [mm]; Vertex X [mm]")
391 self.makeHisto2D(
'VertexZ',
'VertexY',
'TH2F', 500, -250.0, 250.0, 50, -5.0, 5.0,
392 title=
"Vertex Y vs Z; Vertex Z [mm]; Vertex Y [mm]")
393 self.makeHisto2D(
'VertexXZoom',
'VertexYZoom',
'TH2F', 100, -0.250, 0.250, 100, -0.250, 0.250,
394 title=
"Vertex Y-Y_{nominal} vs X-X_{nominal}; Vertex X-X_{nominal} [mm]; Vertex Y-Y_{nominal} [mm]")
396 self.makeHisto2D(
'VertexZ',
'VertexXerr',
'TH2F', 500, -250.0, 250.0, 100, 0.0, 1.0,
397 title=
"Vertex Xerr vs Z; Vertex Z [mm]; Vertex Xerr [mm]")
398 self.makeHisto2D(
'VertexZ',
'VertexYerr',
'TH2F', 500, -250.0, 250.0, 100, 0.0, 1.0,
399 title=
"Vertex Yerr vs Z; Vertex Z [mm]; Vertex Yerr [mm]")
403 self.makeHisto2D(
'VertexXZoomPass',
'VertexXerrPass',
'TH2F', 400, -0.200, 0.200, 100, 0.0, 0.100,
404 title=
"Vertex Xerr vs X-X_{nominal}; Vertex X-X_{nominal} [mm]; Vertex Xerr [mm]")
405 self.makeHisto2D(
'VertexYZoomPass',
'VertexYerrPass',
'TH2F', 400, -0.200, 0.200, 100, 0.0, 0.100,
406 title=
"Vertex Yerr vs Y-Y_{nominal}; Vertex Y-Y_{nominal} [mm]; Vertex Yerr [mm]")
410 self.makeHisto2D(
'VertexNTrks',
'VertexXerr',
'TH2F', 25, 5.0, 30.0, 100, 0.0, 1.0,
411 title=
"Vertex Xerr vs NTrks; Vertex N trks; Vertex Xerr [mm]")
412 self.makeHisto2D(
'VertexNTrks',
'VertexYerr',
'TH2F', 25, 5.0, 30.0, 100, 0.0, 1.0,
413 title=
"Vertex Yerr vs NTrks; Vertex N trks; Vertex Yerr [mm]")
414 self.makeHisto2D(
'VertexNTrks',
'VertexZerr',
'TH2F', 50, 0.0, 50.0, 100, 0.0, 1.0,
415 title=
"Vertex Zerr vs NTrks; Vertex N trks; Vertex Zerr [mm]")