Definition at line 64 of file LMap.cc.
References _lmap, _table, LMapRow::adc, prof2calltree::count, gather_cfg::cout, 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 Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::goto(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().
73 std::cout <<
"Unable to open file with the logical map: " << map_file << std::endl;
77 std::cout <<
"File with the logical map opened successfully: " << map_file << std::endl;
80 while ( getline( inFile, _row ) > 0 )
91 const char * let_code =
"Z";
96 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";
97 _read = sscanf( _row . c_str(), _format,
107 slbin, slbin2, slnam,
112 else if (
type ==
"HO" )
114 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";
115 _read = sscanf( _row . c_str(), _format,
136 if ( _det.find(
"HB") != std::string::npos ) aRow . det =
HcalBarrel;
137 else if ( _det.find(
"HE") != std::string::npos ) aRow . det =
HcalEndcap;
138 else if ( _det.find(
"HF") != std::string::npos ) aRow . det =
HcalForward;
139 else if ( _det.find(
"HO") != std::string::npos ) aRow . det =
HcalOuter;
142 aRow . rbx .append( rbx );
143 aRow . fpga .append( fpga );
144 aRow . slbin .append( slbin );
145 aRow . slbin2 .append( slbin2 );
146 aRow . slnam .append( slnam );
147 aRow . rctnam .append( rctnam );
148 aRow . let_code .append( let_code );
150 _table . push_back( aRow );
154 _lmap[_hdid.rawId()] = aRow;
159 std::cout <<
"LMap: " << lines . getCount() <<
" lines read" << std::endl;
std::map< int, LMapRow > _lmap
std::vector< LMapRow > _table