ATLAS Offline Software
InDetPriVxFinderMonitoring.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
3 
5  newMonTool = GenericMonitoringTool(flags, "PriVxMonTool")
6 
7  newMonTool.defineHistogram('allVertexNTracks' , type='TH1I',path='EXPERT',title="N of Input Tracks of all vertices" , xbins=50, xmin=0., xmax=50)
8  newMonTool.defineHistogram('primVertexNTracks' , type='TH1I',path='EXPERT',title="N of Input Tracks of primary vertices", xbins=50, xmin=0., xmax=50)
9 
10  newMonTool.defineHistogram('NVertices', type='TH1I',path='EXPERT',title="N of Vertices ", xbins=50, xmin=0., xmax=50)
11 
12 
13  #All vertices X vs Y position
14  newMonTool.defineHistogram('allVertexZ', type='TH1F',path='EXPERT',title="All Vertex Z position", xbins=400, xmin=-50., xmax=50)
15  newMonTool.defineHistogram('allVertexChi2', type='TH1F',path='EXPERT',title="All Vertex Chi2 of the fit", xbins=100, xmin=0., xmax=10)
16  newMonTool.defineHistogram('allVertexnDoF', type='TH1F',path='EXPERT',title="All Vertex nDoF of the fit", xbins=100, xmin=0., xmax=10)
17 
18  newMonTool.defineHistogram('allVertexX, allVertexY',path='EXPERT', type='TH2F',
19  title="All vertices Y vs X; Vertex X [mm]; Vertex Y [mm]",
20  xbins=200, xmin=-5, xmax=5, ybins=200, ymin=-5, ymax=5)
21 
22 
23 
24  #Just primary vertex
25  newMonTool.defineHistogram('primVertexZ', type='TH1F',path='EXPERT',title="Primary Vertex Z position", xbins=400, xmin=-50., xmax=50)
26  newMonTool.defineHistogram('primVertexChi2', type='TH1F',path='EXPERT',title="Primary Vertex Chi2 of the fit", xbins=100, xmin=0., xmax=10)
27  newMonTool.defineHistogram('primVertexnDoF', type='TH1F',path='EXPERT',title="Primary Vertex nDoF of the fit", xbins=100, xmin=0., xmax=10)
28 
29  newMonTool.defineHistogram('primVertexX, primVertexY',path='EXPERT', type='TH2F',
30  title="Primary Vertex Y vs X; Vertex X [mm]; Vertex Y [mm]",
31  xbins=200, xmin=-5, xmax=5, ybins=200, ymin=-5, ymax=5)
32 
33  return newMonTool
34 
InDetPriVxFinderMonitoring.InDetPriVxFinderMonitoringTool
def InDetPriVxFinderMonitoringTool(flags)
Definition: InDetPriVxFinderMonitoring.py:4
GenericMonitoringTool
Definition: GenericMonitoringTool.py:1