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

Public Member Functions

 __init__ (self, flags, name="T2TrackBeamSpotToolMonitoring", detail=1)
 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

Monitoring for T2TrackBeamSpot tool

Variables defined by tool:
- BeamLSMatrices
- BeamLSMatricesBCID
- TrackLLPolyCoeff

Definition at line 555 of file T2VertexBeamSpotMonitoring.py.

Constructor & Destructor Documentation

◆ __init__()

T2VertexBeamSpotMonitoring.T2TrackBeamSpotToolMonitoring.__init__ ( self,
flags,
name = "T2TrackBeamSpotToolMonitoring",
detail = 1 )

Definition at line 563 of file T2VertexBeamSpotMonitoring.py.

563 def __init__ (self, flags, name="T2TrackBeamSpotToolMonitoring", detail=1):
564 super(T2TrackBeamSpotToolMonitoring, self).__init__(flags, name)
565
566 self.makeHisto1D('TIME_updateBS', 'TH1I', 100, 0, 10000,
567 title="Timing beamspot update; time [#mus];")
568
569 self.makeLBNHisto1D('BeamLSMatrices', 'TH1D', 18, 0, 18, opt='kVec',
570 title="BeamLSMatrices ; Element ; Value",
571 xlabels=['A_x_x', 'A_x_y', 'A_y_y', 'A_x_tx', 'A_y_tx',
572 'A_tx_tx', 'A_x_ty', 'A_y_ty', 'A_tx_ty', 'A_ty_ty',
573 'B_x', 'B_y', 'B_tx', 'B_ty', 'd0^2',
574 'z0', 'z0^2', '#'])
575
576 self.makeLBNHisto1D('BeamLSMatricesBCID', 'TH1D', 3564*8, 0, 3564*8, opt='kVec',
577 title="BeamLSMatricesBCID ; Element ; Value")
578
579 # for number of bins see T2TrackBSLLPoly::nbins()
580 self.makeLBNHisto1D('TrackLLPolyCoeff', 'TH1D', 100, 0, 100, opt='kVec',
581 title="TrackLLPolyCoeff ; Coefficient ; Value")

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: