#include <DataManager.h>
Public Member Functions | |
void | connect (const std::string &connectString, const std::string &authenticationPath, bool isOMDS=false) |
DataManager () | |
DataManager (const std::string &connectString, const std::string &authenticationPath, bool isOMDS=false) | |
cond::persistency::Session | dbSession () |
void | setDebug (bool debug) |
virtual | ~DataManager () |
Protected Member Functions | |
edm::eventsetup::TypeTag | findType (const std::string &type) |
Protected Attributes | |
cond::persistency::Session | session |
Private Attributes | |
bool | debugFlag = false |
Definition at line 17 of file DataManager.h.
l1t::DataManager::DataManager | ( | ) |
Definition at line 8 of file DataManager.cc.
|
explicit |
Definition at line 10 of file DataManager.cc.
References connect().
|
virtual |
Definition at line 27 of file DataManager.cc.
References cond::persistency::Session::close(), and session.
void l1t::DataManager::connect | ( | const std::string & | connectString, |
const std::string & | authenticationPath, | ||
bool | isOMDS = false |
||
) |
Definition at line 14 of file DataManager.cc.
References cond::persistency::ConnectionPool::configure(), cond::persistency::ConnectionPool::createSession(), Debug, debugFlag, session, cond::persistency::ConnectionPool::setAuthenticationPath(), setDebug(), and cond::persistency::ConnectionPool::setMessageVerbosity().
Referenced by l1t::OMDSReader::connect(), DataManager(), and o2o_db_cfgmap.DbManagerDAQ::update_hashmap().
|
inline |
Definition at line 26 of file DataManager.h.
References session.
Referenced by L1CaloHcalScaleConfigOnlineProd::newObject().
|
protected |
Definition at line 32 of file DataManager.cc.
References edm::eventsetup::heterocontainer::HCTypeTag::findType().
void l1t::DataManager::setDebug | ( | bool | debug | ) |
Definition at line 43 of file DataManager.cc.
References debug, and debugFlag.
Referenced by connect().
|
private |
Definition at line 36 of file DataManager.h.
Referenced by connect(), and setDebug().
|
protected |
Definition at line 33 of file DataManager.h.
Referenced by l1t::OMDSReader::basicQuery(), l1t::OMDSReader::basicQueryGenericKey(), l1t::OMDSReader::basicQueryView(), l1t::OMDSReader::columnNames(), l1t::OMDSReader::columnNamesView(), connect(), l1t::OMDSReader::connect(), dbSession(), l1t::OMDSReader::OMDSReader(), and ~DataManager().