![]() |
ATLAS Offline Software
|
#include <DatabaseConfig.h>
Public Member Functions | |
| DatabaseConfig (std::string connectionString, long runNumber) | |
| nlohmann::json | GetPayload (const std::string &tag) |
| bool | IsConnected () const |
| void | Disconnect () |
Private Member Functions | |
| long | GetRunNumber () const |
| nlohmann::json | LoadPayload (const std::string &tag) |
| void | Connect () |
Private Attributes | |
| const std::string | m_connectionString |
| const long | m_runNumber {} |
| bool | m_dbConnected {} |
| bool | m_folderConnected {} |
| std::unordered_map< std::string, nlohmann::json > | m_jsonData |
| cool::IFolderPtr | m_folder |
| cool::IDatabasePtr | m_database |
Definition at line 15 of file DatabaseConfig.h.
| dqi::DatabaseConfig::DatabaseConfig | ( | std::string | connectionString, |
| long | runNumber ) |
Definition at line 20 of file DatabaseConfig.cxx.
|
private |
Definition at line 41 of file DatabaseConfig.cxx.
| void dqi::DatabaseConfig::Disconnect | ( | ) |
Definition at line 30 of file DatabaseConfig.cxx.
| nlohmann::json dqi::DatabaseConfig::GetPayload | ( | const std::string & | tag | ) |
Definition at line 64 of file DatabaseConfig.cxx.
|
private |
Definition at line 104 of file DatabaseConfig.cxx.
| bool dqi::DatabaseConfig::IsConnected | ( | ) | const |
Definition at line 97 of file DatabaseConfig.cxx.
|
private |
Definition at line 77 of file DatabaseConfig.cxx.
|
private |
Definition at line 25 of file DatabaseConfig.h.
|
private |
Definition at line 33 of file DatabaseConfig.h.
|
private |
Definition at line 28 of file DatabaseConfig.h.
|
private |
Definition at line 32 of file DatabaseConfig.h.
|
private |
Definition at line 29 of file DatabaseConfig.h.
|
private |
Definition at line 31 of file DatabaseConfig.h.
|
private |
Definition at line 26 of file DatabaseConfig.h.