|
def | __init__ (self, possibleDirs, tableCreator) |
|
def | create (self, openFiles, legendLabels, dqmSubFolder) |
|
Definition at line 2922 of file plotting.py.
◆ __init__()
def plotting.PlotterTableItem.__init__ |
( |
|
self, |
|
|
|
possibleDirs, |
|
|
|
tableCreator |
|
) |
| |
Definition at line 2923 of file plotting.py.
2923 def __init__(self, possibleDirs, tableCreator):
2924 self._possibleDirs = possibleDirs
2925 self._tableCreator = tableCreator
◆ create()
def plotting.PlotterTableItem.create |
( |
|
self, |
|
|
|
openFiles, |
|
|
|
legendLabels, |
|
|
|
dqmSubFolder |
|
) |
| |
Definition at line 2927 of file plotting.py.
2927 def create(self, openFiles, legendLabels, dqmSubFolder):
2928 if isinstance(dqmSubFolder, list):
2929 if len(dqmSubFolder) != len(openFiles):
2930 raise Exception(
"When dqmSubFolder is a list, len(dqmSubFolder) should be len(openFiles), now they are %d and %d" % (len(dqmSubFolder), len(openFiles)))
2932 dqmSubFolder = [dqmSubFolder]*len(openFiles)
2933 dqmSubFolder = [sf.subfolder
if sf
is not None else None for sf
in dqmSubFolder]
2936 for f, sf
in zip(openFiles, dqmSubFolder):
2939 if tdir
is not None:
2940 data = self._tableCreator.
create(tdir)
2955 for i
in range(len(tbl)):
2957 tbl[i] = [
None]*colLen
2959 return html.Table(columnHeaders=legendLabels, rowHeaders=self._tableCreator.
headers(), table=tbl,
2960 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)