![]() |
ATLAS Offline Software
|
#include <MYSQL.h>
Classes | |
| struct | MYSQLPtr |
Public Types | |
| enum | TgcReadoutRange { NTgcReadouts = 30 } |
| using | LockedMYSQL = CxxUtils::LockedPointer<MYSQL> |
| using | StationMap = std::map<std::string, std::unique_ptr<Station> > |
| using | StationIterator = StationMap::const_iterator |
| using | TgcReadParsMap = std::map<std::string, GeoModel::TransientConstSharedPtr<TgcReadoutParams>> |
| using | TgcReadParsIterator = TgcReadParsMap::const_iterator |
| using | TechnologyMap = std::map<std::string, std::unique_ptr<Technology>> |
| using | TechnologyIterator = TechnologyMap::const_iterator |
Public Member Functions | |
| ~MYSQL () | |
| bool | amdb_from_RDB () const |
| void | set_amdb_from_RDB (bool) |
| void | setGeometryVersion (const std::string &s) |
| const std::string & | getGeometryVersion () const |
| void | setLayoutName (const std::string &s) |
| const std::string & | getLayoutName () const |
| void | setNovaVersion (int i) |
| int | getNovaVersion () const |
| void | setNovaReadVersion (int i) |
| int | getNovaReadVersion () const |
| const StationMap & | stationMap () const |
| const TgcReadParsMap & | tgcReadParsMap () const |
| AllocposIterator | AllocposBegin () const |
| AllocposIterator | AllocposEnd () const |
| AllocposIterator | AllocposFind (int) const |
| std::string | AllocposFindName (int) const |
| void | addAllocpos (int i, const std::string &str) |
| std::string | allocPosBuildKey (const std::string &statType, int fi, int zi) const |
| int | allocPosBuildValue (int subtype, int cutout) const |
| allocPosIterator | allocPosBegin () const |
| allocPosIterator | allocPosEnd () const |
| allocPosIterator | allocPosFind (const std::string &key) const |
| allocPosIterator | allocPosFind (const std::string &statType, int fi, int zi) const |
| int | allocPosFindSubtype (const std::string &statType, int fi, int zi) const |
| int | allocPosFindSubtype (const std::string &key) const |
| int | allocPosFindSubtype (allocPosIterator it) const |
| int | allocPosFindCutout (const std::string &statType, int fi, int zi) const |
| int | allocPosFindCutout (const std::string &key) const |
| int | allocPosFindCutout (allocPosIterator it) const |
| void | addallocPos (const std::string &key, int value) |
| void | addallocPos (const std::string &statType, int fi, int zi, int subtyp, int cutout) |
| void | addallocPos (const std::string &key, int subtype, int cutout) |
| int | NStations () const |
| int | NTgcReadTypes () const |
| const Station * | GetStation (const std::string &name) const |
| Station * | GetStation (const std::string &name) |
| Position | GetStationPosition (const std::string &nameType, int fi, int zi) const |
| GeoModel::TransientConstSharedPtr< TgcReadoutParams > | GetTgcRPars (const std::string &name) const |
| GeoModel::TransientConstSharedPtr< TgcReadoutParams > | GetTgcRPars (int i) const |
| void | StoreStation (Station *s) |
| void | PrintAllStations () const |
| void | StoreTechnology (Technology *t) |
| void | StoreTgcRPars (GeoModel::TransientConstSharedPtr< TgcReadoutParams > t) |
| Technology * | GetTechnology (const std::string &name) |
| const Technology * | GetTechnology (const std::string &name) const |
| const Technology * | GetATechnology (const std::string &name) const |
| void | PrintTechnologies () |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Static Public Member Functions | |
| static LockedMYSQL | GetPointer () |
Private Member Functions | |
| MYSQL () | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Static Private Member Functions | |
| static MYSQLPtr & | GetMYSQLPtr () |
Private Attributes | |
| std::map< int, std::string > | m_allocatedpos |
| std::map< std::string, int > | m_allocPos |
| StationMap | m_stations {} |
| TechnologyMap | m_technologies {} |
| TgcReadParsMap | m_tgcReadouts {} |
| std::array< GeoModel::TransientConstSharedPtr< TgcReadoutParams >, NTgcReadouts > | m_tgcReadout {} |
| std::string | m_geometry_version {"unknown"} |
| std::string | m_layout_name {"unknown"} |
| std::string | m_DBMuonVersion {"unknown"} |
| int | m_nova_version {0} |
| int | m_amdb_version {0} |
| bool | m_amdb_from_rdb {false} |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
| using MuonGM::MYSQL::StationIterator = StationMap::const_iterator |
| using MuonGM::MYSQL::StationMap = std::map<std::string, std::unique_ptr<Station> > |
| using MuonGM::MYSQL::TechnologyIterator = TechnologyMap::const_iterator |
| using MuonGM::MYSQL::TechnologyMap = std::map<std::string, std::unique_ptr<Technology>> |
| using MuonGM::MYSQL::TgcReadParsIterator = TgcReadParsMap::const_iterator |
| using MuonGM::MYSQL::TgcReadParsMap = std::map<std::string, GeoModel::TransientConstSharedPtr<TgcReadoutParams>> |
| MuonGM::MYSQL::~MYSQL | ( | ) |
Definition at line 23 of file MYSQL.cxx.
|
private |
Definition at line 20 of file MYSQL.cxx.
| void MuonGM::MYSQL::addAllocpos | ( | int | i, |
| const std::string & | str ) |
| void MuonGM::MYSQL::addallocPos | ( | const std::string & | key, |
| int | subtype, | ||
| int | cutout ) |
Definition at line 256 of file MYSQL.cxx.
| void MuonGM::MYSQL::addallocPos | ( | const std::string & | key, |
| int | value ) |
| void MuonGM::MYSQL::addallocPos | ( | const std::string & | statType, |
| int | fi, | ||
| int | zi, | ||
| int | subtyp, | ||
| int | cutout ) |
Definition at line 206 of file MYSQL.cxx.
| AllocposIterator MuonGM::MYSQL::AllocposBegin | ( | ) | const |
| allocPosIterator MuonGM::MYSQL::allocPosBegin | ( | ) | const |
| std::string MuonGM::MYSQL::allocPosBuildKey | ( | const std::string & | statType, |
| int | fi, | ||
| int | zi ) const |
Definition at line 184 of file MYSQL.cxx.
| int MuonGM::MYSQL::allocPosBuildValue | ( | int | subtype, |
| int | cutout ) const |
| AllocposIterator MuonGM::MYSQL::AllocposEnd | ( | ) | const |
| allocPosIterator MuonGM::MYSQL::allocPosEnd | ( | ) | const |
| AllocposIterator MuonGM::MYSQL::AllocposFind | ( | int | i | ) | const |
| allocPosIterator MuonGM::MYSQL::allocPosFind | ( | const std::string & | key | ) | const |
| allocPosIterator MuonGM::MYSQL::allocPosFind | ( | const std::string & | statType, |
| int | fi, | ||
| int | zi ) const |
| int MuonGM::MYSQL::allocPosFindCutout | ( | allocPosIterator | it | ) | const |
| int MuonGM::MYSQL::allocPosFindCutout | ( | const std::string & | key | ) | const |
Definition at line 305 of file MYSQL.cxx.
| int MuonGM::MYSQL::allocPosFindCutout | ( | const std::string & | statType, |
| int | fi, | ||
| int | zi ) const |
| std::string MuonGM::MYSQL::AllocposFindName | ( | int | i | ) | const |
Definition at line 218 of file MYSQL.cxx.
| int MuonGM::MYSQL::allocPosFindSubtype | ( | allocPosIterator | it | ) | const |
| int MuonGM::MYSQL::allocPosFindSubtype | ( | const std::string & | key | ) | const |
Definition at line 315 of file MYSQL.cxx.
| int MuonGM::MYSQL::allocPosFindSubtype | ( | const std::string & | statType, |
| int | fi, | ||
| int | zi ) const |
| const Technology * MuonGM::MYSQL::GetATechnology | ( | const std::string & | name | ) | const |
Definition at line 162 of file MYSQL.cxx.
| const std::string & MuonGM::MYSQL::getGeometryVersion | ( | ) | const |
| const std::string & MuonGM::MYSQL::getLayoutName | ( | ) | const |
|
staticprivate |
Definition at line 32 of file MYSQL.cxx.
|
static |
| Station * MuonGM::MYSQL::GetStation | ( | const std::string & | name | ) |
| const Station * MuonGM::MYSQL::GetStation | ( | const std::string & | name | ) | const |
| Position MuonGM::MYSQL::GetStationPosition | ( | const std::string & | nameType, |
| int | fi, | ||
| int | zi ) const |
Definition at line 71 of file MYSQL.cxx.
| Technology * MuonGM::MYSQL::GetTechnology | ( | const std::string & | name | ) |
| const Technology * MuonGM::MYSQL::GetTechnology | ( | const std::string & | name | ) | const |
| GeoModel::TransientConstSharedPtr< TgcReadoutParams > MuonGM::MYSQL::GetTgcRPars | ( | const std::string & | name | ) | const |
Definition at line 88 of file MYSQL.cxx.
| GeoModel::TransientConstSharedPtr< TgcReadoutParams > MuonGM::MYSQL::GetTgcRPars | ( | int | i | ) | const |
Definition at line 97 of file MYSQL.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 163 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 178 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
| void MuonGM::MYSQL::PrintAllStations | ( | ) | const |
| void MuonGM::MYSQL::PrintTechnologies | ( | ) |
| void MuonGM::MYSQL::setGeometryVersion | ( | const std::string & | s | ) |
| void MuonGM::MYSQL::setLayoutName | ( | const std::string & | s | ) |
Definition at line 289 of file MYSQL.cxx.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
| void MuonGM::MYSQL::setNovaReadVersion | ( | int | i | ) |
| void MuonGM::MYSQL::setNovaVersion | ( | int | i | ) |
| const MYSQL::StationMap & MuonGM::MYSQL::stationMap | ( | ) | const |
| void MuonGM::MYSQL::StoreStation | ( | Station * | s | ) |
| void MuonGM::MYSQL::StoreTechnology | ( | Technology * | t | ) |
Definition at line 125 of file MYSQL.cxx.
| void MuonGM::MYSQL::StoreTgcRPars | ( | GeoModel::TransientConstSharedPtr< TgcReadoutParams > | t | ) |
Definition at line 141 of file MYSQL.cxx.
| const MYSQL::TgcReadParsMap & MuonGM::MYSQL::tgcReadParsMap | ( | ) | const |
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
|
private |
|
private |
|
private |
|
private |
|
mutableprivateinherited |
|
private |
|
mutableprivateinherited |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
|
private |
|
private |
|
private |