3 from __future__
import print_function
6 from xml.parsers
import expat
12 def __init__(self, title="CMS SDT pages", style=None, outFile=sys.stdout) :
18 print(
"\n================================================================================\n")
48 for fmt
in self.
cols :
68 def __init__(self, title="CMS SDT pages ", style=None, outFile=sys.stdout, scriptCode='') :
99 def write(self, arg="", bold=False) :
137 def startTable(self, colSizes, colLabels, id=None, cls=None, tableAttr=None) :
139 tableString =
'<table ' 141 tableString += tableAttr
143 tableString +=
' id="'+id+
'" ' 145 tableString +=
' class="'+cls+
'" ' 150 for col
in colLabels :
151 self.
outFile.
write(
" <th> <b>" + col +
"</b> </th>" +
'\n')
164 if str(arg).
strip() ==
"" : arg =
" " 177 for arg, cellStyle
in zip(args, styles):
178 if str(arg).
strip() ==
"" : arg =
" " 179 cellStyle = cellStyle.strip()
180 if cellStyle !=
'' : self.
outFile.
write(
'<td class='+cellStyle+
'> ' )
ALPAKA_FN_HOST_ACC ALPAKA_FN_INLINE constexpr float zip(ConstView const &tracks, int32_t i)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)