GenericMonitoringTool configurable class
Definition at line 12 of file GenericMonitoringTool.py.
◆ __init__()
def GenericMonitoringTool.GenericMonitoringTool.__init__ |
( |
|
self, |
|
|
|
flags, |
|
|
|
name = 'GenericMonitoringTool' , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 17 of file GenericMonitoringTool.py.
17 def __init__(self, flags, name='GenericMonitoringTool', **kwargs):
18 self._configFlags = flags
20 self._defaultDuration = kwargs.pop(
'defaultDuration',
None)
◆ _coreDefine()
def GenericMonitoringTool.GenericMonitoringTool._coreDefine |
( |
|
self, |
|
|
|
deffunc, |
|
|
* |
args, |
|
|
** |
kwargs |
|
) |
| |
|
private |
Definition at line 39 of file GenericMonitoringTool.py.
39 def _coreDefine(self, deffunc, *args, **kwargs):
40 if 'convention' in kwargs:
44 duration = kwargs.pop(
'duration', self.defaultDuration)
45 if duration
is not None:
46 kwargs[
'convention'] = self.convention +
':' + duration
48 if getattr(self,
'HistPath',
'') !=
'':
49 kwargs.setdefault(
'path',
'')
50 toadd = deffunc(self._configFlags, *args, **kwargs)
52 self.Histograms.
append(toadd)
◆ convention() [1/2]
def GenericMonitoringTool.GenericMonitoringTool.convention |
( |
|
self | ) |
|
◆ convention() [2/2]
def GenericMonitoringTool.GenericMonitoringTool.convention |
( |
|
self, |
|
|
|
value |
|
) |
| |
◆ defaultDuration() [1/2]
def GenericMonitoringTool.GenericMonitoringTool.defaultDuration |
( |
|
self | ) |
|
◆ defaultDuration() [2/2]
def GenericMonitoringTool.GenericMonitoringTool.defaultDuration |
( |
|
self, |
|
|
|
value |
|
) |
| |
◆ defineHistogram()
def GenericMonitoringTool.GenericMonitoringTool.defineHistogram |
( |
|
self, |
|
|
* |
args, |
|
|
** |
kwargs |
|
) |
| |
◆ defineTree()
def GenericMonitoringTool.GenericMonitoringTool.defineTree |
( |
|
self, |
|
|
* |
args, |
|
|
** |
kwargs |
|
) |
| |
◆ __slots__
◆ _configFlags
GenericMonitoringTool.GenericMonitoringTool._configFlags |
|
private |
◆ _convention
GenericMonitoringTool.GenericMonitoringTool._convention |
|
private |
◆ _defaultDuration
GenericMonitoringTool.GenericMonitoringTool._defaultDuration |
|
private |
The documentation for this class was generated from the following file: