Go to the source code of this file.
static void printTableHeader |
( |
ofstream & |
file, |
|
|
std::string |
header |
|
) |
| |
|
static |
Definition at line 306 of file HcalDetDiagPedestalClient.cc.
Referenced by HcalDetDiagPedestalClient::htmlOutput().
307 file <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">"<< std::endl;
308 file <<
"<head>"<< std::endl;
309 file <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>"<< std::endl;
310 file <<
"<title>"<<
header <<
"</title>"<< std::endl;
311 file <<
"<style type=\"text/css\">"<< std::endl;
312 file <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }"<< std::endl;
313 file <<
" td.s0 { font-family: arial, arial ce, helvetica; }"<< std::endl;
314 file <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; text-align: center;}"<< std::endl;
315 file <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }"<< std::endl;
316 file <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }"<< std::endl;
317 file <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }"<< std::endl;
318 file <<
"</style>"<< std::endl;
319 file <<
"<body>"<< std::endl;
320 file <<
"<table>"<< std::endl;
Definition at line 323 of file HcalDetDiagPedestalClient.cc.
References HcalFrontEndId::adc(), comment, HcalElectronicsId::dccid(), HcalDetId::depth(), HcalFrontEndId::fiberChannel(), HcalElectronicsId::fiberIndex(), HcalElectronicsId::htrSlot(), HcalElectronicsId::htrTopBottom(), HcalDetId::ieta(), HcalDetId::iphi(), HcalFrontEndId::pixel(), HcalFrontEndId::qieCard(), HcalFrontEndId::rbx(), HcalElectronicsId::readoutVMECrateId(), HcalFrontEndId::rm(), HcalFrontEndId::rmFiber(), and HcalElectronicsId::spigot().
Referenced by HcalDetDiagPedestalClient::htmlOutput().
326 file <<
"<td class=\"s4\" align=\"center\">#</td>" << std::endl;
327 file <<
"<td class=\"s1\" align=\"center\">ETA</td>" << std::endl;
328 file <<
"<td class=\"s1\" align=\"center\">PHI</td>" << std::endl;
329 file <<
"<td class=\"s1\" align=\"center\">DEPTH</td>"<< std::endl;
330 file <<
"<td class=\"s1\" align=\"center\">RBX</td>" << std::endl;
331 file <<
"<td class=\"s1\" align=\"center\">RM</td>" << std::endl;
332 file <<
"<td class=\"s1\" align=\"center\">PIXEL</td>" << std::endl;
333 file <<
"<td class=\"s1\" align=\"center\">RM_FIBER</td>" << std::endl;
334 file <<
"<td class=\"s1\" align=\"center\">FIBER_CH</td>" << std::endl;
335 file <<
"<td class=\"s1\" align=\"center\">QIE</td>" << std::endl;
336 file <<
"<td class=\"s1\" align=\"center\">ADC</td>" << std::endl;
337 file <<
"<td class=\"s1\" align=\"center\">CRATE</td>" << std::endl;
338 file <<
"<td class=\"s1\" align=\"center\">DCC</td>" << std::endl;
339 file <<
"<td class=\"s1\" align=\"center\">SPIGOT</td>" << std::endl;
340 file <<
"<td class=\"s1\" align=\"center\">HTR_FIBER</td>" << std::endl;
341 file <<
"<td class=\"s1\" align=\"center\">HTR_SLOT</td>" << std::endl;
342 file <<
"<td class=\"s1\" align=\"center\">HTR_FPGA</td>" << std::endl;
343 if(
comment[0]!=0)
file <<
"<td class=\"s1\" align=\"center\">Comment</td>" << std::endl;
344 file <<
"</tr>" << std::endl;
346 std::string raw_class;
347 file <<
"<tr>"<< std::endl;
349 raw_class=
"<td class=\"s2\" align=\"center\">";
351 raw_class=
"<td class=\"s3\" align=\"center\">";
353 file <<
"<td class=\"s4\" align=\"center\">" << ind+1 <<
"</td>"<< std::endl;
354 file << raw_class<< detid.
ieta()<<
"</td>"<< std::endl;
355 file << raw_class<< detid.
iphi()<<
"</td>"<< std::endl;
356 file << raw_class<< detid.
depth() <<
"</td>"<< std::endl;
357 file << raw_class<< lmap_entry.
rbx()<<
"</td>"<< std::endl;
358 file << raw_class<< lmap_entry.
rm() <<
"</td>"<< std::endl;
359 file << raw_class<< lmap_entry.
pixel()<<
"</td>"<< std::endl;
360 file << raw_class<< lmap_entry.
rmFiber() <<
"</td>"<< std::endl;
362 file << raw_class<< lmap_entry.
qieCard() <<
"</td>"<< std::endl;
363 file << raw_class<< lmap_entry.
adc()<<
"</td>"<< std::endl;
365 file << raw_class<< emap_entry.
dccid()<<
"</td>"<< std::endl;
366 file << raw_class<< emap_entry.
spigot()<<
"</td>"<< std::endl;
368 file << raw_class<< emap_entry.
htrSlot()<<
"</td>"<< std::endl;
int fiberIndex() const
get the fiber index [1-8] (which of eight fibers carried by a spigot) (valid only for non-trigger-cha...
int htrSlot() const
get the htr slot
int readoutVMECrateId() const
get the readout VME crate number
int depth() const
get the tower depth
int htrTopBottom() const
get the htr top/bottom (1=top/0=bottom)
int ieta() const
get the cell ieta
int dccid() const
get the (Hcal local) DCC id
int spigot() const
get the spigot (input number on DCC)
int iphi() const
get the cell iphi
static void printTableTail |
( |
ofstream & |
file | ) |
|
|
static |