| Report problems to ATLAS LXR Team (with time and IP address indicated) |
|
[ source navigation ] [ diff markup ] [ identifier search ] [ general search ] |
||||
|
||||||
| Links to LXR source navigation pages for stable releases | [ 12.*.* ] [ 13.*.* ] [ 14.*.* ] [ 15.*.* ] | |||||
001 #include "MuonGeoModel/DBReader.h" 002 #include "StoreGate/StoreGateSvc.h" 003 #include "CLHEP/Units/SystemOfUnits.h" 004 005 // #include "MuonGeoModel/TgcReadoutParams.h" 006 007 namespace MuonGM { 008 009 DBReader::DBReader(StoreGateSvc *pDetStore) 010 : 011 _pDetStore(pDetStore) 012 { 013 SCdbaccess = StatusCode::SUCCESS; 014 m_msgSvc = Athena::getMessageSvc(); 015 } 016 017 void DBReader::setGeometryVersion(std::string geoVersion) 018 { 019 version = geoVersion; 020 } 021 std::string DBReader::getGeometryVersion() const 022 { 023 return version; 024 } 025 026 std::string DBReader::TGCreadoutName(int ichtyp) 027 { 028 if ( _tgcReadoutMapping.size() == 0) 029 { // first time fill the vector 030 //std::cout<<" filling the map "<<std::endl; 031 _tgcReadoutMapping.push_back("T1F1"); // 1 032 033 _tgcReadoutMapping.push_back("T1E1"); // 2 034 _tgcReadoutMapping.push_back("T1E2"); 035 _tgcReadoutMapping.push_back("T1E3"); 036 _tgcReadoutMapping.push_back("T1E4"); 037 038 _tgcReadoutMapping.push_back("T2F1"); // 6 039 040 _tgcReadoutMapping.push_back("T2E1"); // 7 041 _tgcReadoutMapping.push_back("T2E2"); 042 _tgcReadoutMapping.push_back("T2E3"); 043 _tgcReadoutMapping.push_back("T2E4"); 044 _tgcReadoutMapping.push_back("T2E5"); // 11 045 046 _tgcReadoutMapping.push_back("T3F1"); // 12 047 048 _tgcReadoutMapping.push_back("T3E1"); // 13 049 _tgcReadoutMapping.push_back("T3E2"); 050 _tgcReadoutMapping.push_back("T3E3"); 051 _tgcReadoutMapping.push_back("T3E4"); 052 _tgcReadoutMapping.push_back("T3E5"); // 17 053 054 _tgcReadoutMapping.push_back("T4F1"); // 18 055 056 _tgcReadoutMapping.push_back("T4E1"); // 19 057 } 058 059 if (ichtyp<1 || ichtyp>19) { 060 std::cerr<<" DBReader::TGCreadoutName - ichtype " 061 <<ichtyp<<" out of range 1-19"<<std::endl; 062 return "XXXY"; 063 } 064 return _tgcReadoutMapping[ichtyp-1]; 065 } 066 067 } // namespace MuonGM 068
| [ source navigation ] | [ diff markup ] | [ identifier search ] | [ general search ] |
| Due to the LXR bug, the updates fail sometimes to remove references to deleted files. The Saturday's full rebuilds fix these problems | |
| This page was automatically generated by the LXR engine. |
|