#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) |
void | initialize () |
Private Attributes | |
bool | m_close |
edm::Service < cond::service::PoolDBOutputService > | m_dbService |
bool | m_IsDestDbCheckedInQueryLog |
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 |
typedef cond::Time_t popcon::PopCon::Time_t |
popcon::PopCon::PopCon | ( | const edm::ParameterSet & | pset | ) |
Definition at line 9 of file PopCon.cc.
|
private |
Definition at line 62 of file PopCon.cc.
References cond::service::PoolDBOutputService::closeIOV(), m_close, m_dbService, m_lastTill, and m_record.
Referenced by write().
|
private |
m_dbService->queryLog().LookupLastEntryByTag(m_tag, m_logDBEntry); if(m_IsDestDbCheckedInQueryLog) { m_dbService->queryLog().LookupLastEntryByTag(m_tag, connectionStr , m_logDBEntry); std::cout << " ------ log info searched in the same db: " << connectionStr << "------" <<std::endl; } else { m_dbService->queryLog().LookupLastEntryByTag(m_tag , m_logDBEntry); std::cout << " ------ log info found in another db " << "------" <<std::endl; }
Definition at line 28 of file PopCon.cc.
References cond::persistency::Session::connectionString(), edm::hlt::Exception, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), cond::TagInfo_t::lastInterval, m_dbService, m_payload_name, m_record, m_tag, m_tagInfo, cond::TagInfo_t::name, cond::service::PoolDBOutputService::session(), cond::TagInfo_t::size, AlCaHLTBitMon_QueryRunRegistry::string, cond::service::PoolDBOutputService::tag(), and cond::service::PoolDBOutputService::tagInfo().
Referenced by write().
void popcon::PopCon::write | ( | Source const & | source | ) |
Definition at line 117 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::session(), cond::service::PoolDBOutputService::setLogHeaderForRecord(), source, and cond::rpcobgas::time.
Referenced by pkg.AbstractPkg::generate(), ExTestEcalChannelStatusAnalyzer::write(), HcalFlagHFDigiTimeParamsPopConAnalyzer::write(), HcalZSThresholdsPopConAnalyzer::write(), HcalValidationCorrsPopConAnalyzer::write(), CastorElectronicsMapPopConAnalyzer::write(), HcalDcsValuesPopConAnalyzer::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(), HcalTimeCorrsPopConAnalyzer::write(), HcalTimingParamsPopConAnalyzer::write(), HcalDcsMapPopConAnalyzer::write(), HcalCovarianceMatricesPopConAnalyzer::write(), HcalCholeskyMatricesPopConAnalyzer::write(), HcalChannelQualityPopConAnalyzer::write(), CastorSaturationCorrsPopConAnalyzer::write(), CastorRecoParamsPopConAnalyzer::write(), HcalElectronicsMapPopConAnalyzer::write(), CastorPedestalWidthsPopConAnalyzer::write(), CastorPedestalsPopConAnalyzer::write(), CastorGainWidthsPopConAnalyzer::write(), CastorGainsPopConAnalyzer::write(), CastorChannelQualityPopConAnalyzer::write(), popcon::PopConAnalyzer< HcalPedestalWidthsHandler >::write(), and RPCDBPopConAnalyzer::write().
Definition at line 84 of file PopCon.h.
References m_dbService, m_LoggingOn, m_record, and cond::service::PoolDBOutputService::writeOne().
|
private |
Definition at line 76 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 77 of file PopCon.h.
Referenced by finalize().
|
private |
|
private |
Definition at line 66 of file PopCon.h.
Referenced by write(), and writeOne().
|
private |
Definition at line 64 of file PopCon.h.
Referenced by initialize().
|
private |
Definition at line 62 of file PopCon.h.
Referenced by finalize(), initialize(), write(), and writeOne().
|
private |
Definition at line 70 of file PopCon.h.
Referenced by initialize().
|
private |
Definition at line 72 of file PopCon.h.
Referenced by initialize(), and write().