#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 |
Time_t | m_lastTill |
cond::LogDBEntry_t | 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 |
Static Private Attributes | |
static const char *const | s_version = "5.0" |
typedef cond::Time_t popcon::PopCon::Time_t |
popcon::PopCon::PopCon | ( | const edm::ParameterSet & | pset | ) |
Definition at line 12 of file PopCon.cc.
References s_version.
|
virtual |
Definition at line 30 of file PopCon.cc.
References cond::persistency::Transaction::commit(), m_targetConnectionString, m_targetSession, and cond::persistency::Session::transaction().
|
private |
Definition at line 78 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 37 of file PopCon.cc.
References cond::persistency::ConnectionPool::configure(), cond::persistency::Session::connectionString(), cond::persistency::ConnectionPool::createSession(), Exception, cond::persistency::Session::existsIov(), cond::persistency::IOVProxy::getLast(), edm::Service< T >::isAvailable(), plotBeamSpotDB::last, cond::TagInfo_t::lastInterval, cond::TagInfo_t::lastPayloadToken, m_authPath, m_authSys, m_dbService, m_payload_name, m_record, m_tag, m_tagInfo, m_targetConnectionString, m_targetSession, cond::TagInfo_t::name, cond::Iov_t::payloadId, 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 123 of file PopCon.h.
References popcon::displayHelper(), popcon::displayIovHelper(), finalize(), initialize(), m_dbService, m_logDBEntry, m_LoggingOn, m_record, m_tagInfo, jets_cff::payload, tauJetCorrections_cff::payloads, alignCSCRings::s, s_version, cond::service::PoolDBOutputService::setLogHeaderForRecord(), source, and protons_cff::time.
Referenced by SiStripPopConDQMEDHarvester< SourceHandler >::dqmEndJob(), pkg.AbstractPkg::generate(), HcalSiPMParametersPopConAnalyzer::write(), HcalTPChannelParametersPopConAnalyzer::write(), HcalSiPMCharacteristicsPopConAnalyzer::write(), HcalTPParametersPopConAnalyzer::write(), ExTestEcalChannelStatusAnalyzer::write(), HcalFrontEndMapPopConAnalyzer::write(), CastorPedestalWidthsPopConAnalyzer::write(), HcalTimeCorrsPopConAnalyzer::write(), HcalFlagHFDigiTimeParamsPopConAnalyzer::write(), HcalGainsPopConAnalyzer::write(), HcalValidationCorrsPopConAnalyzer::write(), HcalRecoParamsPopConAnalyzer::write(), HcalQIETypesPopConAnalyzer::write(), HcalQIEDataPopConAnalyzer::write(), HcalPFCorrsPopConAnalyzer::write(), HcalPedestalWidthsPopConAnalyzer::write(), HcalPedestalsPopConAnalyzer::write(), HcalMCParamsPopConAnalyzer::write(), HcalElectronicsMapPopConAnalyzer::write(), HcalLUTCorrsPopConAnalyzer::write(), HcalLongRecoParamsPopConAnalyzer::write(), CastorElectronicsMapPopConAnalyzer::write(), HcalGainWidthsPopConAnalyzer::write(), HcalZSThresholdsPopConAnalyzer::write(), HcalTimingParamsPopConAnalyzer::write(), HcalRespCorrsPopConAnalyzer::write(), CastorChannelQualityPopConAnalyzer::write(), HcalDcsValuesPopConAnalyzer::write(), HcalDcsMapPopConAnalyzer::write(), HcalChannelQualityPopConAnalyzer::write(), HcalLutMetadataPopConAnalyzer::write(), CastorRecoParamsPopConAnalyzer::write(), CastorQIEDataPopConAnalyzer::write(), CastorPedestalsPopConAnalyzer::write(), HcalL1TriggerObjectsPopConAnalyzer::write(), CastorGainWidthsPopConAnalyzer::write(), CastorSaturationCorrsPopConAnalyzer::write(), CastorGainsPopConAnalyzer::write(), HcalZDCLowGainFractionsPopConAnalyzer::write(), popcon::PopConAnalyzer< HcalTPParametersHandler >::write(), and querying.connection::write_and_commit().
Definition at line 90 of file PopCon.h.
References m_dbService, m_LoggingOn, m_record, and cond::service::PoolDBOutputService::writeOne().
|
private |
Definition at line 65 of file PopCon.h.
Referenced by initialize().
|
private |
Definition at line 67 of file PopCon.h.
Referenced by initialize().
|
private |
Definition at line 81 of file PopCon.h.
Referenced by finalize().
|
private |
Definition at line 59 of file PopCon.h.
Referenced by finalize(), initialize(), write(), and writeOne().
|
private |
Definition at line 83 of file PopCon.h.
Referenced by finalize().
|
private |
|
private |
Definition at line 73 of file PopCon.h.
Referenced by write(), and writeOne().
|
private |
Definition at line 71 of file PopCon.h.
Referenced by initialize().
|
private |
Definition at line 69 of file PopCon.h.
Referenced by finalize(), initialize(), write(), and writeOne().
|
private |
Definition at line 75 of file PopCon.h.
Referenced by initialize().
|
private |
Definition at line 77 of file PopCon.h.
Referenced by initialize(), and write().
|
private |
Definition at line 63 of file PopCon.h.
Referenced by finalize(), initialize(), and ~PopCon().
|
private |
Definition at line 61 of file PopCon.h.
Referenced by finalize(), initialize(), and ~PopCon().