|
def | __init__ (self, possibleDirs, tableCreator) |
|
def | create (self, openFiles, legendLabels, dqmSubFolder) |
|
Definition at line 2932 of file plotting.py.
◆ __init__()
def plotting.PlotterTableItem.__init__ |
( |
|
self, |
|
|
|
possibleDirs, |
|
|
|
tableCreator |
|
) |
| |
Definition at line 2933 of file plotting.py.
2933 def __init__(self, possibleDirs, tableCreator):
2934 self._possibleDirs = possibleDirs
2935 self._tableCreator = tableCreator
◆ create()
def plotting.PlotterTableItem.create |
( |
|
self, |
|
|
|
openFiles, |
|
|
|
legendLabels, |
|
|
|
dqmSubFolder |
|
) |
| |
Definition at line 2937 of file plotting.py.
2937 def create(self, openFiles, legendLabels, dqmSubFolder):
2938 if isinstance(dqmSubFolder, list):
2939 if len(dqmSubFolder) != len(openFiles):
2940 raise Exception(
"When dqmSubFolder is a list, len(dqmSubFolder) should be len(openFiles), now they are %d and %d" % (len(dqmSubFolder), len(openFiles)))
2942 dqmSubFolder = [dqmSubFolder]*len(openFiles)
2943 dqmSubFolder = [sf.subfolder
if sf
is not None else None for sf
in dqmSubFolder]
2946 for f, sf
in zip(openFiles, dqmSubFolder):
2949 if tdir
is not None:
2950 data = self._tableCreator.
create(tdir)
2965 for i
in range(len(tbl)):
2967 tbl[i] = [
None]*colLen
2969 return html.Table(columnHeaders=legendLabels, rowHeaders=self._tableCreator.
headers(), table=tbl,
2970 purpose=self._tableCreator.getPurpose(), page=self._tableCreator.getPage(), section=self._tableCreator.getSection(dqmSubFolder[0]))
References plotting._getDirectory(), plotting.PlotterItem._possibleDirs, plotting.PlotterTableItem._possibleDirs, plotting.PlotterTableItem._tableCreator, getRunAppsInfo.headers, FastTimerService_cff.range, and ComparisonHelper.zip().
◆ _possibleDirs
plotting.PlotterTableItem._possibleDirs |
|
private |
◆ _tableCreator
plotting.PlotterTableItem._tableCreator |
|
private |
OutputIterator zip(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result, Compare comp)