ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
T2VertexBeamSpotMonitoring.T2TrackBeamSpotToolMonitoring Class Reference
Inheritance diagram for T2VertexBeamSpotMonitoring.T2TrackBeamSpotToolMonitoring:
Collaboration diagram for T2VertexBeamSpotMonitoring.T2TrackBeamSpotToolMonitoring:

Public Member Functions

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

Public Attributes

 monTool
 

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__()

def 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()

def 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()

def 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.

30  def makeHisto2D(self, nameX, nameY, type, xbins, xmin, xmax,
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()

def 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()

def 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.

42  def makeLBNHisto2D(self, nameX, nameY, type, xbins, xmin, xmax,
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()

def 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()

def 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
inherited

Definition at line 14 of file T2VertexBeamSpotMonitoring.py.


The documentation for this class was generated from the following file:
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
GenericMonitoringTool.defineHistogram
def defineHistogram(flags, varname, type='TH1F', path=None, title=None, weight=None, xbins=100, xmin=0, xmax=1, xlabels=None, ybins=None, ymin=None, ymax=None, ylabels=None, zmin=None, zmax=None, zlabels=None, opt=None, convention=None, cutmask=None, treedef=None, merge=None)
Generate histogram definition string for the GenericMonitoringTool.Histograms property.
Definition: GenericMonitoringTool.py:306