![]() |
![]() |
#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 &payloadId, 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 &firstPayloadId, const std::string payloadType, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false) |
void | createNewIOV (const std::string &firstPayloadId, 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) |
cond::persistency::Session | 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_t &result) |
template<typename T > | |
void | writeOne (T *payload, Time_t time, const std::string &recordName, bool withlogging=false) |
virtual | ~PoolDBOutputService () |
Private Member Functions | |
void | connect () |
void | disconnect () |
void | fillRecord (edm::ParameterSet &pset) |
void | initDB (bool forReading=true) |
Record & | lookUpRecord (const std::string &recordName) |
Private Attributes | |
std::map< std::string, Record > | m_callbacks |
bool | m_closeIOV |
cond::Time_t | m_currentTime |
bool | m_dbstarted |
cond::persistency::Session | m_session |
cond::TimeType | m_timetype |
std::string | m_timetypestr |
Definition at line 38 of file PoolDBOutputService.h.
PoolDBOutputService::PoolDBOutputService | ( | const edm::ParameterSet & | iConfig, |
edm::ActivityRegistry & | iAR | ||
) |
Definition at line 36 of file PoolDBOutputService.cc.
References cond::DEFAULT_DB, fillRecord(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_closeIOV, m_session, m_timetype, m_timetypestr, postEndJob(), postModule(), preBeginLumi(), preEventProcessing(), preModule(), cond::persistency::ConnectionPool::setParameters(), AlCaHLTBitMon_QueryRunRegistry::string, cond::time::timeTypeFromName(), convertXMLtoSQLite_cfg::toPut, cond::UNKNOWN_DB, edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostModule(), edm::ActivityRegistry::watchPreBeginLumi(), edm::ActivityRegistry::watchPreModule(), and edm::ActivityRegistry::watchPreProcessEvent().
|
virtual |
Definition at line 152 of file PoolDBOutputService.cc.
|
inline |
Definition at line 112 of file PoolDBOutputService.h.
References m_session, ecalTPGAnalyzer_cfg::recordName, cond::persistency::Session::storePayload(), and cond::throwException().
Referenced by SiStripBadChannelBuilder::algoAnalyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiPixelLorentzAngleDB::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), EcalTestDevDB::analyze(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload_IOV::beginJob(), JetCorrectorDBWriter::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), SiStripFedCablingBuilder::beginRun(), EcalDQMStatusWriter::beginRun(), CocoaDBMgr::DumpCocoaResults(), BeamSpotWrite2DB::endJob(), StoreEcalCondition::endJob(), CentralityTableProducer::endJob(), SiStripFedCablingManipulator::endRun(), HLTPrescaleRecorder::endRun(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), AlCaRecoTriggerBitsRcdUpdate::writeBitsToDB(), SiPixelHistoricInfoEDAClient::writeDB(), SiPixelHistoricInfoDQMClient::writeDB(), CaloGeometryDBWriter::writeIndexed(), and writeOne().
void PoolDBOutputService::appendSinceTime | ( | const std::string & | payloadId, |
cond::Time_t | sinceTime, | ||
const std::string & | recordName, | ||
bool | withlogging = false |
||
) |
Definition at line 242 of file PoolDBOutputService.cc.
References idDealer::editor, cppFunctionSkipper::exception, cond::persistency::IOVEditor::flush(), cond::persistency::IOVEditor::insert(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().
cond::Time_t PoolDBOutputService::beginOfTime | ( | ) | const |
Definition at line 162 of file PoolDBOutputService.cc.
References cond::TimeTypeSpecs::beginValue, and cond::timeTypeSpecs.
Referenced by SiStripBadChannelBuilder::algoAnalyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripApvGainBuilder::analyze(), SurveyInputTrackerFromDB::analyze(), SiPixelLorentzAngleDB::analyze(), TrackerSystematicMisalignments::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), EcalTestDevDB::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(), GEMRecoIdealDBLoader::beginRun(), EcalDQMStatusWriter::beginRun(), EcalDBCopy::copyToDB(), ESDBCopy::copyToDB(), EcalTPGDBCopy::copyToDB(), CocoaDBMgr::DumpCocoaResults(), PhysicsTools::MVATrainerSave::endJob(), PhysicsTools::MVATrainerContainerSave::endJob(), BeamSpotWrite2DB::endJob(), BeamProfile2DB::endJob(), StoreEcalCondition::endJob(), CentralityTableProducer::endJob(), SiStripFedCablingManipulator::endRun(), DummyCondDBWriter< TObject, TObjectO, TRecord >::endRun(), HLTPrescaleRecorder::endRun(), LaserAlignment::endRunProduce(), MisalignedMuonESProducer::saveToDB(), ConditionDBWriter< SiStripApvGain >::storeOnDb(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), SiPixelHistoricInfoEDAClient::writeDB(), SiPixelHistoricInfoDQMClient::writeDB(), CaloGeometryDBWriter::writeIndexed(), and DTCalibDBUtils::writeToDB().
void PoolDBOutputService::closeIOV | ( | Time_t | lastTill, |
const std::string & | recordName, | ||
bool | withlogging = false |
||
) |
Definition at line 305 of file PoolDBOutputService.cc.
References idDealer::editor, cond::persistency::IOVEditor::flush(), cond::service::PoolDBOutputService::Record::m_isNewTag, cond::service::PoolDBOutputService::Record::m_tag, cond::persistency::IOVEditor::setEndOfValidity(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().
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 83 of file PoolDBOutputService.h.
References ora::ClassUtils::demangledName(), m_session, ecalTPGAnalyzer_cfg::recordName, cond::persistency::Session::storePayload(), and cond::throwException().
Referenced by SiStripBadChannelBuilder::algoAnalyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiPixelLorentzAngleDB::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), EcalTestDevDB::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(), GEMRecoIdealDBLoader::beginRun(), EcalDQMStatusWriter::beginRun(), EcalDBCopy::copyToDB(), EcalTPGDBCopy::copyToDB(), ESDBCopy::copyToDB(), CocoaDBMgr::DumpCocoaResults(), PhysicsTools::MVATrainerSave::endJob(), PhysicsTools::MVATrainerContainerSave::endJob(), BeamSpotWrite2DB::endJob(), BeamProfile2DB::endJob(), StoreEcalCondition::endJob(), CentralityTableProducer::endJob(), SiStripFedCablingManipulator::endRun(), HLTPrescaleRecorder::endRun(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), AlCaRecoTriggerBitsRcdUpdate::writeBitsToDB(), SiPixelHistoricInfoEDAClient::writeDB(), SiPixelHistoricInfoDQMClient::writeDB(), CaloGeometryDBWriter::writeIndexed(), and writeOne().
void PoolDBOutputService::createNewIOV | ( | const std::string & | firstPayloadId, |
const std::string | payloadType, | ||
cond::Time_t | firstSinceTime, | ||
cond::Time_t | firstTillTime, | ||
const std::string & | recordName, | ||
bool | withlogging = false |
||
) |
Definition at line 172 of file PoolDBOutputService.cc.
References idDealer::editor, cppFunctionSkipper::exception, cond::persistency::IOVEditor::flush(), cond::persistency::IOVEditor::insert(), cond::OFFLINE, cond::persistency::IOVEditor::setDescription(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().
void PoolDBOutputService::createNewIOV | ( | const std::string & | firstPayloadId, |
cond::Time_t | firstSinceTime, | ||
cond::Time_t | firstTillTime, | ||
const std::string & | recordName, | ||
bool | withlogging = false |
||
) |
Definition at line 216 of file PoolDBOutputService.cc.
References idDealer::editor, cppFunctionSkipper::exception, cond::persistency::IOVEditor::flush(), cond::persistency::IOVEditor::insert(), cond::OFFLINE, cond::persistency::IOVEditor::setDescription(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().
cond::Time_t PoolDBOutputService::currentTime | ( | ) | const |
Definition at line 167 of file PoolDBOutputService.cc.
Referenced by SiStripBadChannelBuilder::algoAnalyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiPixelLorentzAngleDB::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), FFTJetCorrectorDBWriter::analyze(), SiStripFedCablingBuilder::beginRun(), CocoaDBMgr::DumpCocoaResults(), BeamSpotWrite2DB::endJob(), SurveyDBUploader::endJob(), Mixing2DB::endJob(), CentralityTableProducer::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(), CaloGeometryDBWriter::writeIndexed(), 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 157 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(), SiPixelLorentzAngleDB::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), EcalTestDevDB::analyze(), XMLGeometryBuilder::beginJob(), GeometricDetLoader::beginJob(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), JetCorrectorDBWriter::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), WriteOneGeometryFromXML::beginRun(), RPCRecoIdealDBLoader::beginRun(), SiStripFedCablingBuilder::beginRun(), CSCRecoIdealDBLoader::beginRun(), DTRecoIdealDBLoader::beginRun(), PGeometricDetExtraBuilder::beginRun(), PGeometricDetBuilder::beginRun(), GEMRecoIdealDBLoader::beginRun(), EcalDQMStatusWriter::beginRun(), EcalDBCopy::copyToDB(), ESDBCopy::copyToDB(), EcalTPGDBCopy::copyToDB(), CocoaDBMgr::DumpCocoaResults(), PhysicsTools::MVATrainerSave::endJob(), PhysicsTools::MVATrainerContainerSave::endJob(), BeamSpotWrite2DB::endJob(), BeamProfile2DB::endJob(), StoreEcalCondition::endJob(), CentralityTableProducer::endJob(), SiStripFedCablingManipulator::endRun(), HLTPrescaleRecorder::endRun(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), AlCaRecoTriggerBitsRcdUpdate::writeBitsToDB(), SiPixelHistoricInfoEDAClient::writeDB(), SiPixelHistoricInfoDQMClient::writeDB(), CaloGeometryDBWriter::writeIndexed(), and writeOne().
|
private |
Definition at line 15 of file PoolDBOutputService.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_callbacks, cond::service::PoolDBOutputService::Record::m_closeIOV, m_closeIOV, cond::service::PoolDBOutputService::Record::m_idName, cond::service::PoolDBOutputService::Record::m_tag, cond::service::PoolDBOutputService::Record::m_timetype, m_timetypestr, AlCaHLTBitMon_QueryRunRegistry::string, and cond::time::timeTypeFromName().
Referenced by PoolDBOutputService().
|
private |
Definition at line 98 of file PoolDBOutputService.cc.
References cppFunctionSkipper::exception, AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().
Referenced by writeOne().
bool PoolDBOutputService::isNewTagRequest | ( | const std::string & | recordName | ) |
Definition at line 92 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(), SiPixelLorentzAngleDB::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), EcalTestDevDB::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(), GEMRecoIdealDBLoader::beginRun(), EcalDQMStatusWriter::beginRun(), CocoaDBMgr::DumpCocoaResults(), BeamSpotWrite2DB::endJob(), StoreEcalCondition::endJob(), CentralityTableProducer::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(), CaloGeometryDBWriter::writeIndexed(), writeOne(), and DTCalibDBUtils::writeToDB().
|
private |
Definition at line 281 of file PoolDBOutputService.cc.
References cond::throwException().
void PoolDBOutputService::postEndJob | ( | ) |
Definition at line 119 of file PoolDBOutputService.cc.
Referenced by PoolDBOutputService().
void PoolDBOutputService::postModule | ( | const edm::ModuleDescription & | desc | ) |
Definition at line 149 of file PoolDBOutputService.cc.
Referenced by PoolDBOutputService().
void PoolDBOutputService::preBeginLumi | ( | const edm::LuminosityBlockID & | iLumiid, |
const edm::Timestamp & | iTime | ||
) |
Definition at line 142 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 128 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 138 of file PoolDBOutputService.cc.
Referenced by PoolDBOutputService().
cond::persistency::Session PoolDBOutputService::session | ( | ) | const |
Definition at line 82 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 323 of file PoolDBOutputService.cc.
Referenced by popcon::PopCon::write().
std::string PoolDBOutputService::tag | ( | const std::string & | recordName | ) |
Definition at line 87 of file PoolDBOutputService.cc.
Referenced by PCLMetadataWriter::endRun(), popcon::PopCon::initialize(), l1t::DataWriter::payloadToken(), Inspector.Inspector::SetTag(), and l1t::DataWriter::updateIOV().
void PoolDBOutputService::tagInfo | ( | const std::string & | recordName, |
cond::TagInfo_t & | result | ||
) |
Definition at line 339 of file PoolDBOutputService.cc.
References cond::persistency::IOVProxy::getLast(), o2o::iov, prof2calltree::last, cond::TagInfo_t::lastInterval, cond::TagInfo_t::lastPayloadToken, cond::service::PoolDBOutputService::Record::m_tag, cond::TagInfo_t::name, cond::Iov_t::payloadId, GlobalPosition_Frontier_DevDB_cff::record, cond::persistency::IOVProxy::sequenceSize(), cond::Iov_t::since, cond::TagInfo_t::size, and cond::Iov_t::till.
Referenced by popcon::PopCon::initialize(), l1t::DataWriter::lastPayloadToken(), and l1t::DataWriter::updateIOV().
|
inline |
Definition at line 65 of file PoolDBOutputService.h.
References appendSinceTime(), createNewIOV(), ora::ClassUtils::demangledName(), endOfTime(), initDB(), isNewTagRequest(), m_dbstarted, m_session, cond::persistency::Session::storePayload(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().
Referenced by SurveyInputTrackerFromDB::analyze(), TrackerSystematicMisalignments::analyze(), FFTJetCorrectorDBWriter::analyze(), TrackerGeometryCompare::analyze(), MoveFlatParamsToDB::analyze(), DTUserKeyedConfigHandler::chkConfigList(), DTKeyedConfigHandler::chkConfigList(), EcalDBCopy::copyToDB(), SurveyDBUploader::endJob(), Mixing2DB::endJob(), DTKeyedConfigDBInit::endJob(), SiStripLorentzAngleCalibration::endOfJob(), SiStripBackplaneCalibration::endOfJob(), SiPixelLorentzAngleCalibration::endOfJob(), AlcaBeamSpotHarvester::endRun(), DummyCondDBWriter< TObject, TObjectO, TRecord >::endRun(), LaserAlignment::endRunProduce(), 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 200 of file PoolDBOutputService.h.
Referenced by fillRecord().
|
private |
Definition at line 202 of file PoolDBOutputService.h.
Referenced by fillRecord(), and PoolDBOutputService().
|
private |
Definition at line 193 of file PoolDBOutputService.h.
|
private |
Definition at line 198 of file PoolDBOutputService.h.
Referenced by writeOne().
|
private |
Definition at line 195 of file PoolDBOutputService.h.
Referenced by appendSinceTime(), createNewIOV(), PoolDBOutputService(), and writeOne().
|
private |
Definition at line 191 of file PoolDBOutputService.h.
Referenced by PoolDBOutputService().
|
private |
Definition at line 192 of file PoolDBOutputService.h.
Referenced by fillRecord(), and PoolDBOutputService().