ATLAS Offline Software
PFOnlineMon.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
4  from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
5  monTool = GenericMonitoringTool(flags, 'MonTool_TrackCaloExtension')
6 
7  monTool.defineHistogram( 'TIME_execute', path='EXPERT', type='TH1F', title='Extension tool - execution time; Execution time [us]; Counts',
8  xbins=100, xmin=0., xmax=800. )
9  monTool.defineHistogram( 'TIME_extrapolation', path='EXPERT', type='TH1F', title='Extension tool - extrapolation time; Extrapolation time [us]; Counts',
10  xbins=100, xmin=0., xmax=1000. )
11  monTool.defineHistogram( 'track_pt, TIME_extrapolation', path='EXPERT', type='TH2F', title='Extension tool - extrapolation time vt. track p_{T}; Track p_{T} [GeV]; Extrapolation time [us] ; Counts',
12  xbins=100, xmin=0., xmax=15., ybins=100, ymin=0., ymax=25.)
13  return monTool
14 
15 
17  from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
18  monTool = GenericMonitoringTool(flags, 'MonTool', HistPath='PFTrackSelector')
19 
20  monTool.defineHistogram( 'TIME_execute', path='EXPERT', type='TH1F', title='Track selector - execution time; Execution time [ms]; Counts',
21  xbins=60, xmin=0., xmax=20. )
22  monTool.defineHistogram( 'TIME_track', path='EXPERT', type='TH1F', title='Track selector - extrapolation time per track; Time per track [us]; Counts',
23  xbins=100, xmin=0., xmax=800. )
24  monTool.defineHistogram( 'N_tracks', path='EXPERT', type='TH1F', title='Track selector - number of selected tracks per event; Selected tracks/event; Counts',
25  xbins=25, xmin=0., xmax=1000. )
26  monTool.defineHistogram( 'eta_track', path='EXPERT', type='TH1F', title='Track selector - track #eta; #eta; Counts',
27  xbins=120, xmin=-3., xmax=3. )
28  monTool.defineHistogram( 'pt_track', path='EXPERT', type='TH1F', title='Track selector - track p_{T}; Track p_{T} [GeV]; Counts',
29  xbins=100, xmin=0., xmax=15. )
30 
31  monTool.defineHistogram( 'eta_track,TIME_track', path='EXPERT', type='TH2F', title='Track selector - track #eta vs. extrapolation time;#eta; Extrapolation time per track [us]',
32  xbins=30, xmin=-3., xmax=3., ybins=50, ymin=0., ymax=50. )
33  monTool.defineHistogram( 'pt_track,TIME_track', path='EXPERT', type='TH2F', title='Track selector - track p_{T} vs. extrapolation time; Track p_{T} [GeV]; Extrapolation time per track [us]',
34  xbins=25, xmin=0., xmax=15., ybins=50, ymin=0., ymax=50. )
35  return monTool
36 
38  from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
39  monTool = GenericMonitoringTool(flags, 'MonTool_ClusterMatching')
40 
41  monTool.defineHistogram( 'matched_tracks_pt', path='EXPERT', type='TH1F', title='Number of matched tracks with given p_{T}; p_{T} [GeV]; Counts',
42  xbins=40, xmin=0., xmax=20. )
43  monTool.defineHistogram( 'matched_clusters_e', path='EXPERT', type='TH1F', title='Number of matched clusters with given energy; E [GeV]; Counts',
44  xbins=40, xmin=0., xmax=20. )
45  monTool.defineHistogram( 'matched_clusters_eta', path='EXPERT', type='TH1F', title='Number of matched clusters with given eta; #eta; Counts',
46  xbins=40, xmin=-4., xmax=4. )
47  monTool.defineHistogram( 'matched_clusters_phi', path='EXPERT', type='TH1F', title='Number of matched clusters with given phi; #phi; Counts',
48  xbins=40, xmin=-3.14159265, xmax=3.14159265 )
49 
50  return monTool
51 
53  from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
54  monTool = GenericMonitoringTool(flags, 'MonTool_ParticleCaloExtensionTool')
55 
56  monTool.defineHistogram( 'TIME_extrapolation', path='EXPERT', type='TH1F', title='Extrapolation time per track; time [us]; Counts',
57  xbins=100, xmin=0., xmax=800. )
58 
59  return monTool
60 
62  from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
63  monTool = GenericMonitoringTool(flags, 'MonTool', HistPath='PFAlgorithm')
64 
65  monTool.defineHistogram( 'TIME_execute', path='EXPERT', type='TH1F', title='PFlow algorithm - execution time; Time [ms]; Counts',
66  xbins=100, xmin=0., xmax=500. )
67  monTool.defineHistogram( 'TIME_subtract', path='EXPERT', type='TH1F', title='PFlow algorithm - subtraction time; Time [ms]; Counts',
68  xbins=100, xmin=0., xmax=500. )
69  monTool.defineHistogram( 'N_efrClusters', path='EXPERT', type='TH1F', title='PFlow algorithm - number of clusters per events; Number of clusters per events; Counts',
70  xbins=40, xmin=0., xmax=4000. )
71  return monTool
72 
GenericMonitoringTool
Definition: GenericMonitoringTool.h:53
PFOnlineMon.getMonTool_PFTrackClusterMatching
def getMonTool_PFTrackClusterMatching(flags)
Definition: PFOnlineMon.py:37
PFOnlineMon.getMonTool_PFAlgorithm
def getMonTool_PFAlgorithm(flags)
Definition: PFOnlineMon.py:61
PFOnlineMon.getMonTool_eflowTrackCaloExtensionTool
def getMonTool_eflowTrackCaloExtensionTool(flags)
Definition: PFOnlineMon.py:3
PFOnlineMon.getMonTool_PFTrackSelector
def getMonTool_PFTrackSelector(flags)
Definition: PFOnlineMon.py:16
PFOnlineMon.getMonTool_ParticleCaloExtensionTool
def getMonTool_ParticleCaloExtensionTool(flags)
Definition: PFOnlineMon.py:52