#include <LHCInfoPopConSourceHandler.h>
Public Member Functions | |
void | getNewObjects () override |
std::string | id () const override |
LHCInfoPopConSourceHandler (const edm::ParameterSet &pset) | |
~LHCInfoPopConSourceHandler () override | |
Public Member Functions inherited from popcon::PopConSourceHandler< LHCInfo > | |
void | initialize (const cond::persistency::Session &dbSession, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry) |
Ref | lastPayload () const |
cond::LogDBEntry_t const & | logDBEntry () const |
std::pair< Container const *, std::string const > | operator() (const cond::persistency::Session &session, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry) const |
PopConSourceHandler () | |
Container const & | returnData () |
cond::TagInfo_t const & | tagInfo () const |
std::string const & | userTextLog () const |
virtual | ~PopConSourceHandler () |
Static Public Attributes | |
static constexpr unsigned int | kLumisectionsQueryLimit = 4000 |
Private Member Functions | |
void | addEmptyPayload (cond::Time_t iov) |
bool | getCTPPSData (cond::persistency::Session &session, const boost::posix_time::ptime &beginFillTime, const boost::posix_time::ptime &endFillTime) |
void | getDipData (const cond::OMSService &service, const boost::posix_time::ptime &beginFillTime, const boost::posix_time::ptime &endFillTime) |
bool | getEcalData (cond::persistency::Session &session, const boost::posix_time::ptime &lowerTime, const boost::posix_time::ptime &upperTime, bool update) |
size_t | getLumiData (const cond::OMSService &service, unsigned short fillId, const boost::posix_time::ptime &beginFillTime, const boost::posix_time::ptime &endFillTime) |
Private Attributes | |
std::string | m_authpath |
std::string | m_connectionString |
bool | m_debug |
std::string | m_dipSchema |
std::string | m_ecalConnectionString |
bool | m_endFill = true |
boost::posix_time::ptime | m_endTime |
std::unique_ptr< LHCInfo > | m_fillPayload |
bool | m_lastPayloadEmpty = false |
std::string | m_name |
std::string | m_omsBaseUrl |
std::shared_ptr< LHCInfo > | m_prevPayload |
unsigned int | m_samplingInterval |
boost::posix_time::ptime | m_startTime |
std::vector< std::pair< cond::Time_t, std::shared_ptr< LHCInfo > > > | m_tmpBuffer |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< LHCInfo > | |
typedef std::map< Time_t, std::shared_ptr< LHCInfo > > | Container |
typedef std::unique_ptr< LHCInfo > | Ref |
typedef PopConSourceHandler< LHCInfo > | self |
typedef cond::Time_t | Time_t |
typedef LHCInfo | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< LHCInfo > | |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< LHCInfo > | |
Container | m_iovs |
std::vector< std::pair< LHCInfo *, Time_t > > | m_to_transfer |
std::string | m_userTextLog |
Definition at line 14 of file LHCInfoPopConSourceHandler.h.
LHCInfoPopConSourceHandler::LHCInfoPopConSourceHandler | ( | const edm::ParameterSet & | pset | ) |
Definition at line 65 of file LHCInfoPopConSourceHandler.cc.
References m_endTime, m_startTime, submitPVValidationJobs::now, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 93 of file LHCInfoPopConSourceHandler.cc.
|
private |
Definition at line 479 of file LHCInfoPopConSourceHandler.cc.
References PVValHelper::add(), popcon::PopConSourceHandler< LHCInfo >::m_iovs, m_lastPayloadEmpty, and m_prevPayload.
Referenced by getNewObjects().
|
private |
Definition at line 243 of file LHCInfoPopConSourceHandler.cc.
References cond::persistency::Session::coralSession(), ALCARECOTkAlBeamHalo_cff::filter, cond::time::from_boost(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, m_debug, m_tmpBuffer, jetsAK4_Puppi_cff::payload, runTheMatrix::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getNewObjects().
|
private |
Definition at line 181 of file LHCInfoPopConSourceHandler.cc.
References m_fillPayload, cond::OMSService::query(), and FCDTask_cfi::slot.
Referenced by getNewObjects().
|
private |
Definition at line 373 of file LHCInfoPopConSourceHandler.cc.
References ECAL, ALCARECOTkAlBeamHalo_cff::filter, cond::time::from_boost(), CommonMethods::isnan(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, m_debug, m_name, m_prevPayload, m_tmpBuffer, cond::persistency::Session::nominalSchema(), jetsAK4_Puppi_cff::payload, runTheMatrix::ret, theLHCInfoImpl::setElementData(), AlCaHLTBitMon_QueryRunRegistry::string, hcalRecHitTable_cff::time, cond::time::to_boost(), and update.
Referenced by getNewObjects().
|
private |
Definition at line 154 of file LHCInfoPopConSourceHandler.cc.
References cond::time::from_boost(), kLumisectionsQueryLimit, cond::time::lumiTime(), m_fillPayload, m_tmpBuffer, jetsAK4_Puppi_cff::payload, cond::OMSService::query(), and alignCSCRings::r.
Referenced by getNewObjects().
|
overridevirtual |
Implements popcon::PopConSourceHandler< LHCInfo >.
Definition at line 536 of file LHCInfoPopConSourceHandler.cc.
References addEmptyPayload(), cond::persistency::Transaction::commit(), cond::persistency::ConnectionPool::configure(), cond::OMSService::connect(), cond::persistency::ConnectionPool::createSession(), popcon::PopConSourceHandler< LHCInfo >::dbSession(), Debug, cond::persistency::Session::fetchPayload(), cond::time::from_boost(), getCTPPSData(), getDipData(), getEcalData(), getLumiData(), cond::TagInfo_t::lastInterval, m_authpath, m_connectionString, m_debug, m_ecalConnectionString, m_endFill, m_endTime, m_fillPayload, popcon::PopConSourceHandler< LHCInfo >::m_iovs, m_name, m_omsBaseUrl, m_prevPayload, m_startTime, m_tmpBuffer, theLHCInfoImpl::makeFillPayload(), cond::TagInfo_t::name, cond::Iov_t::payloadId, cond::OMSService::query(), cond::persistency::ConnectionPool::setAuthenticationPath(), cond::persistency::ConnectionPool::setMessageVerbosity(), cond::Iov_t::since, cond::TagInfo_t::size, findQualityFiles::size, cond::persistency::Transaction::start(), popcon::PopConSourceHandler< LHCInfo >::tagInfo(), cond::time::to_boost(), cond::persistency::Session::transaction(), and theLHCInfoImpl::transferPayloads().
|
overridevirtual |
Implements popcon::PopConSourceHandler< LHCInfo >.
Definition at line 683 of file LHCInfoPopConSourceHandler.cc.
References m_name.
|
static |
Definition at line 21 of file LHCInfoPopConSourceHandler.h.
Referenced by getLumiData().
|
private |
Definition at line 52 of file LHCInfoPopConSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 51 of file LHCInfoPopConSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 42 of file LHCInfoPopConSourceHandler.h.
Referenced by getCTPPSData(), getEcalData(), and getNewObjects().
|
private |
Definition at line 52 of file LHCInfoPopConSourceHandler.h.
|
private |
Definition at line 51 of file LHCInfoPopConSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 48 of file LHCInfoPopConSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 45 of file LHCInfoPopConSourceHandler.h.
Referenced by getNewObjects(), and LHCInfoPopConSourceHandler().
|
private |
Definition at line 54 of file LHCInfoPopConSourceHandler.h.
Referenced by getDipData(), getLumiData(), and getNewObjects().
|
private |
Definition at line 57 of file LHCInfoPopConSourceHandler.h.
Referenced by addEmptyPayload().
|
private |
Definition at line 49 of file LHCInfoPopConSourceHandler.h.
Referenced by getEcalData(), getNewObjects(), and id().
|
private |
Definition at line 53 of file LHCInfoPopConSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 55 of file LHCInfoPopConSourceHandler.h.
Referenced by addEmptyPayload(), getEcalData(), and getNewObjects().
|
private |
Definition at line 47 of file LHCInfoPopConSourceHandler.h.
|
private |
Definition at line 44 of file LHCInfoPopConSourceHandler.h.
Referenced by getNewObjects(), and LHCInfoPopConSourceHandler().
|
private |
Definition at line 56 of file LHCInfoPopConSourceHandler.h.
Referenced by getCTPPSData(), getEcalData(), getLumiData(), and getNewObjects().