#include <PopCon.h>
Public Types | |
typedef cond::Time_t | Time_t |
Public Member Functions | |
PopCon (const edm::ParameterSet &pset) | |
template<typename Source > | |
void | write (Source const &source) |
template<typename T > | |
void | writeOne (T *payload, Time_t time) |
virtual | ~PopCon () |
Private Member Functions | |
void | finalize (Time_t lastTill) |
cond::persistency::Session | initialize () |
Private Attributes | |
std::string | m_authPath |
int | m_authSys |
bool | m_close |
edm::Service < cond::service::PoolDBOutputService > | m_dbService |
bool | m_IsDestDbCheckedInQueryLog |
Time_t | m_lastTill |
cond::LogDBEntry | m_logDBEntry |
bool | m_LoggingOn |
std::string | m_payload_name |
std::string | m_record |
std::string | m_tag |
cond::TagInfo_t | m_tagInfo |
std::string | m_targetConnectionString |
cond::persistency::Session | m_targetSession |
typedef cond::Time_t popcon::PopCon::Time_t |
popcon::PopCon::PopCon | ( | const edm::ParameterSet & | pset | ) |
Definition at line 10 of file PopCon.cc.
|
virtual |
Definition at line 29 of file PopCon.cc.
References cond::persistency::Transaction::commit(), m_targetConnectionString, m_targetSession, and cond::persistency::Session::transaction().
|
private |
Definition at line 85 of file PopCon.cc.
References cond::service::PoolDBOutputService::closeIOV(), cond::persistency::Transaction::commit(), m_close, m_dbService, m_lastTill, m_record, m_targetConnectionString, m_targetSession, and cond::persistency::Session::transaction().
Referenced by write().
|
private |
Definition at line 36 of file PopCon.cc.
References cond::persistency::ConnectionPool::configure(), cond::persistency::Session::connectionString(), gather_cfg::cout, cond::persistency::ConnectionPool::createSession(), edm::hlt::Exception, cond::persistency::Session::existsIov(), cond::persistency::IOVProxy::getLast(), o2o::iov, edm::Service< T >::isAvailable(), prof2calltree::last, cond::TagInfo_t::lastInterval, cond::TagInfo_t::lastPayloadToken, cond::Logger::LookupLastEntryByTag(), m_authPath, m_authSys, m_dbService, m_IsDestDbCheckedInQueryLog, m_logDBEntry, m_payload_name, m_record, m_tag, m_tagInfo, m_targetConnectionString, m_targetSession, cond::TagInfo_t::name, cond::Iov_t::payloadId, cond::LogDBEntry::payloadIdx, cond::LogDBEntry::provenance, cond::service::PoolDBOutputService::queryLog(), cond::persistency::Session::readIov(), cond::persistency::IOVProxy::sequenceSize(), cond::service::PoolDBOutputService::session(), cond::persistency::ConnectionPool::setAuthenticationPath(), cond::persistency::ConnectionPool::setAuthenticationSystem(), cond::Iov_t::since, cond::TagInfo_t::size, cond::persistency::Transaction::start(), AlCaHLTBitMon_QueryRunRegistry::string, cond::service::PoolDBOutputService::tag(), cond::Iov_t::till, and cond::persistency::Session::transaction().
Referenced by write().
void popcon::PopCon::write | ( | Source const & | source | ) |
Definition at line 125 of file PopCon.h.
References popcon::displayHelper(), popcon::displayIovHelper(), finalize(), initialize(), m_dbService, m_logDBEntry, m_LoggingOn, m_record, m_tagInfo, tauJetCorrections_cff::payloads, run_regression::ret, cond::service::PoolDBOutputService::setLogHeaderForRecord(), source, and cond::rpcobgas::time.
Referenced by pkg.AbstractPkg::generate(), ExTestEcalChannelStatusAnalyzer::write(), HcalZSThresholdsPopConAnalyzer::write(), HcalValidationCorrsPopConAnalyzer::write(), HcalTimingParamsPopConAnalyzer::write(), HcalFlagHFDigiTimeParamsPopConAnalyzer::write(), HcalRespCorrsPopConAnalyzer::write(), HcalRecoParamsPopConAnalyzer::write(), HcalQIEDataPopConAnalyzer::write(), HcalPFCorrsPopConAnalyzer::write(), HcalPedestalWidthsPopConAnalyzer::write(), HcalPedestalsPopConAnalyzer::write(), HcalMCParamsPopConAnalyzer::write(), HcalLutMetadataPopConAnalyzer::write(), HcalLUTCorrsPopConAnalyzer::write(), HcalLongRecoParamsPopConAnalyzer::write(), HcalL1TriggerObjectsPopConAnalyzer::write(), HcalGainWidthsPopConAnalyzer::write(), HcalGainsPopConAnalyzer::write(), CastorQIEDataPopConAnalyzer::write(), HcalElectronicsMapPopConAnalyzer::write(), CastorElectronicsMapPopConAnalyzer::write(), HcalDcsMapPopConAnalyzer::write(), HcalCovarianceMatricesPopConAnalyzer::write(), HcalCholeskyMatricesPopConAnalyzer::write(), HcalChannelQualityPopConAnalyzer::write(), CastorSaturationCorrsPopConAnalyzer::write(), CastorRecoParamsPopConAnalyzer::write(), CastorPedestalWidthsPopConAnalyzer::write(), HcalDcsValuesPopConAnalyzer::write(), CastorPedestalsPopConAnalyzer::write(), CastorGainWidthsPopConAnalyzer::write(), CastorGainsPopConAnalyzer::write(), HcalTimeCorrsPopConAnalyzer::write(), CastorChannelQualityPopConAnalyzer::write(), and popcon::PopConAnalyzer< HcalPedestalWidthsHandler >::write().
Definition at line 92 of file PopCon.h.
References m_dbService, m_LoggingOn, m_record, and cond::service::PoolDBOutputService::writeOne().
|
private |
Definition at line 66 of file PopCon.h.
Referenced by initialize().
|
private |
Definition at line 68 of file PopCon.h.
Referenced by initialize().
|
private |
Definition at line 84 of file PopCon.h.
Referenced by finalize().
|
private |
Definition at line 60 of file PopCon.h.
Referenced by finalize(), initialize(), write(), and writeOne().
|
private |
Definition at line 76 of file PopCon.h.
Referenced by initialize().
|
private |
Definition at line 85 of file PopCon.h.
Referenced by finalize().
|
private |
Definition at line 82 of file PopCon.h.
Referenced by initialize(), and write().
|
private |
Definition at line 74 of file PopCon.h.
Referenced by write(), and writeOne().
|
private |
Definition at line 72 of file PopCon.h.
Referenced by initialize().
|
private |
Definition at line 70 of file PopCon.h.
Referenced by finalize(), initialize(), write(), and writeOne().
|
private |
Definition at line 78 of file PopCon.h.
Referenced by initialize().
|
private |
Definition at line 80 of file PopCon.h.
Referenced by initialize(), and write().
|
private |
Definition at line 64 of file PopCon.h.
Referenced by finalize(), initialize(), and ~PopCon().
|
private |
Definition at line 62 of file PopCon.h.
Referenced by finalize(), initialize(), and ~PopCon().