Definition at line 65 of file LMap.cc.
References LMapRow::adc, KineDebug3::count(), LMapRow::crate, LMapRow::dcc, LMapRow::dcc_sl, LMapRow::depth, LMapRow::det, LMapRow::dphi, LMapRow::eta, LMapRow::fedid, LMapRow::fi_ch, HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, LMapRow::htr, LMapRow::htr_fi, recoMuon::in, groupFilesInBlocks::lines, LMapRow::phi, LMapRow::pixel, LMapRow::qie, DetId::rawId(), LMapRow::rctcar, LMapRow::rctcon, LMapRow::rctcra, LMapRow::rm, LMapRow::rm_fi, LMapRow::side, LMapRow::slb, LMapRow::spigo, AlCaHLTBitMon_QueryRunRegistry::string, and LMapRow::wedge.
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::goto(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().
74 edm::LogError(
"LMap") <<
"Unable to open file with the logical map: " << map_file;
78 edm::LogInfo(
"LMap") <<
"File with the logical map opened successfully: " << map_file << std::endl
81 while (getline( inFile, _row ))
92 const char * let_code =
"Z";
97 const char * _format =
" %d %d %d %d %d %s %s %d %d %d %d %d %d %d %d %d %s %d %d %d %d %d %s %s %s %d %d %d %s %d";
98 _read = sscanf( _row . c_str(), _format,
108 slbin, slbin2, slnam,
113 else if (
type ==
"HO" )
115 const char * _format =
" %d %d %d %d %d %s %s %d %d %d %d %d %d %d %s %d %d %s %d %d %d %d %d";
116 _read = sscanf( _row . c_str(), _format,
137 if ( _det.find(
"HB") != std::string::npos ) aRow . det =
HcalBarrel;
138 else if ( _det.find(
"HE") != std::string::npos ) aRow . det =
HcalEndcap;
139 else if ( _det.find(
"HF") != std::string::npos ) aRow . det =
HcalForward;
140 else if ( _det.find(
"HO") != std::string::npos ) aRow . det =
HcalOuter;
143 aRow . rbx .append( rbx );
144 aRow . fpga .append( fpga );
145 aRow . slbin .append( slbin );
146 aRow . slbin2 .append( slbin2 );
147 aRow . slnam .append( slnam );
148 aRow . rctnam .append( rctnam );
149 aRow . let_code .append( let_code );
151 _table . push_back( aRow );
155 _lmap[_hdid.rawId()] = aRow;
160 edm::LogInfo(
"LMap") << lines . getCount() <<
" lines read";
std::map< int, LMapRow > _lmap
std::vector< LMapRow > _table