Go to the source code of this file.
static void printTableHeader |
( |
std::ofstream & |
file, |
|
|
std::string |
header |
|
) |
| |
|
static |
Definition at line 116 of file HcalDetDiagLEDClient.cc.
Referenced by HcalDetDiagLEDClient::htmlOutput().
117 file <<
"</html><html xmlns=\"http://www.w3.org/1999/xhtml\">"<< std::endl;
118 file <<
"<head>"<< std::endl;
119 file <<
"<meta http-equiv=\"Content-Type\" content=\"text/html\"/>"<< std::endl;
120 file <<
"<title>"<< header <<
"</title>"<< std::endl;
121 file <<
"<style type=\"text/css\">"<< std::endl;
122 file <<
" body,td{ background-color: #FFFFCC; font-family: arial, arial ce, helvetica; font-size: 12px; }"<< std::endl;
123 file <<
" td.s0 { font-family: arial, arial ce, helvetica; }"<< std::endl;
124 file <<
" td.s1 { font-family: arial, arial ce, helvetica; font-weight: bold; background-color: #FFC169; text-align: center;}"<< std::endl;
125 file <<
" td.s2 { font-family: arial, arial ce, helvetica; background-color: #eeeeee; }"<< std::endl;
126 file <<
" td.s3 { font-family: arial, arial ce, helvetica; background-color: #d0d0d0; }"<< std::endl;
127 file <<
" td.s4 { font-family: arial, arial ce, helvetica; background-color: #FFC169; }"<< std::endl;
128 file <<
"</style>"<< std::endl;
129 file <<
"<body>"<< std::endl;
130 file <<
"<table>"<< std::endl;
Definition at line 132 of file HcalDetDiagLEDClient.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(), HcalElectronicsId::spigot(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HcalDetDiagLEDClient::htmlOutput().
135 file <<
"<td class=\"s4\" align=\"center\">#</td>" << std::endl;
136 file <<
"<td class=\"s1\" align=\"center\">ETA</td>" << std::endl;
137 file <<
"<td class=\"s1\" align=\"center\">PHI</td>" << std::endl;
138 file <<
"<td class=\"s1\" align=\"center\">DEPTH</td>"<< std::endl;
139 file <<
"<td class=\"s1\" align=\"center\">RBX</td>" << std::endl;
140 file <<
"<td class=\"s1\" align=\"center\">RM</td>" << std::endl;
141 file <<
"<td class=\"s1\" align=\"center\">PIXEL</td>" << std::endl;
142 file <<
"<td class=\"s1\" align=\"center\">RM_FIBER</td>" << std::endl;
143 file <<
"<td class=\"s1\" align=\"center\">FIBER_CH</td>" << std::endl;
144 file <<
"<td class=\"s1\" align=\"center\">QIE</td>" << std::endl;
145 file <<
"<td class=\"s1\" align=\"center\">ADC</td>" << std::endl;
146 file <<
"<td class=\"s1\" align=\"center\">CRATE</td>" << std::endl;
147 file <<
"<td class=\"s1\" align=\"center\">DCC</td>" << std::endl;
148 file <<
"<td class=\"s1\" align=\"center\">SPIGOT</td>" << std::endl;
149 file <<
"<td class=\"s1\" align=\"center\">HTR_FIBER</td>" << std::endl;
150 file <<
"<td class=\"s1\" align=\"center\">HTR_SLOT</td>" << std::endl;
151 file <<
"<td class=\"s1\" align=\"center\">HTR_FPGA</td>" << std::endl;
152 if(
comment[0]!=0)
file <<
"<td class=\"s1\" align=\"center\">Comment</td>" << std::endl;
153 file <<
"</tr>" << std::endl;
156 file <<
"<tr>"<< std::endl;
158 raw_class=
"<td class=\"s2\" align=\"center\">";
160 raw_class=
"<td class=\"s3\" align=\"center\">";
162 file <<
"<td class=\"s4\" align=\"center\">" << ind+1 <<
"</td>"<< std::endl;
163 file << raw_class<< detid.
ieta()<<
"</td>"<< std::endl;
164 file << raw_class<< detid.
iphi()<<
"</td>"<< std::endl;
165 file << raw_class<< detid.
depth() <<
"</td>"<< std::endl;
166 file << raw_class<< lmap_entry.
rbx()<<
"</td>"<< std::endl;
167 file << raw_class<< lmap_entry.
rm() <<
"</td>"<< std::endl;
168 file << raw_class<< lmap_entry.
pixel()<<
"</td>"<< std::endl;
169 file << raw_class<< lmap_entry.
rmFiber() <<
"</td>"<< std::endl;
171 file << raw_class<< lmap_entry.
qieCard() <<
"</td>"<< std::endl;
172 file << raw_class<< lmap_entry.
adc()<<
"</td>"<< std::endl;
174 file << raw_class<< emap_entry.
dccid()<<
"</td>"<< std::endl;
175 file << raw_class<< emap_entry.
spigot()<<
"</td>"<< std::endl;
177 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 |
( |
std::ofstream & |
file | ) |
|
|
static |