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);
66 std::cout <<
"HcalEmap: " << lines <<
" lines read" << std::endl;
int test_read_map(std::string filename)
std::vector< HcalEmap::HcalEmapRow > & get_map(void)
bool operator<(const HcalEmapRow &other) const
int read_map(std::string filename)