ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonReconstruction
MuonTrackMakers
MuonTrackMakerAlgs
MuonSegmentTrackMaker
python
MuonTrackMakerAlgsMonitoring.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2025 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
segNxmax=50
18
if
"FS"
in
name:
19
segNxmax=300
20
montool.defineHistogram(
"mssegs_n"
, type=
"TH1F"
, path=
"EXPERT"
, title=
"MS segment n; N of segments"
, xbins=50, xmin=0, xmax=segNxmax)
21
montool.defineHistogram(
"mssegs_eta"
, type=
"TH1F"
, path=
"EXPERT"
, title=
"MS segment eta; #eta"
, xbins=50, xmin=-5, xmax=5)
22
montool.defineHistogram(
"mssegs_phi"
, type=
"TH1F"
, path=
"EXPERT"
, title=
"MS segment phi; #phi"
, xbins=40, xmin=-3.2, xmax=3.2)
23
24
return
montool
GenericMonitoringTool
Definition
GenericMonitoringTool.h:51
MuonTrackMakerAlgsMonitoring.MuPatTrackBuilderMonitoring
MuPatTrackBuilderMonitoring(flags, name="MuPatTrackBuilderMonitoring")
Definition
MuonTrackMakerAlgsMonitoring.py:7
Generated on
for ATLAS Offline Software by
1.17.0