#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 26 of file HcalO2OManager.h.
HcalO2OManager::HcalO2OManager | ( | ) |
Definition at line 41 of file HcalO2OManager.cc.
References edmplugin::standard::config(), and edmplugin::PluginManager::configure().
|
virtual |
Definition at line 47 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 240 of file HcalO2OManager.cc.
References gather_cfg::cout, and query::result.
void HcalO2OManager::getListOfNewIovs_test | ( | void | ) |
Definition at line 203 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 160 of file HcalO2OManager.cc.
References dtNoiseDBValidation_cfg::cerr, results_mgr::conn, ConnectionManager::connect(), ConnectionManager::disconnect(), alignCSCRings::e, ConnectionManager::getStatement(), o2o::query, AlCaHLTBitMon_QueryRunRegistry::string, and toString().
std::vector< std::string > HcalO2OManager::getListOfOmdsTags | ( | ) |
Definition at line 131 of file HcalO2OManager.cc.
References lumiTag::alltags, dtNoiseDBValidation_cfg::cerr, results_mgr::conn, ConnectionManager::connect(), ConnectionManager::disconnect(), alignCSCRings::e, ConnectionManager::getStatement(), o2o::query, AlCaHLTBitMon_QueryRunRegistry::string, and toString().
int HcalO2OManager::getListOfPoolIovs | ( | std::vector< uint32_t > & | out, |
std::string | tagname, | ||
std::string | connect, | ||
std::string | auth_path | ||
) |
Definition at line 86 of file HcalO2OManager.cc.
References cond::IOVProxy::begin(), cond::DbScopedTransaction::commit(), cond::DbConnection::configuration(), cond::DbConnection::configure(), results_mgr::conn, 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 54 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 361 of file HcalO2OManager.cc.
References gather_cfg::cout, and o2o::iov.