#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 () |
const cond::Logger & | queryLog () const |
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) |
cond::UserLogInfo & | lookUpUserLogInfo (const std::string &recordName) |
void | postModuleEvent (edm::StreamContext const &, edm::ModuleCallingContext const &) |
void | preEventProcessing (edm::StreamContext const &) |
void | preGlobalBeginLumi (edm::GlobalContext const &) |
void | preGlobalBeginRun (edm::GlobalContext const &) |
void | preModuleEvent (edm::StreamContext const &, edm::ModuleCallingContext const &) |
Private Attributes | |
std::map< std::string, Record > | m_callbacks |
bool | m_closeIOV |
std::vector< cond::Time_t > | m_currentTimes |
bool | m_dbstarted |
std::string | m_logConnectionString |
std::auto_ptr< cond::Logger > | m_logdb |
std::map< std::string, cond::UserLogInfo > | m_logheaders |
std::recursive_mutex | m_mutex |
std::vector< std::pair < std::string, std::string > > | m_newtags |
cond::persistency::Session | m_session |
cond::TimeType | m_timetype |
std::string | m_timetypestr |
Definition at line 39 of file PoolDBOutputService.h.
PoolDBOutputService::PoolDBOutputService | ( | const edm::ParameterSet & | iConfig, |
edm::ActivityRegistry & | iAR | ||
) |
Definition at line 46 of file PoolDBOutputService.cc.
|
virtual |
Definition at line 184 of file PoolDBOutputService.cc.
|
inline |
Definition at line 108 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(), SiStripApvGainBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), EcalTestDevDB::analyze(), BTagCalibrationDbCreator::beginJob(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), JetCorrectorDBWriter::beginJob(), QGLikelihoodSystematicsDBWriter::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload_IOV::beginJob(), QGLikelihoodDBWriter::beginJob(), SiStripFedCablingBuilder::beginRun(), CocoaDBMgr::DumpCocoaResults(), BeamSpotWrite2DB::endJob(), UETableProducer::endJob(), CentralityTableProducer::endJob(), StoreEcalCondition::endJob(), SiStripFedCablingManipulator::endRun(), HLTPrescaleRecorder::endRun(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), AlCaRecoTriggerBitsRcdUpdate::writeBitsToDB(), 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 291 of file PoolDBOutputService.cc.
References a, idDealer::editor, cppFunctionSkipper::exception, cond::persistency::IOVEditor::flush(), cond::persistency::IOVEditor::insert(), CommonMethods::lock(), cond::persistency::IOVEditor::payloadType(), HLT_25ns14e33_v1_cff::payloadType, AlCaHLTBitMon_QueryRunRegistry::string, cond::throwException(), and cond::rpcobgas::time.
cond::Time_t PoolDBOutputService::beginOfTime | ( | ) | const |
Definition at line 194 of file PoolDBOutputService.cc.
References cond::TimeTypeSpecs::beginValue, and cond::timeTypeSpecs.
Referenced by SiStripBadChannelBuilder::algoAnalyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiStripApvGainBuilder::analyze(), GBRForestWriter::analyze(), SurveyInputTrackerFromDB::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), TrackerSystematicMisalignments::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), EcalTestDevDB::analyze(), TrackerGeometryCompare::analyze(), XMLGeometryBuilder::beginJob(), BTagCalibrationDbCreator::beginJob(), GeometricDetLoader::beginJob(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), JetCorrectorDBWriter::beginJob(), QGLikelihoodSystematicsDBWriter::beginJob(), QGLikelihoodDBWriter::beginJob(), WriteOneGeometryFromXML::beginRun(), PTrackerParametersDBBuilder::beginRun(), RPCRecoIdealDBLoader::beginRun(), SiStripFedCablingBuilder::beginRun(), CSCRecoIdealDBLoader::beginRun(), DTRecoIdealDBLoader::beginRun(), PGeometricDetExtraBuilder::beginRun(), PGeometricDetBuilder::beginRun(), GEMRecoIdealDBLoader::beginRun(), EcalDBCopy::copyToDB(), ESDBCopy::copyToDB(), EcalTPGDBCopy::copyToDB(), CocoaDBMgr::DumpCocoaResults(), PhysicsTools::MVATrainerSave::endJob(), PhysicsTools::MVATrainerContainerSave::endJob(), BeamSpotWrite2DB::endJob(), UETableProducer::endJob(), CentralityTableProducer::endJob(), BeamProfile2DB::endJob(), StoreEcalCondition::endJob(), SiStripFedCablingManipulator::endRun(), DummyCondDBWriter< TObject, TObjectO, TRecord >::endRun(), HLTPrescaleRecorder::endRun(), LaserAlignment::endRunProduce(), MisalignedMuonESProducer::saveToDB(), ConditionDBWriter< SiStripApvGain >::storeOnDb(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), CaloGeometryDBWriter::writeIndexed(), and DTCalibDBUtils::writeToDB().
void PoolDBOutputService::closeIOV | ( | Time_t | lastTill, |
const std::string & | recordName, | ||
bool | withlogging = false |
||
) |
Definition at line 355 of file PoolDBOutputService.cc.
References idDealer::editor, cond::persistency::IOVEditor::flush(), CommonMethods::lock(), 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 77 of file PoolDBOutputService.h.
References ora::ClassUtils::demangledName(), initDB(), CommonMethods::lock(), m_dbstarted, m_mutex, 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(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), EcalTestDevDB::analyze(), XMLGeometryBuilder::beginJob(), BTagCalibrationDbCreator::beginJob(), GeometricDetLoader::beginJob(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), JetCorrectorDBWriter::beginJob(), QGLikelihoodSystematicsDBWriter::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload_IOV::beginJob(), QGLikelihoodDBWriter::beginJob(), WriteOneGeometryFromXML::beginRun(), PTrackerParametersDBBuilder::beginRun(), RPCRecoIdealDBLoader::beginRun(), SiStripFedCablingBuilder::beginRun(), DTRecoIdealDBLoader::beginRun(), CSCRecoIdealDBLoader::beginRun(), PGeometricDetBuilder::beginRun(), PGeometricDetExtraBuilder::beginRun(), GEMRecoIdealDBLoader::beginRun(), EcalTPGDBCopy::copyToDB(), EcalDBCopy::copyToDB(), ESDBCopy::copyToDB(), CocoaDBMgr::DumpCocoaResults(), PhysicsTools::MVATrainerSave::endJob(), PhysicsTools::MVATrainerContainerSave::endJob(), BeamSpotWrite2DB::endJob(), UETableProducer::endJob(), CentralityTableProducer::endJob(), BeamProfile2DB::endJob(), StoreEcalCondition::endJob(), SiStripFedCablingManipulator::endRun(), HLTPrescaleRecorder::endRun(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), AlCaRecoTriggerBitsRcdUpdate::writeBitsToDB(), 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 205 of file PoolDBOutputService.cc.
References a, idDealer::editor, cppFunctionSkipper::exception, cond::persistency::IOVEditor::flush(), cond::persistency::IOVEditor::insert(), CommonMethods::lock(), 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 248 of file PoolDBOutputService.cc.
References a, idDealer::editor, cppFunctionSkipper::exception, cond::persistency::IOVEditor::flush(), cond::persistency::IOVEditor::insert(), CommonMethods::lock(), cond::OFFLINE, cond::persistency::IOVEditor::payloadType(), HLT_25ns14e33_v1_cff::payloadType, cond::persistency::IOVEditor::setDescription(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().
cond::Time_t PoolDBOutputService::currentTime | ( | ) | const |
Definition at line 199 of file PoolDBOutputService.cc.
References assert(), and s_streamIndex.
Referenced by SiStripBadChannelBuilder::algoAnalyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), BufferedBoostIODBWriter::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), BoostIODBWriter< DataType >::analyze(), FFTJetCorrectorDBWriter::analyze(), SiStripFedCablingBuilder::beginRun(), CocoaDBMgr::DumpCocoaResults(), BeamSpotWrite2DB::endJob(), UETableProducer::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(), 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 189 of file PoolDBOutputService.cc.
References cond::TimeTypeSpecs::endValue, and cond::timeTypeSpecs.
Referenced by SiStripBadChannelBuilder::algoAnalyze(), EcalDQMStatusWriter::analyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), EcalTestDevDB::analyze(), XMLGeometryBuilder::beginJob(), BTagCalibrationDbCreator::beginJob(), GeometricDetLoader::beginJob(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), JetCorrectorDBWriter::beginJob(), QGLikelihoodSystematicsDBWriter::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), QGLikelihoodDBWriter::beginJob(), WriteOneGeometryFromXML::beginRun(), PTrackerParametersDBBuilder::beginRun(), RPCRecoIdealDBLoader::beginRun(), SiStripFedCablingBuilder::beginRun(), CSCRecoIdealDBLoader::beginRun(), DTRecoIdealDBLoader::beginRun(), PGeometricDetBuilder::beginRun(), PGeometricDetExtraBuilder::beginRun(), GEMRecoIdealDBLoader::beginRun(), EcalDBCopy::copyToDB(), ESDBCopy::copyToDB(), EcalTPGDBCopy::copyToDB(), CocoaDBMgr::DumpCocoaResults(), PhysicsTools::MVATrainerSave::endJob(), PhysicsTools::MVATrainerContainerSave::endJob(), BeamSpotWrite2DB::endJob(), UETableProducer::endJob(), CentralityTableProducer::endJob(), BeamProfile2DB::endJob(), StoreEcalCondition::endJob(), SiStripFedCablingManipulator::endRun(), HLTPrescaleRecorder::endRun(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), AlCaRecoTriggerBitsRcdUpdate::writeBitsToDB(), CaloGeometryDBWriter::writeIndexed(), and writeOne().
|
private |
Definition at line 26 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, m_logConnectionString, m_logheaders, cond::service::PoolDBOutputService::Record::m_tag, cond::service::PoolDBOutputService::Record::m_timetype, m_timetypestr, AlCaHLTBitMon_QueryRunRegistry::string, and cond::time::timeTypeFromName().
|
private |
Definition at line 124 of file PoolDBOutputService.cc.
References cppFunctionSkipper::exception, CommonMethods::lock(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().
Referenced by createNewIOV(), and writeOne().
bool PoolDBOutputService::isNewTagRequest | ( | const std::string & | recordName | ) |
Definition at line 118 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(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), EcalTestDevDB::analyze(), XMLGeometryBuilder::beginJob(), BTagCalibrationDbCreator::beginJob(), GeometricDetLoader::beginJob(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), JetCorrectorDBWriter::beginJob(), QGLikelihoodSystematicsDBWriter::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload_IOV::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), QGLikelihoodDBWriter::beginJob(), WriteOneGeometryFromXML::beginRun(), PTrackerParametersDBBuilder::beginRun(), RPCRecoIdealDBLoader::beginRun(), SiStripFedCablingBuilder::beginRun(), DTRecoIdealDBLoader::beginRun(), CSCRecoIdealDBLoader::beginRun(), PGeometricDetExtraBuilder::beginRun(), PGeometricDetBuilder::beginRun(), GEMRecoIdealDBLoader::beginRun(), CocoaDBMgr::DumpCocoaResults(), BeamSpotWrite2DB::endJob(), UETableProducer::endJob(), CentralityTableProducer::endJob(), StoreEcalCondition::endJob(), SiStripFedCablingManipulator::endRun(), AlcaBeamSpotHarvester::endRun(), HLTPrescaleRecorder::endRun(), ConditionDBWriter< SiStripApvGain >::storeOnDb(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), AlCaRecoTriggerBitsRcdUpdate::writeBitsToDB(), CaloGeometryDBWriter::writeIndexed(), writeOne(), and DTCalibDBUtils::writeToDB().
|
private |
Definition at line 330 of file PoolDBOutputService.cc.
References CommonMethods::lock(), and cond::throwException().
|
private |
Definition at line 348 of file PoolDBOutputService.cc.
void PoolDBOutputService::postEndJob | ( | ) |
Definition at line 146 of file PoolDBOutputService.cc.
|
private |
|
private |
Definition at line 155 of file PoolDBOutputService.cc.
References edm::StreamContext::streamID(), edm::StreamContext::timestamp(), edm::StreamID::value(), and edm::Timestamp::value().
|
private |
Definition at line 178 of file PoolDBOutputService.cc.
References edm::GlobalContext::luminosityBlockID(), cond::rpcobgas::time, and edm::LuminosityBlockID::value().
|
private |
Definition at line 171 of file PoolDBOutputService.cc.
References edm::GlobalContext::luminosityBlockID(), edm::LuminosityBlockID::run(), and cond::rpcobgas::time.
|
private |
Definition at line 161 of file PoolDBOutputService.cc.
References s_streamIndex, edm::StreamContext::streamID(), and edm::StreamID::value().
const cond::Logger & PoolDBOutputService::queryLog | ( | ) | const |
Definition at line 383 of file PoolDBOutputService.cc.
Referenced by popcon::PopCon::initialize().
cond::persistency::Session PoolDBOutputService::session | ( | ) | const |
Definition at line 108 of file PoolDBOutputService.cc.
Referenced by PCLMetadataWriter::endRun(), popcon::PopCon::initialize(), l1t::DataWriter::payloadToken(), l1t::DataWriter::readObject(), l1t::WriterProxyT< Record, Type >::save(), and l1t::DataWriter::writeKeyList().
void PoolDBOutputService::setLogHeaderForRecord | ( | const std::string & | recordName, |
const std::string & | provenance, | ||
const std::string & | usertext | ||
) |
Definition at line 374 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 113 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 390 of file PoolDBOutputService.cc.
References cond::persistency::IOVProxy::getLast(), o2o::iov, prof2calltree::last, cond::TagInfo_t::lastInterval, cond::TagInfo_t::lastPayloadToken, CommonMethods::lock(), cond::service::PoolDBOutputService::Record::m_tag, cond::TagInfo_t::name, cond::Iov_t::payloadId, record, cond::persistency::IOVProxy::sequenceSize(), cond::Iov_t::since, cond::TagInfo_t::size, and cond::Iov_t::till.
Referenced by l1t::DataWriter::lastPayloadToken(), and l1t::DataWriter::updateIOV().
|
inline |
Definition at line 58 of file PoolDBOutputService.h.
References appendSinceTime(), createNewIOV(), ora::ClassUtils::demangledName(), endOfTime(), initDB(), isNewTagRequest(), CommonMethods::lock(), m_dbstarted, m_mutex, m_session, HLT_25ns14e33_v1_cff::payloadType, cond::persistency::Session::storePayload(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().
Referenced by EcalDQMStatusWriter::analyze(), GBRForestWriter::analyze(), SurveyInputTrackerFromDB::analyze(), BufferedBoostIODBWriter::analyze(), TrackerSystematicMisalignments::analyze(), FFTJetCorrectorDBWriter::analyze(), BoostIODBWriter< DataType >::analyze(), TrackerGeometryCompare::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 206 of file PoolDBOutputService.h.
Referenced by fillRecord().
|
private |
Definition at line 208 of file PoolDBOutputService.h.
Referenced by fillRecord().
|
private |
Definition at line 199 of file PoolDBOutputService.h.
|
private |
Definition at line 204 of file PoolDBOutputService.h.
Referenced by createNewIOV(), and writeOne().
|
private |
Definition at line 202 of file PoolDBOutputService.h.
Referenced by fillRecord().
|
private |
Definition at line 203 of file PoolDBOutputService.h.
|
private |
Definition at line 209 of file PoolDBOutputService.h.
Referenced by fillRecord().
|
private |
Definition at line 196 of file PoolDBOutputService.h.
Referenced by createNewIOV(), and writeOne().
|
private |
Definition at line 207 of file PoolDBOutputService.h.
|
private |
Definition at line 201 of file PoolDBOutputService.h.
Referenced by appendSinceTime(), createNewIOV(), and writeOne().
|
private |
Definition at line 197 of file PoolDBOutputService.h.
|
private |
Definition at line 198 of file PoolDBOutputService.h.
Referenced by fillRecord().