Description: container for the HCAL electronics map
Usage:
Definition at line 32 of file HcalEmap.h.
int HcalEmap::read_map |
( |
std::string |
filename | ) |
|
Definition at line 25 of file HcalEmap.cc.
References gather_cfg::cout, HcalEmap::HcalEmapRow::crate, HcalEmap::HcalEmapRow::dcc, HcalEmap::HcalEmapRow::fiber, HcalEmap::HcalEmapRow::fiberchan, HcalEmap::HcalEmapRow::idepth, HcalEmap::HcalEmapRow::ieta, recoMuon::in, HcalEmap::HcalEmapRow::iphi, groupFilesInBlocks::lines, HcalEmap::HcalEmapRow::rawId, HcalEmap::HcalEmapRow::slot, HcalEmap::HcalEmapRow::spigot, AlCaHLTBitMon_QueryRunRegistry::string, HcalEmap::HcalEmapRow::subdet, and HcalEmap::HcalEmapRow::topbottom.
Referenced by HcalEmap().
31 std::cout <<
"Unable to open file with the electronic map: " <<
filename << std::endl;
33 std::cout <<
"File with the electronic map opened successfully: " <<
filename << std::endl;
35 while (getline(inFile, _row)) {
41 const char* _format =
"%d %d %d %s %d %d %d %d %s %d %d %d";
42 _read = sscanf(_row.c_str(),
59 aRow.subdet.append(subdet);
60 aRow.topbottom.append(fpga);
66 std::cout <<
"HcalEmap: " << lines <<
" lines read" << std::endl;
std::vector< HcalEmapRow > map