Namespaces | |
GLOBAL_TAG | |
GLOBAL_TAG_MAP | |
IOV | |
PAYLOAD | |
RUN_INFO | |
TAG | |
TAG_LOG | |
Enumerations | |
enum | DbAuthenticationSystem { UndefinedAuthentication =0, CondDbKey, CoralXMLFile } |
Functions | |
std::string | convertoToOracleConnection (const std::string &input) |
bool | copyIov (Session &session, const std::string &sourceTag, const std::string &destTag, cond::Time_t souceSince, cond::Time_t destSince, const std::string &description) |
unsigned int | countslash (const std::string &input) |
template<typename T > | |
void | f_add_attribute (coral::AttributeList &data, const std::string &attributeName, const T ¶m, bool init=true) |
template<> | |
void | f_add_attribute (coral::AttributeList &data, const std::string &attributeName, const cond::Binary ¶m, bool init) |
template<> | |
void | f_add_attribute (coral::AttributeList &data, const std::string &attributeName, const boost::posix_time::ptime ¶m, bool init) |
template<> | |
void | f_add_attribute (coral::AttributeList &data, const std::string &attributeName, const cond::TimeType ¶m, bool init) |
template<> | |
void | f_add_attribute (coral::AttributeList &data, const std::string &attributeName, const cond::SynchronizationType ¶m, bool init) |
template<typename Column , typename P > | |
void | f_add_column_data (coral::AttributeList &data, const P ¶m, bool init=true) |
template<typename T > | |
void | f_add_column_description (coral::TableDescription &table, const std::string &columnName, size_t size=0, bool notNull=true) |
template<typename C1 , typename C2 > | |
void | f_add_condition (std::string &whereClause, const std::string condition="=") |
template<typename Column , typename P > | |
void | f_add_condition_data (coral::AttributeList &data, std::string &whereClause, const P &value, const std::string condition="=") |
std::pair< std::string, std::shared_ptr< void > > | fetch (const cond::Hash &payloadId, Session &session) |
std::pair< std::string, std::shared_ptr< void > > | fetchIfExists (const cond::Hash &payloadId, Session &session, bool &exists) |
std::pair< std::string, std::shared_ptr< void > > | fetchOne (const std::string &payloadTypeName, const cond::Binary &data, const cond::Binary &streamerInfo, std::shared_ptr< void > payloadPtr) |
std::string | fullyQualifiedTag (const std::string &tag, const std::string &connectionString) |
std::pair< std::string, std::string > | getConnectionParams (const std::string &connectionString, const std::string &transactionId, const std::string &signature) |
std::string | getConnectionProtocol (const std::string &connectionString) |
cond::Hash | import (Session &source, const cond::Hash &sourcePayloadId, const std::string &inputTypeName, const void *inputPtr, Session &destination) |
size_t | importIovs (const std::string &sourceTag, Session &sourceSession, const std::string &destTag, Session &destSession, cond::Time_t begin, cond::Time_t end, const std::string &description, const std::string &editingNote, bool override, bool serialize, bool forceInsert) |
cond::Hash | importPayload (Session &sourceSession, const cond::Hash &sourcePayloadId, Session &destSession, bool reserialize) |
bool | iovSorter (const std::tuple< cond::Time_t, cond::Hash, boost::posix_time::ptime > &f, const std::tuple< cond::Time_t, cond::Hash, boost::posix_time::ptime > &s) |
template<typename T , typename Arg1 > | |
bool | is_same_any () |
template<typename T , typename Arg1 , typename Arg2 , typename... Args> | |
bool | is_same_any () |
cond::Hash | makeHash (const std::string &objectType, const cond::Binary &data) |
std::tuple< std::string, std::string, std::string > | parseConnectionString (const std::string &connectionString) |
std::string | parseFipConnectionString (const std::string &fipConnect) |
std::pair< std::string, std::string > | parseTag (const std::string &tag) |
template<typename T > | |
std::vector< T >::const_iterator | search (const cond::Time_t &val, const std::vector< T > &container) |
template<> | |
cond::Hash | Session::storePayload< std::string > (const std::string &payload, const boost::posix_time::ptime &creationTime) |
template<typename T , typename P > | |
void | static_assert_is_same_decayed () |
void | throwException (const std::string &message, const std::string &methodName) |
Enumerator | |
---|---|
UndefinedAuthentication | |
CondDbKey | |
CoralXMLFile |
Definition at line 28 of file ConnectionPool.h.
|
inline |
Definition at line 116 of file Utils.h.
References match(), patRefSel_triggerMatching_cfi::matches, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
Referenced by CondDBESSource::CondDBESSource().
bool cond::persistency::copyIov | ( | Session & | session, |
const std::string & | sourceTag, | ||
const std::string & | destTag, | ||
cond::Time_t | souceSince, | ||
cond::Time_t | destSince, | ||
const std::string & | description | ||
) |
Definition at line 150 of file CondDBTools.cc.
References gather_cfg::cout, cond::persistency::Session::createIov(), cond::persistency::Session::editIov(), idDealer::editor, cond::persistency::IOVProxy::end(), cond::persistency::Session::existsIov(), cond::persistency::IOVProxy::find(), cond::persistency::IOVEditor::flush(), cond::persistency::IOVEditor::insert(), cond::persistency::IOVProxy::loadedSize(), AlCaHLTBitMon_ParallelJobs::p, cond::persistency::IOVProxy::payloadObjectType(), cond::persistency::IOVEditor::payloadType(), cond::persistency::Session::readIov(), cond::persistency::IOVEditor::setDescription(), cond::persistency::TransactionScope::start(), cond::persistency::IOVProxy::synchronizationType(), throwException(), cond::persistency::IOVEditor::timeType(), cond::persistency::IOVProxy::timeType(), and cond::persistency::Session::transaction().
unsigned int cond::persistency::countslash | ( | const std::string & | input | ) |
Definition at line 13 of file DbConnectionString.cc.
References KineDebug3::count().
Referenced by getConnectionParams().
|
inline |
Definition at line 86 of file DbCore.h.
Referenced by f_add_column_data(), and f_add_condition_data().
|
inline |
|
inline |
|
inline |
Definition at line 101 of file DbCore.h.
References AlCaHLTBitMon_QueryRunRegistry::string, and cond::time::timeTypeName().
|
inline |
Definition at line 106 of file DbCore.h.
References AlCaHLTBitMon_QueryRunRegistry::string, and cond::synchronizationTypeNames().
|
inline |
Definition at line 112 of file DbCore.h.
References f_add_attribute(), and dataset::name.
void cond::persistency::f_add_column_description | ( | coral::TableDescription & | table, |
const std::string & | columnName, | ||
size_t | size = 0 , |
||
bool | notNull = true |
||
) |
|
inline |
|
inline |
Definition at line 118 of file DbCore.h.
References f_add_attribute(), triggerObjects_cff::id, dataset::name, and relativeConstraints::value.
std::pair< std::string, std::shared_ptr< void > > cond::persistency::fetch | ( | const cond::Hash & | payloadId, |
Session & | session | ||
) |
Definition at line 330 of file CondDBFetch.cc.
References data, fetchOne(), cond::persistency::Session::fetchPayloadData(), runEdmFileComparison::found, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
Referenced by tensorflow::NTSession::CheckFetch(), and importPayload().
std::pair<std::string,std::shared_ptr<void> > cond::persistency::fetchIfExists | ( | const cond::Hash & | payloadId, |
Session & | session, | ||
bool & | exists | ||
) |
Definition at line 25 of file CondDBImport.cc.
References data, fetchOne(), cond::persistency::Session::fetchPayloadData(), and AlCaHLTBitMon_QueryRunRegistry::string.
std::pair< std::string, std::shared_ptr< void > > cond::persistency::fetchOne | ( | const std::string & | payloadTypeName, |
const cond::Binary & | data, | ||
const cond::Binary & | streamerInfo, | ||
std::shared_ptr< void > | payloadPtr | ||
) |
Definition at line 23 of file CondDBFetch.cc.
References data, FETCH_PAYLOAD_CASE, match(), AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
Referenced by fetch(), and fetchIfExists().
std::string cond::persistency::fullyQualifiedTag | ( | const std::string & | tag, |
const std::string & | connectionString | ||
) |
std::pair< std::string, std::string > cond::persistency::getConnectionParams | ( | const std::string & | connectionString, |
const std::string & | transactionId, | ||
const std::string & | signature | ||
) |
Definition at line 39 of file DbConnectionString.cc.
References countslash(), getConnectionProtocol(), edm::Service< T >::isAvailable(), checklumidiff::l, edm::SiteLocalConfig::lookupCalibConnect(), parseFipConnectionString(), alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().
Referenced by cond::persistency::ConnectionPool::createCoralSession().
|
inline |
Definition at line 85 of file Utils.h.
References AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
Referenced by getConnectionParams(), and parseConnectionString().
cond::Hash cond::persistency::import | ( | Session & | source, |
const cond::Hash & | sourcePayloadId, | ||
const std::string & | inputTypeName, | ||
const void * | inputPtr, | ||
Session & | destination | ||
) |
Definition at line 36 of file CondDBImport.cc.
References cmsStageWithFailover::destination, IMPORT_PAYLOAD_CASE, match(), haddnano::obj, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
Referenced by edm::python3::initializePyBind11Module(), edm::python::initializePyBind11Module(), PyBind11ProcessDesc::prepareToRead(), cmspython3::PyBind11ProcessDesc::prepareToRead(), edm::cmspybind11_p3::readPSetsFrom(), and edm::cmspybind11::readPSetsFrom().
size_t cond::persistency::importIovs | ( | const std::string & | sourceTag, |
Session & | sourceSession, | ||
const std::string & | destTag, | ||
Session & | destSession, | ||
cond::Time_t | begin, | ||
cond::Time_t | end, | ||
const std::string & | description, | ||
const std::string & | editingNote, | ||
bool | override, | ||
bool | serialize, | ||
bool | forceInsert | ||
) |
Definition at line 37 of file CondDBTools.cc.
References begin, cond::persistency::IOVProxy::begin(), cond::persistency::Session::connectionString(), gather_cfg::cout, cond::persistency::Session::createDatabase(), cond::persistency::Session::createIov(), cond::persistency::Session::editIov(), idDealer::editor, end, cond::persistency::IOVProxy::end(), cond::persistency::Session::existsDatabase(), cond::persistency::Session::existsIov(), cond::persistency::IOVProxy::find(), cond::persistency::IOVEditor::flush(), cond::persistency::IOVProxy::getInterval(), importPayload(), cond::persistency::IOVEditor::insert(), cond::persistency::Session::iovProxy(), cond::persistency::IOVProxy::loadedSize(), cond::persistency::IOVProxy::loadRange(), AlCaHLTBitMon_ParallelJobs::p, cond::persistency::IOVProxy::payloadObjectType(), cond::persistency::IOVEditor::payloadType(), cond::persistency::Session::readIov(), cond::persistency::IOVEditor::setDescription(), ntuplemaker::since, createPayload::skip, cond::persistency::TransactionScope::start(), cond::persistency::IOVProxy::synchronizationType(), throwException(), cond::persistency::IOVEditor::timeType(), cond::persistency::IOVProxy::timeType(), and cond::persistency::Session::transaction().
cond::Hash cond::persistency::importPayload | ( | Session & | sourceSession, |
const cond::Hash & | sourcePayloadId, | ||
Session & | destSession, | ||
bool | reserialize | ||
) |
Definition at line 16 of file CondDBTools.cc.
References fetch(), cond::persistency::Session::fetchPayloadData(), cmsPerfSuiteHarvest::now, cond::persistency::Session::storePayloadData(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().
Referenced by importIovs().
bool cond::persistency::iovSorter | ( | const std::tuple< cond::Time_t, cond::Hash, boost::posix_time::ptime > & | f, |
const std::tuple< cond::Time_t, cond::Hash, boost::posix_time::ptime > & | s | ||
) |
Definition at line 164 of file IOVEditor.cc.
References f.
Referenced by cond::persistency::IOVEditor::flush().
bool cond::persistency::is_same_any | ( | ) |
bool cond::persistency::is_same_any | ( | ) |
cond::Hash cond::persistency::makeHash | ( | const std::string & | objectType, |
const cond::Binary & | data | ||
) |
Definition at line 10 of file IOVSchema.cc.
References cond::Binary::data(), cond::hash, mps_fire::i, cond::Binary::size(), throwException(), and tmp.
Referenced by cond::persistency::PAYLOAD::Table::insertIfNew().
|
inline |
Definition at line 93 of file Utils.h.
References getConnectionProtocol(), serviceName, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
Referenced by CondDBESSource::CondDBESSource(), and CondDBESSource::fillTagCollectionFromGT().
std::string cond::persistency::parseFipConnectionString | ( | const std::string & | fipConnect | ) |
Definition at line 27 of file DbConnectionString.cc.
References DBConfiguration_cff::connect, edm::FileInPath::fullPath(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getConnectionParams().
std::pair< std::string, std::string > cond::persistency::parseTag | ( | const std::string & | tag | ) |
Definition at line 13 of file GTProxy.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and protons_cff::t.
Referenced by CondDBESSource::CondDBESSource(), and CondDBESSource::setIntervalFor().
std::vector<T>::const_iterator cond::persistency::search | ( | const cond::Time_t & | val, |
const std::vector< T > & | container | ||
) |
Definition at line 314 of file IOVProxy.cc.
References AlCaHLTBitMon_ParallelJobs::p, pfDeepBoostedJetPreprocessParams_cfi::upper_bound, and heppy_batch::val.
Referenced by dqm_interfaces.DirID::__eq__(), ValidationMatrix::add_to_blacklist(), L1TMuonBarrelKalmanAlgo::clean(), cms::dd::contains(), ValidationMatrix::do_comparisons_threaded(), DQMPFCandidateAnalyzer::dqmBeginRun(), METAnalyzer::dqmBeginRun(), AlignmentMonitorTemplate::event(), HcalIndexLookup::find(), cond::persistency::IOVProxy::find(), FileNamesHelper::getJobID_fromFileName(), ValidationMatrix::guess_blacklists(), ValidationMatrix::guess_params(), edm::service::isProcessWideService(), parse_int(), and duplicateReflexLibrarySearch::searchClassDefXml().
|
inline |
Definition at line 205 of file Session.h.
References MillePedeFileConverter_cfg::e, cond::serialize(), AlCaHLTBitMon_QueryRunRegistry::string, throwException(), and cms::Exception::what().
|
inline |
Definition at line 81 of file DbCore.h.
void cond::persistency::throwException | ( | const std::string & | message, |
const std::string & | methodName | ||
) |
Definition at line 14 of file Exception.cc.
References cond::persistency::Exception::Exception().
Referenced by L1CondDBPayloadWriterExt::analyze(), L1CondDBIOVWriterExt::analyze(), L1CondDBIOVWriter::analyze(), L1CondDBPayloadWriter::analyze(), cond::service::PoolDBOutputService::appendSinceTime(), MillePedeAlignmentAlgorithm::beginRun(), cond::persistency::RunInfoEditor::checkTransaction(), cond::persistency::GTEditor::checkTransaction(), cond::persistency::IOVEditor::checkTransaction(), cond::persistency::RunInfoProxy::checkTransaction(), cond::persistency::GTProxy::checkTransaction(), cond::persistency::IOVProxy::checkTransaction(), convertoToOracleConnection(), copyIov(), cond::persistency::Session::coralSession(), cond::persistency::GLOBAL_TAG::Table::create(), cond::persistency::TAG::Table::create(), cond::persistency::RUN_INFO::Table::create(), cond::persistency::GLOBAL_TAG_MAP::Table::create(), cond::persistency::PAYLOAD::Table::create(), cond::persistency::IOV::Table::create(), cond::persistency::TAG_LOG::Table::create(), cond::persistency::Session::createGlobalTag(), cond::persistency::Session::createIov(), cond::persistency::Session::createIovForPayload(), cond::service::PoolDBOutputService::createNewIOV(), cond::persistency::Query< Types... >::currentRow(), fetch(), fetchOne(), cond::persistency::Session::fetchPayload(), cond::persistency::RunInfoEditor::flush(), cond::persistency::GTEditor::flush(), cond::persistency::IOVEditor::flush(), cond::persistency::KeyList::get(), cond::persistency::RunInfoProxy::get(), getConnectionProtocol(), cond::persistency::IOVProxy::getInterval(), cond::persistency::IOVProxy::getMetadata(), cond::persistency::Session::getRunInfo(), import(), importIovs(), MillePedeAlignmentAlgorithm::initialize(), cond::persistency::GTEditor::load(), cond::persistency::GTProxy::load(), cond::persistency::IOVProxy::load(), cond::persistency::PayloadProxy< std::vector< cond::Time_t > >::loadPayload(), cond::persistency::IOVProxy::loadRange(), makeHash(), cond::persistency::Query< Types... >::next(), cond::persistency::SessionImpl::openDb(), cond::persistency::SessionImpl::openGTDb(), cond::persistency::SessionImpl::openIovDb(), cond::persistency::SessionImpl::openRunInfoDb(), cond::persistency::PayloadProxy< std::vector< cond::Time_t > >::operator()(), cond::persistency::GetFromRow< std::array< char, n > >::operator()(), parseConnectionString(), Session::storePayload< std::string >(), cond::setPermissionData(), cond::CredentialStore::startSession(), cond::persistency::SessionImpl::startTransaction(), cond::persistency::Session::storePayload(), cond::updateConnectionData(), cond::updatePrincipalData(), cond::service::PoolDBOutputService::writeOne(), and cond::persistency::Exception::~Exception().