ATLAS Offline Software
Loading...
Searching...
No Matches
TrigLongLivedParticlesMonitoring.py
Go to the documentation of this file.
1# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
3from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
4import math
5
6
8
9 montool = GenericMonitoringTool(flags, 'MonTool',
10 HistPath = 'MuonRoIClusterTrigger/TrigAlgMoni')
11
12 montool.defineHistogram('CluEta', path='EXPERT', type='TH1F', title="MuClu: Eta of the muon RoI cluster; eta; nevents", xbins=60, xmin=-3., xmax=3.)
13 montool.defineHistogram('CluPhi', path='EXPERT', type='TH1F', title="MuClu: Phi of the muon RoI cluster; phi; nevents", xbins=32, xmin=-math.pi*1.05, xmax=math.pi*1.05)
14 montool.defineHistogram('NumRoi', opt='kAddBinsDynamically', path='EXPERT', type='TH1F', title="MuClu: RoIs in the muon RoI cluster; number of RoI; nevents", xbins=14, xmin=0., xmax=14.)
15 montool.defineHistogram('RoiEta', path='EXPERT', type='TH1F', title="MuClu: Eta of all Input Muon RoIs (From Vectors); eta; nevents", xbins=60, xmin=-3., xmax=3.)
16 montool.defineHistogram('RoiPhi', path='EXPERT', type='TH1F', title="MuClu: Phi of all Input Muon RoIs (From Vectors); phi; nevents", xbins=32, xmin=-math.pi*1.05, xmax=math.pi*1.05)
17
18 montool.defineHistogram('CluPhi,CluEta', path='EXPERT', type='TH2F', title='MuClu: 2D Phi vs Eta of RoI clusters; phi; eta', xbins=128, xmin=-math.pi*1.05, xmax=math.pi*1.05, ybins=120, ymin=-3., ymax=3.)
19 montool.defineHistogram('nL1RoIs,nRoIinClusters', path='EXPERT', type='TH2F', title='MuClu: Number of L1 RoIs vs Number of RoI in Clusters;nL1RoIs;nCluRoIs', xbins=20, xmin=0, xmax=20, ybins=20, ymin=0, ymax=20)
20 montool.defineHistogram('nL1RoIs,nClusters', path='EXPERT', type='TH2F', title='MuClu: Number of L1 RoIs vs Number of RoI-Clusters;nL1RoIs;nClusters', xbins=20, xmin=0, xmax=20, ybins=20, ymin=0, ymax=20)
21 montool.defineHistogram('nRoIinClusters,nClusters', path='EXPERT', type='TH2F', title='MuClu: Number of RoI in Clusters vs Number of RoI-Clusters;nCluRoIs;nClusters', xbins=20, xmin=0, xmax=20, ybins=20, ymin=0, ymax=20)
22
23 montool.defineHistogram('dPhiCluSeed', path='EXPERT', type='TH1F', title='MuClu: dPhi between Cluster & Seed RoI; dPhi; nClusters', xbins=64, xmin=-0.8, xmax=0.8)
24 montool.defineHistogram('dEtaCluSeed', path='EXPERT', type='TH1F', title='MuClu: dEta between Cluster & Seed RoI; dEta; nClusters', xbins=60, xmin=-1., xmax=1.)
25 montool.defineHistogram('dRCluSeed', opt='kAddBinsDynamically', path='EXPERT', type='TH1F', title='MuClu: dR between Cluster & Seed RoI; dR; nClusters', xbins=60, xmin=0, xmax=0.8)
26
27 montool.defineHistogram('TIME_TrigAlg', opt='kAddBinsDynamically', path='EXPERT', type='TH1F', title='MuClu: Timing Variable for entire TrigAlg Execution; time\\ (\\mu s); nTrigAlgs', xbins=150, xmin=-50., xmax=100.)
28 montool.defineHistogram('TIME_TrigAlg_Clustering', opt='kAddBinsDynamically', path='EXPERT', type='TH1F', title='MuClu: Timing Variable for Clustering Loop in TrigAlg; time\\ (\\mu s); nTrigAlgs', xbins=150, xmin=-50., xmax=100.)
29
30 return montool