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