#include <OnlinePopCon.h>
Public Types | |
typedef cond::Time_t | Time_t |
Public Member Functions | |
OnlinePopCon (const edm::ParameterSet &pset) | |
template<typename Source > | |
void | write (Source const &source) |
virtual | ~OnlinePopCon () |
Private Member Functions | |
void | finalize () |
cond::persistency::Session | initialize () |
cond::persistency::Session | preparePopCon () |
Private Attributes | |
std::string | m_authPath |
int | m_authSys |
int | m_dbLoggerReturn_ |
edm::Service< cond::service::OnlineDBOutputService > | m_dbService |
cond::LogDBEntry_t | m_logDBEntry |
std::string | m_recordName |
cond::TagInfo_t | m_tagInfo |
std::string | m_targetConnectionString |
cond::persistency::Session | m_targetSession |
bool | m_useLockRecors |
Static Private Attributes | |
static constexpr const char *const | s_version = "1.0" |
Definition at line 26 of file OnlinePopCon.h.
Definition at line 28 of file OnlinePopCon.h.
popcon::OnlinePopCon::OnlinePopCon | ( | const edm::ParameterSet & | pset | ) |
Definition at line 12 of file OnlinePopCon.cc.
References s_version.
|
virtual |
Definition at line 24 of file OnlinePopCon.cc.
References cond::persistency::Transaction::commit(), m_targetConnectionString, m_targetSession, and cond::persistency::Session::transaction().
|
private |
Definition at line 90 of file OnlinePopCon.cc.
References cond::persistency::Transaction::commit(), cond::service::PoolDBOutputService::commitTransaction(), cond::persistency::Logger::end(), Exception, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::logger(), cond::persistency::Logger::logInfo(), m_dbLoggerReturn_, m_dbService, m_recordName, m_targetConnectionString, m_targetSession, m_useLockRecors, cond::service::PoolDBOutputService::releaseLocks(), and cond::persistency::Session::transaction().
Referenced by write().
|
private |
Definition at line 68 of file OnlinePopCon.cc.
References Exception, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::lockRecords(), cond::service::PoolDBOutputService::logger(), cond::persistency::Logger::logInfo(), m_dbLoggerReturn_, m_dbService, m_recordName, m_useLockRecors, preparePopCon(), run_AlCaRecoTriggerBitsUpdateWorkflow::session, and cond::persistency::Logger::start().
Referenced by write().
|
private |
Definition at line 30 of file OnlinePopCon.cc.
References cond::persistency::ConnectionPool::configure(), cond::persistency::Session::connectionString(), cond::persistency::ConnectionPool::createSession(), cond::persistency::Session::existsDatabase(), cond::persistency::Session::existsIov(), cond::service::PoolDBOutputService::forceInit(), cond::persistency::IOVProxy::getLast(), cond::TagInfo_t::lastInterval, cond::service::PoolDBOutputService::logger(), cond::persistency::Logger::logInfo(), m_authPath, m_authSys, m_dbService, m_recordName, m_tagInfo, m_targetConnectionString, m_targetSession, cond::TagInfo_t::name, cond::persistency::Session::readIov(), cond::persistency::IOVProxy::sequenceSize(), cond::service::PoolDBOutputService::session(), cond::persistency::ConnectionPool::setAuthenticationPath(), cond::persistency::ConnectionPool::setAuthenticationSystem(), cond::Iov_t::since, cond::TagInfo_t::size, cond::persistency::Transaction::start(), cond::service::PoolDBOutputService::startTransaction(), AlCaHLTBitMon_QueryRunRegistry::string, cond::service::PoolDBOutputService::tag(), dcs_print_summary_cfg::tagName, cond::Iov_t::till, and cond::persistency::Session::transaction().
Referenced by initialize().
void popcon::OnlinePopCon::write | ( | Source const & | source | ) |
Definition at line 64 of file OnlinePopCon.h.
References MillePedeFileConverter_cfg::e, cppFunctionSkipper::exception, Exception, finalize(), initialize(), run_AlCaRecoTriggerBitsUpdateWorkflow::iovs, edm::Service< T >::isAvailable(), cond::persistency::Logger::logError(), cond::service::PoolDBOutputService::logger(), cond::persistency::Logger::logInfo(), m_dbLoggerReturn_, m_dbService, m_logDBEntry, m_recordName, m_tagInfo, jetsAK4_Puppi_cff::payload, runTheMatrix::ret, source, and cond::service::OnlineDBOutputService::writeIOVForNextLumisection().
Referenced by pkg.AbstractPkg::generate(), popcon::OnlinePopConAnalyzer< S >::write(), and querying.connection::write_and_commit().
|
private |
Definition at line 49 of file OnlinePopCon.h.
Referenced by preparePopCon().
|
private |
Definition at line 50 of file OnlinePopCon.h.
Referenced by preparePopCon().
|
private |
Definition at line 56 of file OnlinePopCon.h.
Referenced by finalize(), initialize(), and write().
|
private |
Definition at line 44 of file OnlinePopCon.h.
Referenced by finalize(), initialize(), preparePopCon(), and write().
|
private |
Definition at line 53 of file OnlinePopCon.h.
Referenced by write().
|
private |
Definition at line 51 of file OnlinePopCon.h.
Referenced by finalize(), initialize(), preparePopCon(), and write().
|
private |
Definition at line 52 of file OnlinePopCon.h.
Referenced by preparePopCon(), and write().
|
private |
Definition at line 48 of file OnlinePopCon.h.
Referenced by finalize(), preparePopCon(), and ~OnlinePopCon().
|
private |
Definition at line 47 of file OnlinePopCon.h.
Referenced by finalize(), preparePopCon(), and ~OnlinePopCon().
|
private |
Definition at line 57 of file OnlinePopCon.h.
Referenced by finalize(), and initialize().
|
staticprivate |
Definition at line 60 of file OnlinePopCon.h.
Referenced by OnlinePopCon().