ATLAS Offline Software
MuonTrackMakerAlgsMonitoring.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 # Author: Laurynas Mince
3 # Created on 15.10.2019
4 
5 from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
6 
7 def MuPatTrackBuilderMonitoring(flags, name = "MuPatTrackBuilderMonitoring"):
8 
9  montool = GenericMonitoringTool(flags, name, HistPath = name)
10 
11  montool.defineHistogram("mstrks_n", type="TH1F", path="EXPERT", title="MS track n; N of tracks", xbins=50, xmin=0, xmax=50)
12  montool.defineHistogram("mstrks_pt", type="TH1F", path="EXPERT", title="MS track pT; pT", xbins=100, xmin=0, xmax=300)
13  montool.defineHistogram("mstrks_eta", type="TH1F", path="EXPERT", title="MS track eta; #eta", xbins=50, xmin=-5, xmax=5)
14  montool.defineHistogram("mstrks_phi", type="TH1F", path="EXPERT", title="MS track phi; #phi", xbins=40, xmin=-3.2, xmax=3.2)
15  montool.defineHistogram("mstrks_eta,mstrks_phi", type="TH2F", path="EXPERT", title="MS track #eta vs. #phi; #eta; #phi", xbins=50, xmin=-5, xmax=5, ybins=40, ymin=-3.2, ymax=3.2)
16 
17  montool.defineHistogram("mssegs_n", type="TH1F", path="EXPERT", title="MS segment n; N of segments", xbins=50, xmin=0, xmax=50)
18  montool.defineHistogram("mssegs_eta", type="TH1F", path="EXPERT", title="MS segment eta; #eta", xbins=50, xmin=-5, xmax=5)
19  montool.defineHistogram("mssegs_phi", type="TH1F", path="EXPERT", title="MS segment phi; #phi", xbins=40, xmin=-3.2, xmax=3.2)
20 
21  return montool
MuonTrackMakerAlgsMonitoring.MuPatTrackBuilderMonitoring
def MuPatTrackBuilderMonitoring(flags, name="MuPatTrackBuilderMonitoring")
Definition: MuonTrackMakerAlgsMonitoring.py:7
GenericMonitoringTool
Definition: GenericMonitoringTool.py:1