|
def | __init__ (self, possibleDirs, tableCreator) |
|
def | create (self, openFiles, legendLabels, dqmSubFolder) |
|
Definition at line 2930 of file plotting.py.
◆ __init__()
def plotting.PlotterTableItem.__init__ |
( |
|
self, |
|
|
|
possibleDirs, |
|
|
|
tableCreator |
|
) |
| |
Definition at line 2931 of file plotting.py.
2931 def __init__(self, possibleDirs, tableCreator):
2932 self._possibleDirs = possibleDirs
2933 self._tableCreator = tableCreator
◆ create()
def plotting.PlotterTableItem.create |
( |
|
self, |
|
|
|
openFiles, |
|
|
|
legendLabels, |
|
|
|
dqmSubFolder |
|
) |
| |
Definition at line 2935 of file plotting.py.
2935 def create(self, openFiles, legendLabels, dqmSubFolder):
2936 if isinstance(dqmSubFolder, list):
2937 if len(dqmSubFolder) != len(openFiles):
2938 raise Exception(
"When dqmSubFolder is a list, len(dqmSubFolder) should be len(openFiles), now they are %d and %d" % (len(dqmSubFolder), len(openFiles)))
2940 dqmSubFolder = [dqmSubFolder]*len(openFiles)
2941 dqmSubFolder = [sf.subfolder
if sf
is not None else None for sf
in dqmSubFolder]
2944 for f, sf
in zip(openFiles, dqmSubFolder):
2947 if tdir
is not None:
2948 data = self._tableCreator.
create(tdir)
2963 for i
in range(len(tbl)):
2965 tbl[i] = [
None]*colLen
2967 return html.Table(columnHeaders=legendLabels, rowHeaders=self._tableCreator.
headers(), table=tbl,
2968 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)