ATLAS Offline Software
Loading...
Searching...
No Matches
T2VertexBeamSpotMonitoring.T2VertexBeamSpotMonitoring Class Reference
Inheritance diagram for T2VertexBeamSpotMonitoring.T2VertexBeamSpotMonitoring:
Collaboration diagram for T2VertexBeamSpotMonitoring.T2VertexBeamSpotMonitoring:

Public Member Functions

 __init__ (self, flags, name="T2VertexBeamSpotMonitoring")
 makeHisto1D (self, name, type, xbins, xmin, xmax, title, path='EXPERT', opt=None, alias=None, **kw)
 makeLBNHisto1D (self, name, type, xbins, xmin, xmax, title, path='EXPERT', opt="", **kw)
 makeHisto2D (self, nameX, nameY, type, xbins, xmin, xmax, ybins, ymin, ymax, title, path='EXPERT', opt=None, alias=None, **kw)
 makeLBNHisto2D (self, nameX, nameY, type, xbins, xmin, xmax, ybins, ymin, ymax, title, path='EXPERT', opt="", **kw)
 makeProfile (self, nameX, nameY, xbins, xmin, xmax, title, path='EXPERT', opt=None, alias=None, **kw)
 makeLBNProfile (self, nameX, nameY, xbins, xmin, xmax, title, path='EXPERT', opt="", **kw)

Public Attributes

 monTool = GenericMonitoringTool(flags, name)

Detailed Description

Definition at line 66 of file T2VertexBeamSpotMonitoring.py.

Constructor & Destructor Documentation

◆ __init__()

T2VertexBeamSpotMonitoring.T2VertexBeamSpotMonitoring.__init__ ( self,
flags,
name = "T2VertexBeamSpotMonitoring" )

Definition at line 67 of file T2VertexBeamSpotMonitoring.py.

67 def __init__ (self, flags, name="T2VertexBeamSpotMonitoring"):
68 super(T2VertexBeamSpotMonitoring, self).__init__(flags, name)
69
70 # monitored variables for updateBS():
71 # - TIME_TotalTime
72
73 # --------------- Timing histograms -----------------
74 timers = ["TotalTime"]
75 for timer in timers:
76 self.makeHisto1D(f'TIME_{timer}', 'TH1I', 50, 0, 25000,
77 title=f"Timing {timer}; time [#mus];")
78
79

Member Function Documentation

◆ makeHisto1D()

T2VertexBeamSpotMonitoring.BaseMonitoringTool.makeHisto1D ( self,
name,
type,
xbins,
xmin,
xmax,
title,
path = 'EXPERT',
opt = None,
alias = None,
** kw )
inherited

Definition at line 16 of file T2VertexBeamSpotMonitoring.py.

16 def makeHisto1D(self, name, type, xbins, xmin, xmax, title, path='EXPERT', opt=None, alias=None, **kw):
17 if alias is not None:
18 name = f"{name};{alias}"
19 self.monTool.defineHistogram(
20 name, path=path, type=type, title=title, opt=opt,
21 xbins=xbins, xmin=xmin, xmax=xmax, **kw
22 )
23

◆ makeHisto2D()

T2VertexBeamSpotMonitoring.BaseMonitoringTool.makeHisto2D ( self,
nameX,
nameY,
type,
xbins,
xmin,
xmax,
ybins,
ymin,
ymax,
title,
path = 'EXPERT',
opt = None,
alias = None,
** kw )
inherited

Definition at line 30 of file T2VertexBeamSpotMonitoring.py.

31 ybins, ymin, ymax, title, path='EXPERT', opt=None, alias=None, **kw):
32 name = ", ".join([nameX, nameY])
33 if alias is not None:
34 name = f"{name};{alias}"
35 self.monTool.defineHistogram(
36 name, path=path, type=type, title=title, opt=opt,
37 xbins=xbins, xmin=xmin, xmax=xmax,
38 ybins=ybins, ymin=ymin, ymax=ymax,
39 **kw
40 )
41

◆ makeLBNHisto1D()

T2VertexBeamSpotMonitoring.BaseMonitoringTool.makeLBNHisto1D ( self,
name,
type,
xbins,
xmin,
xmax,
title,
path = 'EXPERT',
opt = "",
** kw )
inherited

Definition at line 24 of file T2VertexBeamSpotMonitoring.py.

24 def makeLBNHisto1D(self, name, type, xbins, xmin, xmax, title, path='EXPERT', opt="", **kw):
25 opt = _LBN_OPTIONS + " " + opt if opt else _LBN_OPTIONS
26 self.makeHisto1D(
27 name, type, xbins, xmin, xmax, title, path=path, opt=opt, **kw,
28 )
29

◆ makeLBNHisto2D()

T2VertexBeamSpotMonitoring.BaseMonitoringTool.makeLBNHisto2D ( self,
nameX,
nameY,
type,
xbins,
xmin,
xmax,
ybins,
ymin,
ymax,
title,
path = 'EXPERT',
opt = "",
** kw )
inherited

Definition at line 42 of file T2VertexBeamSpotMonitoring.py.

43 ybins, ymin, ymax, title, path='EXPERT', opt="", **kw):
44 opt = _LBN_OPTIONS + " " + opt if opt else _LBN_OPTIONS
45 self.makeHisto2D(
46 nameX, nameY, type, xbins, xmin, xmax, ybins, ymin, ymax, title,
47 path=path, opt=opt, **kw,
48 )
49

◆ makeLBNProfile()

T2VertexBeamSpotMonitoring.BaseMonitoringTool.makeLBNProfile ( self,
nameX,
nameY,
xbins,
xmin,
xmax,
title,
path = 'EXPERT',
opt = "",
** kw )
inherited

Definition at line 59 of file T2VertexBeamSpotMonitoring.py.

59 def makeLBNProfile(self, nameX, nameY, xbins, xmin, xmax, title, path='EXPERT', opt="", **kw):
60 opt = _LBN_OPTIONS + " " + opt if opt else _LBN_OPTIONS
61 self.makeProfile(
62 nameX, nameY, xbins, xmin, xmax, title, path=path, opt=opt, **kw,
63 )
64
65

◆ makeProfile()

T2VertexBeamSpotMonitoring.BaseMonitoringTool.makeProfile ( self,
nameX,
nameY,
xbins,
xmin,
xmax,
title,
path = 'EXPERT',
opt = None,
alias = None,
** kw )
inherited

Definition at line 50 of file T2VertexBeamSpotMonitoring.py.

50 def makeProfile(self, nameX, nameY, xbins, xmin, xmax, title, path='EXPERT', opt=None, alias=None, **kw):
51 name = ", ".join([nameX, nameY])
52 if alias is not None:
53 name = f"{name};{alias}"
54 self.monTool.defineHistogram(
55 name, path=path, type="TProfile", title=title, opt=opt,
56 xbins=xbins, xmin=xmin, xmax=xmax, **kw,
57 )
58

Member Data Documentation

◆ monTool

T2VertexBeamSpotMonitoring.BaseMonitoringTool.monTool = GenericMonitoringTool(flags, name)
inherited

Definition at line 14 of file T2VertexBeamSpotMonitoring.py.


The documentation for this class was generated from the following file: