ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCombinedAlgsMonitoring Namespace Reference

Functions

 MuonCreatorAlgMonitoring (flags, name="MuonCreatorAlgMonitoring")

Function Documentation

◆ MuonCreatorAlgMonitoring()

MuonCombinedAlgsMonitoring.MuonCreatorAlgMonitoring ( flags,
name = "MuonCreatorAlgMonitoring" )

Definition at line 7 of file MuonCombinedAlgsMonitoring.py.

7def MuonCreatorAlgMonitoring(flags, name="MuonCreatorAlgMonitoring"):
8
9 montool = GenericMonitoringTool(flags, name, HistPath = name)
10
11 montool.defineHistogram( "muon_n", type="TH1F", path="EXPERT", title="Number of muons; N of muons", xbins=50, xmin=0, xmax=50)
12 montool.defineHistogram( "muon_pt", type="TH1F", path="EXPERT", title="Muon pT; p_T", xbins=100, xmin=0, xmax=300)
13 montool.defineHistogram( "muon_eta", type="TH1F", path="EXPERT", title="Muon eta; #eta", xbins=40, xmin=-3, xmax=3)
14 montool.defineHistogram( "muon_phi", type="TH1F", path="EXPERT", title="Muon phi; #phi", xbins=40, xmin=-3.2, xmax=3.2)
15
16 montool.defineHistogram( "muon_MDT_R", type="TH1F", path="EXPERT", title="Muon MDT drift radius; drift radius", xbins=30, xmin=0., xmax=15.)
17 montool.defineHistogram( "muon_MDT_dR", type="TH1F", path="EXPERT", title="Muon MDT drift radius error; drift radius error", xbins=100, xmin=0., xmax=0.25)
18
19 # Turn-off SA track histograms for inside-out muon reconstruction
20 if not ("InsideOut" in name or "Late" in name):
21 montool.defineHistogram( "satrks_n", type="TH1F", path="EXPERT", title="Number of SA tracks; N of tracks", xbins=50, xmin=0, xmax=50)
22 montool.defineHistogram( "satrks_pt", type="TH1F", path="EXPERT", title="Extrapolated Trk pT; p_T", xbins=100, xmin=0, xmax=300)
23 montool.defineHistogram( "satrks_eta", type="TH1F", path="EXPERT", title="Extrapolated Trk eta; #eta", xbins=40, xmin=-3, xmax=3)
24 montool.defineHistogram( "satrks_phi", type="TH1F", path="EXPERT", title="Extrapolated Trk phi; #phi", xbins=40, xmin=-3.2, xmax=3.2)
25
26 if "CB" in name or "Late" in name or "InsideOut" in name:
27 montool.defineHistogram( "cbtrks_n", type="TH1F", path="EXPERT", title="Number of CB tracks; N of tracks", xbins=50, xmin=0, xmax=50)
28 montool.defineHistogram( "cbtrks_pt", type="TH1F", path="EXPERT", title="Combined Trk pT; p_T", xbins=100, xmin=0, xmax=300)
29 montool.defineHistogram( "cbtrks_eta", type="TH1F", path="EXPERT", title="Combined Trk eta; #eta", xbins=40, xmin=-3, xmax=3)
30 montool.defineHistogram( "cbtrks_phi", type="TH1F", path="EXPERT", title="Combined Trk phi; #phi", xbins=40, xmin=-3.2, xmax=3.2)
31
32 montool.defineHistogram( "idtrks_n", type="TH1F", path="EXPERT", title="Number of ID tracks; N of tracks", xbins=50, xmin=0, xmax=50)
33 montool.defineHistogram( "idtrks_pt", type="TH1F", path="EXPERT", title="ID tracks pT; p_T", xbins=100, xmin=0, xmax=300)
34 montool.defineHistogram( "idtrks_eta", type="TH1F", path="EXPERT", title="ID tracks eta; #eta", xbins=40, xmin=-3, xmax=3)
35 montool.defineHistogram( "idtrks_phi", type="TH1F", path="EXPERT", title="ID tracks phi; #phi", xbins=40, xmin=-3.2, xmax=3.2)
36 montool.defineHistogram( "idtrks_pt,idtrks_eta", type="TH2F", path="EXPERT", title="ID tracks pT vs. #eta; p_T; #eta", xbins=100, xmin=0, xmax=300, ybins=50, ymin=-5, ymax=5)
37
38 return montool