#include <PoolDBOutputService.h>
Classes | |
struct | Record |
Public Member Functions | |
template<typename T > | |
void | appendSinceTime (T *payloadObj, cond::Time_t sinceTime, const std::string &recordName, bool withlogging=false) |
void | appendSinceTime (const std::string &payloadToken, cond::Time_t sinceTime, const std::string &recordName, bool withlogging=false) |
cond::Time_t | beginOfTime () const |
void | closeIOV (Time_t lastTill, const std::string &recordName, bool withlogging=false) |
template<typename T > | |
void | createNewIOV (T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false) |
void | createNewIOV (const std::string &firstPayloadToken, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false) |
cond::Time_t | currentTime () const |
cond::Time_t | endOfTime () const |
bool | isNewTagRequest (const std::string &recordName) |
PoolDBOutputService (const edm::ParameterSet &iConfig, edm::ActivityRegistry &iAR) | |
void | postEndJob () |
void | postModule (const edm::ModuleDescription &desc) |
void | preBeginLumi (const edm::LuminosityBlockID &, const edm::Timestamp &) |
void | preEventProcessing (const edm::EventID &evtID, const edm::Timestamp &iTime) |
void | preModule (const edm::ModuleDescription &desc) |
const cond::Logger & | queryLog () const |
cond::DbSession | session () const |
void | setLogHeaderForRecord (const std::string &recordName, const std::string &provenance, const std::string &usertext) |
std::string | tag (const std::string &recordName) |
void | tagInfo (const std::string &recordName, cond::TagInfo &result) |
template<typename T > | |
void | writeOne (T *payload, Time_t time, const std::string &recordName, bool withlogging=false) |
virtual | ~PoolDBOutputService () |
Private Member Functions | |
void | add (GetToken const &token, cond::Time_t time, const std::string &recordName, bool withlogging=false) |
unsigned int | appendIOV (cond::DbSession &, Record &record, const std::string &payloadToken, cond::Time_t sinceTime) |
void | connect () |
void | createNewIOV (GetToken const &token, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false) |
void | disconnect () |
void | fillRecord (edm::ParameterSet &pset) |
void | initDB (bool forReading=true) |
unsigned int | insertIOV (cond::DbSession &pooldb, Record &record, const std::string &payloadToken, cond::Time_t tillTime) |
Returns payload location index. More... | |
Record & | lookUpRecord (const std::string &recordName) |
cond::UserLogInfo & | lookUpUserLogInfo (const std::string &recordName) |
Private Attributes | |
std::map< std::string, Record > | m_callbacks |
bool | m_closeIOV |
std::string | m_connectionString |
cond::Time_t | m_currentTime |
bool | m_dbstarted |
bool | m_freeInsert |
std::string | m_logConnectionString |
std::auto_ptr< cond::Logger > | m_logdb |
std::map< std::string, cond::UserLogInfo > | m_logheaders |
std::vector< std::pair < std::string, std::string > > | m_newtags |
cond::DbSession | m_session |
cond::TimeType | m_timetype |
std::string | m_timetypestr |
Definition at line 89 of file PoolDBOutputService.h.
PoolDBOutputService::PoolDBOutputService | ( | const edm::ParameterSet & | iConfig, |
edm::ActivityRegistry & | iAR | ||
) |
Definition at line 44 of file PoolDBOutputService.cc.
References cond::Auth::COND_WRITER_ROLE, cond::DbConnection::configuration(), edm::ParameterSet::exists(), fillRecord(), cond::findSpecs(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_closeIOV, m_connectionString, m_freeInsert, m_logConnectionString, m_logdb, m_session, m_timetype, m_timetypestr, cond::DbSession::open(), postEndJob(), postModule(), preBeginLumi(), preEventProcessing(), preModule(), cond::DbConnectionConfiguration::setParameters(), convertXMLtoSQLite_cfg::toPut, cond::TimeTypeSpecs::type, edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostModule(), edm::ActivityRegistry::watchPreBeginLumi(), edm::ActivityRegistry::watchPreModule(), and edm::ActivityRegistry::watchPreProcessEvent().
|
virtual |
Definition at line 168 of file PoolDBOutputService.cc.
|
private |
Definition at line 243 of file PoolDBOutputService.cc.
References a, cppFunctionSkipper::exception, edm::hlt::Exception, and cond::rpcobgas::time.
Referenced by appendSinceTime().
|
private |
Definition at line 307 of file PoolDBOutputService.cc.
References cond::IOVEditor::append(), idDealer::editor, edm::hlt::Exception, cond::IOVEditor::freeInsert(), cond::service::PoolDBOutputService::Record::m_closeIOV, cond::service::PoolDBOutputService::Record::m_freeInsert, cond::service::PoolDBOutputService::Record::m_iovtoken, cond::service::PoolDBOutputService::Record::m_isNewTag, cond::service::PoolDBOutputService::Record::m_tag, cond::IOVEditor::stamp(), cond::IOVEditor::updateClosure(), and cond::userInfo().
|
inline |
Definition at line 156 of file PoolDBOutputService.h.
References add().
Referenced by SiStripBadChannelBuilder::algoAnalyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiPixelLorentzAngleDB::analyze(), SiStripApvGainBuilderFromTag::analyze(), EcalTestDevDB::analyze(), SiStripFEDErrorsDQM::analyze(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload_IOV::beginJob(), JetCorrectorDBWriter::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), SiStripFedCablingBuilder::beginRun(), EcalDQMStatusWriter::beginRun(), CocoaDBMgr::DumpCocoaResults(), BeamSpotWrite2DB::endJob(), CentralityTableProducer::endJob(), StoreEcalCondition::endJob(), SiStripFedCablingManipulator::endRun(), HLTPrescaleRecorder::endRun(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), AlCaRecoTriggerBitsRcdUpdate::writeBitsToDB(), SiPixelHistoricInfoEDAClient::writeDB(), and SiPixelHistoricInfoDQMClient::writeDB().
|
inline |
Definition at line 171 of file PoolDBOutputService.h.
References add().
cond::Time_t PoolDBOutputService::beginOfTime | ( | ) | const |
Definition at line 178 of file PoolDBOutputService.cc.
References cond::TimeTypeSpecs::beginValue, and cond::timeTypeSpecs.
Referenced by SiStripBadChannelBuilder::algoAnalyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SurveyInputTrackerFromDB::analyze(), TrackerSystematicMisalignments::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiPixelLorentzAngleDB::analyze(), SiStripApvGainBuilderFromTag::analyze(), EcalTestDevDB::analyze(), SiStripFEDErrorsDQM::analyze(), TrackerGeometryCompare::analyze(), XMLGeometryBuilder::beginJob(), GeometricDetLoader::beginJob(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), JetCorrectorDBWriter::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), WriteOneGeometryFromXML::beginRun(), RPCRecoIdealDBLoader::beginRun(), SiStripFedCablingBuilder::beginRun(), CSCRecoIdealDBLoader::beginRun(), DTRecoIdealDBLoader::beginRun(), PGeometricDetBuilder::beginRun(), PGeometricDetExtraBuilder::beginRun(), EcalDQMStatusWriter::beginRun(), EcalDBCopy::copyToDB(), ESDBCopy::copyToDB(), EcalTPGDBCopy::copyToDB(), CocoaDBMgr::DumpCocoaResults(), PhysicsTools::MVATrainerSave::endJob(), PhysicsTools::MVATrainerContainerSave::endJob(), BeamSpotWrite2DB::endJob(), CentralityTableProducer::endJob(), BeamProfile2DB::endJob(), StoreEcalCondition::endJob(), SiStripFedCablingManipulator::endRun(), DummyCondDBWriter< TObject, TObjectO, TRecord >::endRun(), HLTPrescaleRecorder::endRun(), LaserAlignment::endRun(), MisalignedMuonESProducer::saveToDB(), ConditionDBWriter< SiStripApvGain >::storeOnDb(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), SiPixelHistoricInfoEDAClient::writeDB(), SiPixelHistoricInfoDQMClient::writeDB(), and DTCalibDBUtils::writeToDB().
void PoolDBOutputService::closeIOV | ( | Time_t | lastTill, |
const std::string & | recordName, | ||
bool | withlogging = false |
||
) |
Definition at line 328 of file PoolDBOutputService.cc.
References idDealer::editor, edm::hlt::Exception, cond::service::PoolDBOutputService::Record::m_iovtoken, cond::service::PoolDBOutputService::Record::m_isNewTag, cond::service::PoolDBOutputService::Record::m_tag, record, cond::IOVEditor::stamp(), cond::IOVEditor::updateClosure(), and cond::userInfo().
Referenced by popcon::PopCon::finalize().
|
private |
Referenced by Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea::__init__(), Vispa.Views.PropertyView.BooleanProperty::__init__(), Vispa.Gui.FindDialog.FindDialog::_addScript(), Vispa.Gui.FindDialog.FindDialog::_addStringProperty(), Vispa.Main.Application.Application::_connectSignals(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::_createItem(), Vispa.Gui.BoxContentDialog.BoxContentDialog::addButton(), Vispa.Gui.ToolBoxContainer.ToolBoxContainer::addWidget(), Vispa.Views.PropertyView.PropertyView::append(), Vispa.Views.PropertyView.PropertyView::appendAddRow(), Vispa.Main.Application.Application::createAction(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createButton(), Vispa.Views.LineDecayView.LineDecayView::createLineDecayContainer(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createLineEdit(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createTextEdit(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filterDialog(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Gui.PortWidget.PortWidget::mouseMoveEvent(), Vispa.Views.PropertyView.BooleanProperty::setChecked(), Vispa.Main.SplitterTab.SplitterTab::setController(), Vispa.Plugins.Browser.BrowserTab.BrowserTab::setController(), Vispa.Views.PropertyView.BooleanProperty::setReadOnly(), Vispa.Views.PropertyView.DropDownProperty::setReadOnly(), Vispa.Views.PropertyView.TextEditWithButtonProperty::setReadOnly(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setTab(), Vispa.Views.PropertyView.IntegerProperty::setValue(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::updateViewMenu().
|
inline |
Definition at line 130 of file PoolDBOutputService.h.
Referenced by SiStripBadChannelBuilder::algoAnalyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiPixelLorentzAngleDB::analyze(), SiStripApvGainBuilderFromTag::analyze(), EcalTestDevDB::analyze(), SiStripFEDErrorsDQM::analyze(), XMLGeometryBuilder::beginJob(), GeometricDetLoader::beginJob(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), JetCorrectorDBWriter::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload_IOV::beginJob(), WriteOneGeometryFromXML::beginRun(), RPCRecoIdealDBLoader::beginRun(), SiStripFedCablingBuilder::beginRun(), CSCRecoIdealDBLoader::beginRun(), DTRecoIdealDBLoader::beginRun(), PGeometricDetBuilder::beginRun(), PGeometricDetExtraBuilder::beginRun(), EcalDQMStatusWriter::beginRun(), EcalDBCopy::copyToDB(), ESDBCopy::copyToDB(), EcalTPGDBCopy::copyToDB(), createNewIOV(), CocoaDBMgr::DumpCocoaResults(), PhysicsTools::MVATrainerSave::endJob(), PhysicsTools::MVATrainerContainerSave::endJob(), BeamSpotWrite2DB::endJob(), CentralityTableProducer::endJob(), BeamProfile2DB::endJob(), StoreEcalCondition::endJob(), SiStripFedCablingManipulator::endRun(), HLTPrescaleRecorder::endRun(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), AlCaRecoTriggerBitsRcdUpdate::writeBitsToDB(), SiPixelHistoricInfoEDAClient::writeDB(), and SiPixelHistoricInfoDQMClient::writeDB().
|
inline |
Definition at line 142 of file PoolDBOutputService.h.
References createNewIOV().
|
private |
Definition at line 188 of file PoolDBOutputService.cc.
References a, cond::MetaData::addMapping(), cond::IOVEditor::append(), cond::IOVEditor::create(), idDealer::editor, cppFunctionSkipper::exception, edm::hlt::Exception, cond::IOVEditor::setScope(), cond::IOVEditor::stamp(), cond::IOVSequence::Tag, cond::IOVEditor::token(), and cond::userInfo().
cond::Time_t PoolDBOutputService::currentTime | ( | ) | const |
Definition at line 183 of file PoolDBOutputService.cc.
Referenced by SiStripBadChannelBuilder::algoAnalyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiPixelLorentzAngleDB::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), SiStripFedCablingBuilder::beginRun(), CocoaDBMgr::DumpCocoaResults(), BeamSpotWrite2DB::endJob(), SurveyDBUploader::endJob(), CentralityTableProducer::endJob(), Mixing2DB::endJob(), SiStripFedCablingManipulator::endRun(), DummyCondDBWriter< TObject, TObjectO, TRecord >::endRun(), popcon::L1RPCHwConfigSourceHandler::getNewObjects(), popcon::RPCEMapSourceHandler::getNewObjects(), MisalignedTrackerESProducer::produce(), MuonAlignment::saveCSCSurveyToDB(), MuonAlignment::saveCSCtoDB(), MuonAlignment::saveDTSurveyToDB(), MuonAlignment::saveDTtoDB(), TrackerAlignment::saveToDB(), ConditionDBWriter< SiStripApvGain >::setTime(), CaloGeometryDBWriter::write(), WriteESAlignments::write(), BeamFitter::write2DB(), SiPixelHistoricInfoEDAClient::writeDB(), SiPixelHistoricInfoDQMClient::writeDB(), GlobalTrackerMuonAlignment::writeGlPosRcd(), and DTCalibDBUtils::writeToDB().
|
private |
Referenced by Vispa.Views.LineDecayView.LineDecayView::createLineDecayContainer(), Vispa.Views.PropertyView.BooleanProperty::setChecked(), Vispa.Views.PropertyView.BooleanProperty::setReadOnly(), Vispa.Views.PropertyView.DropDownProperty::setReadOnly(), Vispa.Views.PropertyView.TextEditWithButtonProperty::setReadOnly(), Vispa.Views.PropertyView.IntegerProperty::setValue(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::updateViewMenu().
cond::Time_t PoolDBOutputService::endOfTime | ( | ) | const |
Definition at line 173 of file PoolDBOutputService.cc.
References cond::TimeTypeSpecs::endValue, and cond::timeTypeSpecs.
Referenced by SiStripBadChannelBuilder::algoAnalyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiPixelLorentzAngleDB::analyze(), SiStripApvGainBuilderFromTag::analyze(), EcalTestDevDB::analyze(), SiStripFEDErrorsDQM::analyze(), XMLGeometryBuilder::beginJob(), GeometricDetLoader::beginJob(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), JetCorrectorDBWriter::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), WriteOneGeometryFromXML::beginRun(), RPCRecoIdealDBLoader::beginRun(), SiStripFedCablingBuilder::beginRun(), CSCRecoIdealDBLoader::beginRun(), DTRecoIdealDBLoader::beginRun(), PGeometricDetBuilder::beginRun(), PGeometricDetExtraBuilder::beginRun(), EcalDQMStatusWriter::beginRun(), EcalDBCopy::copyToDB(), ESDBCopy::copyToDB(), EcalTPGDBCopy::copyToDB(), CocoaDBMgr::DumpCocoaResults(), PhysicsTools::MVATrainerSave::endJob(), PhysicsTools::MVATrainerContainerSave::endJob(), BeamSpotWrite2DB::endJob(), CentralityTableProducer::endJob(), BeamProfile2DB::endJob(), StoreEcalCondition::endJob(), SiStripFedCablingManipulator::endRun(), HLTPrescaleRecorder::endRun(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), AlCaRecoTriggerBitsRcdUpdate::writeBitsToDB(), SiPixelHistoricInfoEDAClient::writeDB(), SiPixelHistoricInfoDQMClient::writeDB(), and writeOne().
|
private |
Definition at line 22 of file PoolDBOutputService.cc.
References cond::findSpecs(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_callbacks, cond::service::PoolDBOutputService::Record::m_closeIOV, m_closeIOV, cond::service::PoolDBOutputService::Record::m_freeInsert, m_freeInsert, cond::service::PoolDBOutputService::Record::m_idName, m_logConnectionString, m_logheaders, cond::service::PoolDBOutputService::Record::m_tag, cond::service::PoolDBOutputService::Record::m_timetype, m_timetypestr, and cond::TimeTypeSpecs::type.
Referenced by PoolDBOutputService().
|
private |
Definition at line 112 of file PoolDBOutputService.cc.
References cond::IOVNames::container(), cond::IOVSchemaUtility::createIOVContainer(), cppFunctionSkipper::exception, and edm::hlt::Exception.
|
private |
Returns payload location index.
bool PoolDBOutputService::isNewTagRequest | ( | const std::string & | recordName | ) |
Definition at line 106 of file PoolDBOutputService.cc.
References cond::service::PoolDBOutputService::Record::m_isNewTag.
Referenced by SiStripBadChannelBuilder::algoAnalyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiPixelLorentzAngleDB::analyze(), SiStripApvGainBuilderFromTag::analyze(), EcalTestDevDB::analyze(), SiStripFEDErrorsDQM::analyze(), XMLGeometryBuilder::beginJob(), GeometricDetLoader::beginJob(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), JetCorrectorDBWriter::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload_IOV::beginJob(), WriteOneGeometryFromXML::beginRun(), RPCRecoIdealDBLoader::beginRun(), SiStripFedCablingBuilder::beginRun(), CSCRecoIdealDBLoader::beginRun(), DTRecoIdealDBLoader::beginRun(), PGeometricDetExtraBuilder::beginRun(), PGeometricDetBuilder::beginRun(), EcalDQMStatusWriter::beginRun(), CocoaDBMgr::DumpCocoaResults(), BeamSpotWrite2DB::endJob(), CentralityTableProducer::endJob(), StoreEcalCondition::endJob(), SiStripFedCablingManipulator::endRun(), AlcaBeamSpotHarvester::endRun(), HLTPrescaleRecorder::endRun(), popcon::PopCon::initialize(), ConditionDBWriter< SiStripApvGain >::storeOnDb(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), AlCaRecoTriggerBitsRcdUpdate::writeBitsToDB(), SiPixelHistoricInfoEDAClient::writeDB(), SiPixelHistoricInfoDQMClient::writeDB(), writeOne(), and DTCalibDBUtils::writeToDB().
|
private |
Definition at line 280 of file PoolDBOutputService.cc.
References cond::MetaData::getToken(), and cond::MetaData::hasTag().
|
private |
Definition at line 299 of file PoolDBOutputService.cc.
void PoolDBOutputService::postEndJob | ( | ) |
Definition at line 135 of file PoolDBOutputService.cc.
Referenced by PoolDBOutputService().
void PoolDBOutputService::postModule | ( | const edm::ModuleDescription & | desc | ) |
Definition at line 165 of file PoolDBOutputService.cc.
Referenced by PoolDBOutputService().
void PoolDBOutputService::preBeginLumi | ( | const edm::LuminosityBlockID & | iLumiid, |
const edm::Timestamp & | iTime | ||
) |
Definition at line 158 of file PoolDBOutputService.cc.
References cond::lumiid, and edm::LuminosityBlockID::value().
Referenced by PoolDBOutputService().
void PoolDBOutputService::preEventProcessing | ( | const edm::EventID & | evtID, |
const edm::Timestamp & | iTime | ||
) |
Definition at line 144 of file PoolDBOutputService.cc.
References edm::EventID::run(), cond::runnumber, cond::timestamp, and edm::Timestamp::value().
Referenced by PoolDBOutputService().
void PoolDBOutputService::preModule | ( | const edm::ModuleDescription & | desc | ) |
Definition at line 154 of file PoolDBOutputService.cc.
Referenced by PoolDBOutputService().
const cond::Logger & PoolDBOutputService::queryLog | ( | ) | const |
Definition at line 355 of file PoolDBOutputService.cc.
Referenced by popcon::PopCon::initialize().
cond::DbSession PoolDBOutputService::session | ( | ) | const |
Definition at line 96 of file PoolDBOutputService.cc.
Referenced by PCLMetadataWriter::endRun(), popcon::PopCon::initialize(), l1t::DataWriter::payloadToken(), l1t::DataWriter::readObject(), l1t::WriterProxyT< Record, Type >::save(), popcon::PopCon::write(), and l1t::DataWriter::writeKeyList().
void PoolDBOutputService::setLogHeaderForRecord | ( | const std::string & | recordName, |
const std::string & | provenance, | ||
const std::string & | usertext | ||
) |
Definition at line 346 of file PoolDBOutputService.cc.
References cond::UserLogInfo::provenance, and cond::UserLogInfo::usertext.
Referenced by popcon::PopCon::write().
std::string PoolDBOutputService::tag | ( | const std::string & | recordName | ) |
Definition at line 101 of file PoolDBOutputService.cc.
Referenced by PCLMetadataWriter::endRun(), popcon::PopCon::initialize(), l1t::DataWriter::payloadToken(), and l1t::DataWriter::updateIOV().
void PoolDBOutputService::tagInfo | ( | const std::string & | recordName, |
cond::TagInfo & | result | ||
) |
Definition at line 362 of file PoolDBOutputService.cc.
References cond::IOVProxy::end(), o2o::iov, prof2calltree::last, cond::TagInfo::lastInterval, cond::TagInfo::lastPayloadToken, cond::service::PoolDBOutputService::Record::m_iovtoken, cond::service::PoolDBOutputService::Record::m_tag, cond::TagInfo::name, record, cond::IOVElementProxy::since(), cond::TagInfo::size, cond::IOVProxy::size(), cond::IOVElementProxy::till(), cond::TagInfo::token, and cond::IOVElementProxy::token().
Referenced by popcon::PopCon::initialize(), l1t::DataWriter::lastPayloadToken(), and l1t::DataWriter::updateIOV().
|
inline |
Definition at line 116 of file PoolDBOutputService.h.
References endOfTime(), isNewTagRequest(), ecalTPGAnalyzer_cfg::recordName, and cond::rpcobgas::time.
Referenced by SurveyInputTrackerFromDB::analyze(), TrackerSystematicMisalignments::analyze(), GBRWrapperMaker::analyze(), TrackerGeometryCompare::analyze(), MoveFlatParamsToDB::analyze(), DTUserKeyedConfigHandler::chkConfigList(), DTKeyedConfigHandler::chkConfigList(), SurveyDBUploader::endJob(), Mixing2DB::endJob(), DTKeyedConfigDBInit::endJob(), DummyCondDBWriter< TObject, TObjectO, TRecord >::endRun(), AlcaBeamSpotHarvester::endRun(), LaserAlignment::endRun(), MisalignedTrackerESProducer::produce(), MuonAlignment::saveCSCSurveyToDB(), MuonAlignment::saveCSCtoDB(), MuonAlignment::saveDTSurveyToDB(), MuonAlignment::saveDTtoDB(), TrackerAlignment::saveToDB(), MisalignedMuonESProducer::saveToDB(), ConditionDBWriter< SiStripApvGain >::storeOnDb(), WriteESAlignments::write(), AlignmentProducer::writeDB(), GlobalTrackerMuonAlignment::writeGlPosRcd(), popcon::PopCon::writeOne(), and DTCalibDBUtils::writeToDB().
|
private |
Definition at line 282 of file PoolDBOutputService.h.
Referenced by fillRecord().
|
private |
Definition at line 284 of file PoolDBOutputService.h.
Referenced by fillRecord(), and PoolDBOutputService().
|
private |
Definition at line 276 of file PoolDBOutputService.h.
Referenced by PoolDBOutputService().
|
private |
Definition at line 274 of file PoolDBOutputService.h.
|
private |
Definition at line 280 of file PoolDBOutputService.h.
|
private |
Definition at line 285 of file PoolDBOutputService.h.
Referenced by fillRecord(), and PoolDBOutputService().
|
private |
Definition at line 278 of file PoolDBOutputService.h.
Referenced by fillRecord(), and PoolDBOutputService().
|
private |
Definition at line 279 of file PoolDBOutputService.h.
Referenced by PoolDBOutputService().
|
private |
Definition at line 286 of file PoolDBOutputService.h.
Referenced by fillRecord().
|
private |
Definition at line 283 of file PoolDBOutputService.h.
|
private |
Definition at line 277 of file PoolDBOutputService.h.
Referenced by PoolDBOutputService().
|
private |
Definition at line 272 of file PoolDBOutputService.h.
Referenced by PoolDBOutputService().
|
private |
Definition at line 273 of file PoolDBOutputService.h.
Referenced by fillRecord(), and PoolDBOutputService().