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

Public Member Functions

def __init__ (self, flags, name="T2VertexBeamSpotMonitoring")
 
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

Definition at line 66 of file T2VertexBeamSpotMonitoring.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from T2VertexBeamSpotMonitoring.BaseMonitoringTool.

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

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