#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 constexpr 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 29 of file PopCon.cc.
References cond::persistency::Transaction::commit(), m_targetConnectionString, m_targetSession, and cond::persistency::Session::transaction().
|
private |
Definition at line 73 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 35 of file PopCon.cc.
References cond::persistency::ConnectionPool::configure(), cond::persistency::Session::connectionString(), cond::persistency::ConnectionPool::createSession(), Exception, cond::persistency::Session::existsDatabase(), cond::persistency::Session::existsIov(), cond::service::PoolDBOutputService::forceInit(), cond::persistency::IOVProxy::getLast(), edm::Service< T >::isAvailable(), cond::TagInfo_t::lastInterval, m_authPath, m_authSys, m_dbService, m_payload_name, m_record, m_tag, m_tagInfo, m_targetConnectionString, m_targetSession, cond::TagInfo_t::name, 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 107 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, runTheMatrix::ret, alignCSCRings::s, s_version, cond::service::PoolDBOutputService::setLogHeaderForRecord(), source, and ntuplemaker::time.
Referenced by SiStripPopConDQMEDHarvester< SourceHandler >::dqmEndJob(), pkg.AbstractPkg::generate(), ExTestEcalChannelStatusAnalyzer::write(), HcalSiPMCharacteristicsPopConAnalyzer::write(), HcalSiPMParametersPopConAnalyzer::write(), HcalTPChannelParametersPopConAnalyzer::write(), HcalTPParametersPopConAnalyzer::write(), HcalFrontEndMapPopConAnalyzer::write(), CastorPedestalWidthsPopConAnalyzer::write(), HcalTimeCorrsPopConAnalyzer::write(), HcalFlagHFDigiTimeParamsPopConAnalyzer::write(), HcalValidationCorrsPopConAnalyzer::write(), HcalL1TriggerObjectsPopConAnalyzer::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(), HcalGainsPopConAnalyzer::write(), CastorGainWidthsPopConAnalyzer::write(), CastorSaturationCorrsPopConAnalyzer::write(), CastorGainsPopConAnalyzer::write(), HcalZDCLowGainFractionsPopConAnalyzer::write(), popcon::PopConAnalyzer< HcalTPParametersHandler >::write(), and querying.connection::write_and_commit().
Definition at line 79 of file PopCon.h.
References m_dbService, m_record, jets_cff::payload, ntuplemaker::time, and cond::service::PoolDBOutputService::writeOne().
|
private |
Definition at line 55 of file PopCon.h.
Referenced by initialize().
|
private |
Definition at line 57 of file PopCon.h.
Referenced by initialize().
|
private |
Definition at line 71 of file PopCon.h.
Referenced by finalize().
|
private |
Definition at line 49 of file PopCon.h.
Referenced by finalize(), initialize(), write(), and writeOne().
|
private |
Definition at line 73 of file PopCon.h.
Referenced by finalize().
|
private |
|
private |
|
private |
Definition at line 61 of file PopCon.h.
Referenced by initialize().
|
private |
Definition at line 59 of file PopCon.h.
Referenced by finalize(), initialize(), write(), and 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(), and write().
|
private |
Definition at line 53 of file PopCon.h.
Referenced by finalize(), initialize(), and ~PopCon().
|
private |
Definition at line 51 of file PopCon.h.
Referenced by finalize(), initialize(), and ~PopCon().