#include <CaloOnlineTools/HcalOnlineDb/interface/HcalO2OManager.h>
Public Member Functions | |
int | getListOfNewIovs (std::vector< uint32_t > &iovs, const std::vector< uint32_t > &omds_iovs, const std::vector< uint32_t > &orcon_iovs) |
void | getListOfNewIovs_test (void) |
int | getListOfOmdsIovs (std::vector< uint32_t > &out, std::string tagname) |
std::vector< std::string > | getListOfOmdsTags () |
int | getListOfPoolIovs (std::vector< uint32_t > &out, std::string tagname, std::string connect, std::string auth_path) |
std::vector< std::string > | getListOfPoolTags (std::string connect, std::string auth_path) |
int | getListOfUpdateIovs (std::vector< uint32_t > &_iovs, std::string _tag, std::string pool_connect_string, std::string pool_auth_path) |
HcalO2OManager () | |
virtual | ~HcalO2OManager () |
Description: Defines all logic of HCAL O2O transfers
Usage: <usage>
Definition at line 25 of file HcalO2OManager.h.
HcalO2OManager::HcalO2OManager | ( | ) |
Definition at line 44 of file HcalO2OManager.cc.
References edmplugin::standard::config(), and edmplugin::PluginManager::configure().
|
virtual |
Definition at line 50 of file HcalO2OManager.cc.
int HcalO2OManager::getListOfNewIovs | ( | std::vector< uint32_t > & | iovs, |
const std::vector< uint32_t > & | omds_iovs, | ||
const std::vector< uint32_t > & | orcon_iovs | ||
) |
Definition at line 243 of file HcalO2OManager.cc.
References Reconstruction_AftMix_cff::_index, gather_cfg::cout, and query::result.
void HcalO2OManager::getListOfNewIovs_test | ( | void | ) |
Definition at line 206 of file HcalO2OManager.cc.
References filterCSVwithJSON::copy, gather_cfg::cout, and dbtoconf::out.
int HcalO2OManager::getListOfOmdsIovs | ( | std::vector< uint32_t > & | out, |
std::string | tagname | ||
) |
Definition at line 163 of file HcalO2OManager.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, results_mgr::conn, ConnectionManager::connect(), ConnectionManager::disconnect(), alignCSCRings::e, ConnectionManager::getStatement(), o2o::query, AlCaHLTBitMon_QueryRunRegistry::string, and toolbox::toString().
std::vector< std::string > HcalO2OManager::getListOfOmdsTags | ( | ) |
Definition at line 134 of file HcalO2OManager.cc.
References lumiTag::alltags, ecal_dqm_sourceclient-live_cfg::cerr, results_mgr::conn, ConnectionManager::connect(), ConnectionManager::disconnect(), alignCSCRings::e, ConnectionManager::getStatement(), o2o::query, AlCaHLTBitMon_QueryRunRegistry::string, and toolbox::toString().
int HcalO2OManager::getListOfPoolIovs | ( | std::vector< uint32_t > & | out, |
std::string | tagname, | ||
std::string | connect, | ||
std::string | auth_path | ||
) |
Definition at line 89 of file HcalO2OManager.cc.
References cond::IOVProxy::begin(), cond::DbScopedTransaction::commit(), cond::DbConnection::configuration(), cond::DbConnection::configure(), results_mgr::conn, counter, gather_cfg::cout, cond::DbConnection::createSession(), cond::IOVProxy::end(), cppFunctionSkipper::exception, cond::MetaData::getToken(), cond::MetaData::hasTag(), o2o::iov, cond::DbSession::open(), python.CommonUtils::session, cond::DbConnectionConfiguration::setAuthenticationPath(), cond::DbScopedTransaction::start(), AlCaHLTBitMon_QueryRunRegistry::string, and cms::Exception::what().
std::vector< std::string > HcalO2OManager::getListOfPoolTags | ( | std::string | connect, |
std::string | auth_path | ||
) |
Definition at line 57 of file HcalO2OManager.cc.
References lumiTag::alltags, cond::DbScopedTransaction::commit(), cond::DbConnection::configuration(), cond::DbConnection::configure(), results_mgr::conn, gather_cfg::cout, cond::DbConnection::createSession(), cppFunctionSkipper::exception, cond::MetaData::listAllTags(), cond::DbSession::open(), python.CommonUtils::session, cond::DbConnectionConfiguration::setAuthenticationPath(), cond::DbScopedTransaction::start(), and cms::Exception::what().
int HcalO2OManager::getListOfUpdateIovs | ( | std::vector< uint32_t > & | _iovs, |
std::string | _tag, | ||
std::string | pool_connect_string, | ||
std::string | pool_auth_path | ||
) |
Definition at line 364 of file HcalO2OManager.cc.
References gather_cfg::cout, and o2o::iov.