Namespaces | |
GLOBAL_TAG | |
GLOBAL_TAG_MAP | |
IOV | |
O2O_RUN | |
PAYLOAD | |
RUN_INFO | |
TAG | |
TAG_AUTHORIZATION | |
TAG_LOG | |
Typedefs | |
typedef std::vector< std::tuple< cond::Time_t, cond::Hash > > | IOVContainer |
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::string | get_timestamp () |
std::string | get_timestamp_for_filename () |
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 > | |
constexpr bool | is_same_any () |
template<typename T , typename Arg1 , typename Arg2 , typename... Args> | |
constexpr 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) |
std::string | print_timestamp (const boost::posix_time::ptime &t, const char *format_s="%Y-%m-%d %H:%M:%S.%f") |
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) |
void | setTillToLastIov (cond::Iov_t &target, cond::Time_t endOfValidity) |
template<typename T , typename P > | |
void | static_assert_is_same_decayed () |
void | throwException (const std::string &message, const std::string &methodName) |
typedef std::vector<std::tuple<cond::Time_t, cond::Hash> > cond::persistency::IOVContainer |
Definition at line 25 of file IOVProxy.h.
Enumerator | |
---|---|
UndefinedAuthentication | |
CondDbKey | |
CoralXMLFile |
Definition at line 32 of file ConnectionPool.h.
|
inline |
Definition at line 120 of file Utils.h.
References input, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, oniaPATMuonsWithTrigger_cff::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 163 of file CondDBTools.cc.
References gather_cfg::cout, cond::persistency::Session::createIov(), makeListRunsInFiles::description, cond::persistency::Session::editIov(), cond::persistency::Session::existsIov(), cond::persistency::IOVEditor::flush(), cond::persistency::IOVEditor::insert(), AlCaHLTBitMon_ParallelJobs::p, cond::persistency::IOVEditor::payloadType(), cond::persistency::Session::readIov(), cond::persistency::IOVEditor::setDescription(), RawToDigi_cff::sourceTag, cond::persistency::TransactionScope::start(), throwException(), cond::persistency::IOVEditor::timeType(), and cond::persistency::Session::transaction().
unsigned int cond::persistency::countslash | ( | const std::string & | input | ) |
Definition at line 13 of file DbConnectionString.cc.
References submitPVResolutionJobs::count, and input.
Referenced by getConnectionParams().
|
inline |
Definition at line 91 of file DbCore.h.
References data.
Referenced by f_add_column_data(), and f_add_condition_data().
|
inline |
|
inline |
|
inline |
Definition at line 121 of file DbCore.h.
References data, AlCaHLTBitMon_QueryRunRegistry::string, and cond::time::timeTypeName().
|
inline |
Definition at line 131 of file DbCore.h.
References data, AlCaHLTBitMon_QueryRunRegistry::string, and cond::synchronizationTypeNames().
|
inline |
Definition at line 142 of file DbCore.h.
References data, f_add_attribute(), and Skims_PA_cff::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 149 of file DbCore.h.
References data, f_add_attribute(), l1ctLayer2EG_cff::id, Skims_PA_cff::name, and relativeConstraints::value.
std::pair< std::string, std::shared_ptr< void > > cond::persistency::fetch | ( | const cond::Hash & | payloadId, |
Session & | session | ||
) |
Definition at line 352 of file CondDBFetch.cc.
References data, fetchOne(), cond::persistency::Session::fetchPayloadData(), newFWLiteAna::found, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
Referenced by LMFDat::fetch(), l1tpf_calo::SimpleCaloLinkerBase::fetch(), 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, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
Referenced by fetch(), and fetchIfExists().
std::string cond::persistency::fullyQualifiedTag | ( | const std::string & | tag, |
const std::string & | connectionString | ||
) |
Definition at line 8 of file GTProxy.cc.
References l1RCTOmdsFedVectorProducer_cfi::connectionString, and makeGlobalPositionRcd_cfg::tag.
Referenced by CondDBESSource::CondDBESSource().
std::string cond::persistency::get_timestamp | ( | ) |
Definition at line 100 of file Logger.cc.
References submitPVValidationJobs::now, and print_timestamp().
Referenced by cond::persistency::Logger::log().
std::string cond::persistency::get_timestamp_for_filename | ( | ) |
Definition at line 104 of file Logger.cc.
References submitPVValidationJobs::now, and print_timestamp().
Referenced by cond::persistency::Logger::saveOnFile().
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 l1RCTOmdsFedVectorProducer_cfi::connectionString, countslash(), getConnectionProtocol(), edm::Service< T >::isAvailable(), MainPageGenerator::l, edm::SiteLocalConfig::lookupCalibConnect(), parseFipConnectionString(), findAndChange::protocol, alignCSCRings::s, signature, AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().
Referenced by cond::persistency::ConnectionPool::createCoralSession().
|
inline |
Definition at line 86 of file Utils.h.
References l1RCTOmdsFedVectorProducer_cfi::connectionString, 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 39 of file CondDBImport.cc.
References HLTMuonOfflineAnalyzer_cff::destination, IMPORT_PAYLOAD_CASE, getGTfromDQMFile::obj, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
Referenced by edm::python::initializePyBind11Module(), PyBind11ProcessDesc::prepareToRead(), 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 39 of file CondDBTools.cc.
References cond::persistency::Session::connectionString(), gather_cfg::cout, cond::persistency::Session::createDatabase(), cond::persistency::Session::createIov(), makeListRunsInFiles::description, Calorimetry_cff::dp, cond::persistency::Session::editIov(), cond::persistency::Session::existsDatabase(), cond::persistency::Session::existsIov(), cond::persistency::IOVEditor::flush(), importPayload(), cond::persistency::IOVEditor::insert(), AlCaHLTBitMon_ParallelJobs::p, cond::persistency::IOVEditor::payloadType(), cond::persistency::Session::readIov(), cond::persistency::IOVEditor::setDescription(), SiStripBadComponentsDQMServiceTemplate_cfg::since, optionsL1T::skip, RawToDigi_cff::sourceTag, cond::persistency::TransactionScope::start(), throwException(), cond::persistency::IOVEditor::timeType(), and cond::persistency::Session::transaction().
cond::Hash cond::persistency::importPayload | ( | Session & | sourceSession, |
const cond::Hash & | sourcePayloadId, | ||
Session & | destSession, | ||
bool | reserialize | ||
) |
Definition at line 12 of file CondDBTools.cc.
References fetch(), cond::persistency::Session::fetchPayloadData(), submitPVValidationJobs::now, HLT_2023v12_cff::payloadType, 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 180 of file IOVEditor.cc.
References f, and alignCSCRings::s.
Referenced by cond::persistency::IOVEditor::flush().
constexpr bool cond::persistency::is_same_any | ( | ) |
constexpr 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 data, EVP_MD_CTX_free, EVP_MD_CTX_new, cond::hash, mps_fire::i, cms::openssl_init(), throwException(), and createJobs::tmp.
Referenced by cond::persistency::PAYLOAD::Table::insertIfNew().
|
inline |
Definition at line 95 of file Utils.h.
References l1RCTOmdsFedVectorProducer_cfi::connectionString, getConnectionProtocol(), findAndChange::protocol, 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 GlobalPosition_Frontier_DevDB_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 14 of file GTProxy.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, submitPVValidationJobs::t, and makeGlobalPositionRcd_cfg::tag.
Referenced by CondDBESSource::CondDBESSource(), and CondDBESSource::setIntervalFor().
std::string cond::persistency::print_timestamp | ( | const boost::posix_time::ptime & | t, |
const char * | format_s = "%Y-%m-%d %H:%M:%S.%f" |
||
) |
Definition at line 91 of file Logger.cc.
References submitPVValidationJobs::t, and cond::timestamp.
Referenced by get_timestamp(), and get_timestamp_for_filename().
std::vector<T>::const_iterator cond::persistency::search | ( | const cond::Time_t & | val, |
const std::vector< T > & | container | ||
) |
Definition at line 21 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(), ValidationMatrix::do_comparisons_threaded(), DQMPFCandidateAnalyzer::dqmBeginRun(), METAnalyzer::dqmBeginRun(), AlignmentMonitorTemplate::event(), HcalIndexLookup::find(), cond::persistency::IOVArray::find(), cond::persistency::IOVProxy::getInterval(), ValidationMatrix::guess_blacklists(), ValidationMatrix::guess_params(), LumiSectionFilter< T >::process(), TauGenJetProducer::produce(), GEMDigiToRawModule::produce(), and duplicateReflexLibrarySearch::searchClassDefXml().
|
inline |
Definition at line 199 of file Session.h.
References beamSpotPI::creationTime, MillePedeFileConverter_cfg::e, jetsAK4_Puppi_cff::payload, runTheMatrix::ret, cond::serialize(), AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
void cond::persistency::setTillToLastIov | ( | cond::Iov_t & | target, |
cond::Time_t | endOfValidity | ||
) |
Definition at line 248 of file IOVProxy.cc.
References cond::time::MAX_VAL(), and filterCSVwithJSON::target.
Referenced by cond::persistency::IOVProxy::getLast(), and cond::persistency::IOVProxy::iovSequenceInfo().
|
inline |
Definition at line 84 of file DbCore.h.
void cond::persistency::throwException | ( | const std::string & | message, |
const std::string & | methodName | ||
) |
Definition at line 12 of file Exception.cc.
Referenced by L1CondDBIOVWriterExt::analyze(), L1CondDBPayloadWriterExt::analyze(), L1CondDBIOVWriter::analyze(), L1CondDBPayloadWriter::analyze(), 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_AUTHORIZATION::Table::create(), cond::persistency::TAG_LOG::Table::create(), cond::persistency::Session::createGlobalTag(), cond::persistency::Session::createIov(), cond::persistency::Session::createIovForPayload(), 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::RunInfoProxy::get(), getConnectionProtocol(), cond::persistency::IOVProxy::getInterval(), cond::persistency::Session::getLastRun(), cond::persistency::IOVProxy::getMetadata(), cond::persistency::Session::getRunInfo(), cond::persistency::KeyList::getUsingIndex(), import(), importIovs(), MillePedeAlignmentAlgorithm::initialize(), cond::persistency::IOVProxy::iovSequenceInfo(), cond::persistency::GTEditor::load(), cond::persistency::RunInfoProxy::load(), cond::persistency::GTProxy::load(), cond::persistency::IOVProxy::load(), cond::persistency::KeyList::loadFromDB(), cond::persistency::PayloadProxy< std::vector< cond::Time_t > >::loadPayload(), 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(), cond::persistency::Logger::saveOnDb(), cond::persistency::IOVProxy::selectAll(), cond::persistency::IOVProxy::selectRange(), Session::storePayload< std::string >(), cond::setPermissionData(), cond::persistency::TAG::Table::setProtectionCode(), cond::CredentialStore::startSession(), cond::persistency::SessionImpl::startTransaction(), cond::persistency::Session::storePayload(), cond::persistency::IOVSchema::tagAccessPermissionTable(), cond::persistency::TAG::Table::unsetProtectionCode(), cond::updateConnectionData(), and cond::updatePrincipalData().