Enumerations | |
enum | DbAuthenticationSystem { UndefinedAuthentication =0, CondDbKey, CoralXMLFile } |
Functions | |
unsigned int | countslash (const std::string &input) |
template<typename T > | |
void | f_add_column_description (coral::TableDescription &table, const std::string &columnName, size_t size=0, bool notNull=true) |
std::pair< std::string, boost::shared_ptr< void > > | fetch (const cond::Hash &payloadId, Session &session) |
std::pair< std::string, std::string > | getRealConnectionString (const std::string &initialConnection) |
std::pair< std::string, std::string > | getRealConnectionString (const std::string &initialConnection, const std::string &transId) |
cond::Hash | import (const std::string &inputTypeName, const void *inputPtr, Session &destination) |
template<typename T , typename Arg1 > | |
constexpr bool | is_same_any () |
template<typename T , typename Arg1 , typename Arg2 , typename... Args> | |
constexpr bool | is_same_any () |
std::pair< std::string, std::string > | makeFrontierConnectionString (const std::string &initialConnection, const std::string &transactionId) |
cond::Hash | makeHash (const std::string &objectType, const cond::Binary &data) |
template<typename T > | |
std::vector< T >::const_iterator | search (const cond::Time_t &val, const std::vector< T > &container) |
template<typename T , typename P > | |
void | static_assert_is_same_decayed () |
table (GLOBAL_TAG) | |
table (TAG) | |
table (GLOBAL_TAG_MAP) | |
table (PAYLOAD) | |
table (IOV) | |
table (TAG_MIGRATION) | |
void | throwException (const std::string &message, const std::string &methodName) |
Enumerator | |
---|---|
UndefinedAuthentication | |
CondDbKey | |
CoralXMLFile |
Definition at line 27 of file ConnectionPool.h.
unsigned int cond::persistency::countslash | ( | const std::string & | input | ) |
Definition at line 13 of file DbConnectionString.cc.
References prof2calltree::count.
Referenced by makeFrontierConnectionString().
void cond::persistency::f_add_column_description | ( | coral::TableDescription & | table, |
const std::string & | columnName, | ||
size_t | size = 0 , |
||
bool | notNull = true |
||
) |
std::pair< std::string, boost::shared_ptr< void > > cond::persistency::fetch | ( | const cond::Hash & | payloadId, |
Session & | session | ||
) |
Definition at line 298 of file CondDBImport.cc.
References data, FETCH_PAYLOAD_CASE, cond::persistency::Session::fetchPayloadData(), newFWLiteAna::found, match(), AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
Referenced by LMFDat::fetch().
std::pair< std::string, std::string > cond::persistency::getRealConnectionString | ( | const std::string & | initialConnection | ) |
Definition at line 64 of file DbConnectionString.cc.
Referenced by cond::persistency::ConnectionPool::createSession().
std::pair< std::string, std::string > cond::persistency::getRealConnectionString | ( | const std::string & | initialConnection, |
const std::string & | transId | ||
) |
Definition at line 68 of file DbConnectionString.cc.
References makeFrontierConnectionString().
cond::Hash cond::persistency::import | ( | const std::string & | inputTypeName, |
const void * | inputPtr, | ||
Session & | destination | ||
) |
if( inputTypeName == "PhysicsTools::Calibration::MVAComputerContainer" ){ \ std::cout <<"@@@@@ MVAComputer!"<<std::endl;\ match = true;\ const PhysicsTools::Calibration::MVAComputerContainer& obj = static_cast<const PhysicsTools::Calibration::MVAComputerContainer>( inputPtr ); \ PhysicsTools::Calibration::MVAComputerContainer tmp; \ for( auto entry : obj.entries ) { \ std::cout <<"#Adding new entry label="<<entry.first<<std::endl; \ PhysicsTools::Calibration::MVAComputer& c = tmp.add( entry.first ); \ c.inputSet = entry.second.inputSet; \ c.output = entry.second.output; \ auto ps = entry.second.getProcessors(); \ for( size_t i=0;i<ps.size();i++ ){ \ std::cout <<"PRocess type="<<demangledName( typeid(*ps[i] ) )<<std::endl; \ c.addProcessor( ps[i] ); \ } \ } \ std::pair<std::string,bool> st = destination.storePayload( tmp, boost::posix_time::microsec_clock::universal_time() ); \ payloadId = st.first; \ newInsert = st.second; \ }
if( inputTypeName == "PhysicsTools::Calibration::MVAComputerContainer" ){ \ std::cout <<"@@@@@ MVAComputer!"<<std::endl;\ match = true;\ const PhysicsTools::Calibration::MVAComputerContainer& obj = static_cast<const PhysicsTools::Calibration::MVAComputerContainer>( inputPtr ); \ PhysicsTools::Calibration::MVAComputerContainer tmp; \ for( auto entry : obj.entries ) { \ std::cout <<"#Adding new entry label="<<entry.first<<std::endl; \ PhysicsTools::Calibration::MVAComputer& c = tmp.add( entry.first ); \ c.inputSet = entry.second.inputSet; \ c.output = entry.second.output; \ auto ps = entry.second.getProcessors(); \ for( size_t i=0;i<ps.size();i++ ){ \ std::cout <<"PRocess type="<<demangledName( typeid(*ps[i] ) )<<std::endl; \ c.addProcessor( ps[i] ); \ } \ } \ std::pair<std::string,bool> st = destination.storePayload( tmp, boost::posix_time::microsec_clock::universal_time() ); \ payloadId = st.first; \ newInsert = st.second; \ }
Definition at line 37 of file CondDBImport.cc.
References IMPORT_PAYLOAD_CASE, match(), getGTfromDQMFile::obj, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
constexpr bool cond::persistency::is_same_any | ( | ) |
constexpr bool cond::persistency::is_same_any | ( | ) |
std::pair<std::string,std::string> cond::persistency::makeFrontierConnectionString | ( | const std::string & | initialConnection, |
const std::string & | transactionId | ||
) |
Definition at line 27 of file DbConnectionString.cc.
References countslash(), edm::Service< T >::isAvailable(), ConfigFiles::l, edm::SiteLocalConfig::lookupCalibConnect(), AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
Referenced by getRealConnectionString().
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, i, cond::Binary::size(), throwException(), and tmp.
std::vector<T>::const_iterator cond::persistency::search | ( | const cond::Time_t & | val, |
const std::vector< T > & | container | ||
) |
Definition at line 224 of file IOVProxy.cc.
References AlCaHLTBitMon_ParallelJobs::p.
Referenced by dqm_interfaces.DirID::__eq__(), ValidationMatrix::add_to_blacklist(), ValidationMatrix::do_comparisons_threaded(), AlignmentMonitorTemplate::event(), cond::persistency::IOVProxy::find(), FileNamesHelper::getJobID_fromFileName(), ValidationMatrix::guess_blacklists(), ValidationMatrix::guess_params(), and duplicateReflexLibrarySearch::searchClassDefXml().
void cond::persistency::static_assert_is_same_decayed | ( | ) |
Definition at line 82 of file DbCore.h.
References relativeConstraints::value.
cond::persistency::table | ( | GLOBAL_TAG | ) |
Definition at line 13 of file GTSchema.h.
References column, idDealer::description, edm::eventsetup::heterocontainer::insert(), mergeVDriftHistosByStation::name, fetchall_from_DQM_v2::release, run_regression::RELEASE, python.IdGenerator::schema, benchmark_cfg::select, AlCaHLTBitMon_QueryRunRegistry::string, and update.
cond::persistency::table | ( | TAG | ) |
Definition at line 13 of file IOVSchema.h.
References column, SurfaceDeformationFactory::create(), idDealer::description, edm::eventsetup::heterocontainer::insert(), mergeVDriftHistosByStation::name, python.IdGenerator::schema, benchmark_cfg::select, AlCaHLTBitMon_QueryRunRegistry::string, and update.
cond::persistency::table | ( | GLOBAL_TAG_MAP | ) |
Definition at line 40 of file GTSchema.h.
References column, constexpr, edm::eventsetup::heterocontainer::insert(), run_regression::LABEL, python.IdGenerator::schema, benchmark_cfg::select, AlCaHLTBitMon_QueryRunRegistry::string, and o2o::tags.
cond::persistency::table | ( | PAYLOAD | ) |
Definition at line 47 of file IOVSchema.h.
References column, constexpr, SurfaceDeformationFactory::create(), cscdqm::DATA, cond::time::HASH, edm::eventsetup::heterocontainer::insert(), python.IdGenerator::schema, benchmark_cfg::select, AlCaHLTBitMon_QueryRunRegistry::string, and VERSION.
cond::persistency::table | ( | IOV | ) |
Definition at line 77 of file IOVSchema.h.
References column, constexpr, SurfaceDeformationFactory::create(), cond::hash, python.IdGenerator::schema, cond::time::SINCE_GROUP_SIZE, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
cond::persistency::table | ( | TAG_MIGRATION | ) |
Definition at line 137 of file IOVSchema.h.
References column, SurfaceDeformationFactory::create(), edm::eventsetup::heterocontainer::insert(), python.IdGenerator::schema, benchmark_cfg::select, and AlCaHLTBitMon_QueryRunRegistry::string.
void cond::persistency::throwException | ( | const std::string & | message, |
const std::string & | methodName | ||
) |
Definition at line 11 of file Exception.cc.
References edm::hlt::Exception.
Referenced by L1CondDBIOVWriter::analyze(), L1CondDBPayloadWriter::analyze(), cond::persistency::GTEditor::checkTransaction(), cond::persistency::IOVEditor::checkTransaction(), cond::persistency::GTProxy::checkTransaction(), cond::persistency::IOVProxy::checkTransaction(), cond::persistency::Session::coralSession(), cond::persistency::Session::createGlobalTag(), cond::persistency::Session::createIov(), cond::persistency::Session::createIovForPayload(), cond::persistency::Query< Types...>::currentRow(), fetch(), cond::persistency::Session::fetchPayload(), cond::persistency::GTEditor::flush(), cond::persistency::IOVEditor::flush(), cond::persistency::KeyList::get(), cond::persistency::IOVProxy::getInterval(), import(), cond::persistency::OraIOVTable::insertMany(), cond::persistency::OraIOVTable::insertOne(), cond::persistency::SessionImpl::isOra(), cond::persistency::GTEditor::load(), cond::persistency::GTProxy::load(), cond::persistency::IOVProxy::load(), cond::persistency::PayloadProxy< std::vector< cond::Time_t > >::loadPayload(), makeFrontierConnectionString(), makeHash(), cond::persistency::Query< Types...>::next(), cond::persistency::SessionImpl::openGTDb(), cond::persistency::SessionImpl::openIovDb(), cond::persistency::PayloadProxy< std::vector< cond::Time_t > >::operator()(), cond::persistency::GetFromRow< std::array< char, n > >::operator()(), cond::persistency::OraTagTable::select(), cond::CredentialStore::startSession(), cond::persistency::SessionImpl::startTransaction(), cond::persistency::OraIOVSchema::tagMigrationTable(), cond::persistency::OraTagTable::update(), and cond::CredentialStore::updateConnection().