#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 | convertFromOld () |
Summary * | dummySummary (typename OldContainer::value_type const &) const |
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 () |
void | sort () |
cond::TagInfo_t const & | tagInfo () const |
std::string const & | userTextLog () const |
virtual | ~PopConSourceHandler () |
Private Member Functions | |
void | addEmptyPayload (cond::Time_t iov) |
bool | getCTTPSData (cond::persistency::Session &session, const boost::posix_time::ptime &beginFillTime, const boost::posix_time::ptime &endFillTime) |
bool | getDipData (cond::persistency::Session &session, 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) |
bool | getFillData (cond::persistency::Session &session, unsigned short fillId) |
size_t | getLumiData (cond::persistency::Session &session, const boost::posix_time::ptime &beginFillTime, const boost::posix_time::ptime &endFillTime) |
bool | getNextFillData (cond::persistency::Session &session, const boost::posix_time::ptime &targetTime, bool ended) |
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::vector< std::shared_ptr< LHCInfo > > | m_payloadBuffer |
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::vector< Triplet > | Container |
typedef std::vector< std::pair< LHCInfo *, cond::Time_t > > | OldContainer |
typedef PopConSourceHandler< LHCInfo > | self |
typedef cond::Summary | Summary |
typedef cond::Time_t | Time_t |
typedef LHCInfo | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< LHCInfo > | |
int | add (value_type *payload, Summary *summary, Time_t time) |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< LHCInfo > | |
OldContainer | m_to_transfer |
std::string | m_userTextLog |
Definition at line 10 of file LHCInfoPopConSourceHandler.h.
LHCInfoPopConSourceHandler::LHCInfoPopConSourceHandler | ( | const edm::ParameterSet & | pset | ) |
Definition at line 21 of file LHCInfoPopConSourceHandler.cc.
References m_endTime, m_startTime, submitPVValidationJobs::now, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 49 of file LHCInfoPopConSourceHandler.cc.
|
private |
Definition at line 774 of file LHCInfoPopConSourceHandler.cc.
References popcon::PopConSourceHandler< LHCInfo >::add(), LHCInfo::fillNumber(), m_lastPayloadEmpty, m_payloadBuffer, m_prevPayload, and popcon::PopConSourceHandler< LHCInfo >::m_to_transfer.
Referenced by getNewObjects().
|
private |
Definition at line 533 of file LHCInfoPopConSourceHandler.cc.
References cond::persistency::Session::coralSession(), ALCARECOTkAlBeamHalo_cff::filter, cond::time::from_boost(), m_debug, m_tmpBuffer, jets_cff::payload, runTheMatrix::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getNewObjects().
|
private |
Definition at line 390 of file LHCInfoPopConSourceHandler.cc.
References LHCInfo::availableBunchSlots, cond::persistency::Session::coralSession(), cond::time::from_boost(), m_debug, m_dipSchema, m_fillPayload, or, runTheMatrix::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getNewObjects().
|
private |
Definition at line 668 of file LHCInfoPopConSourceHandler.cc.
References ECAL, ALCARECOTkAlBeamHalo_cff::filter, cond::time::from_boost(), CommonMethods::isnan(), m_debug, m_name, m_prevPayload, m_tmpBuffer, cond::persistency::Session::nominalSchema(), jets_cff::payload, runTheMatrix::ret, LHCInfoImpl::setElementData(), AlCaHLTBitMon_QueryRunRegistry::string, ntuplemaker::time, cond::time::to_boost(), and update.
Referenced by getNewObjects().
|
private |
Definition at line 251 of file LHCInfoPopConSourceHandler.cc.
References m_debug, m_fillPayload, LHCInfoImpl::makeFillDataQuery(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getNewObjects().
|
private |
Definition at line 260 of file LHCInfoPopConSourceHandler.cc.
References cond::time::from_boost(), muonGEMDigis_cfi::instLumi, m_fillPayload, m_tmpBuffer, cond::persistency::Session::nominalSchema(), jets_cff::payload, writeEcalDQMStatus::since, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getNewObjects().
|
overridevirtual |
Implements popcon::PopConSourceHandler< LHCInfo >.
Definition at line 847 of file LHCInfoPopConSourceHandler.cc.
References addEmptyPayload(), cond::persistency::Transaction::commit(), cond::persistency::ConnectionPool::configure(), cond::persistency::ConnectionPool::createSession(), popcon::PopConSourceHandler< LHCInfo >::dbSession(), Debug, cond::persistency::Session::fetchPayload(), cond::time::from_boost(), getCTTPSData(), getDipData(), getEcalData(), getFillData(), getLumiData(), getNextFillData(), cond::TagInfo_t::lastInterval, m_authpath, m_connectionString, m_debug, m_ecalConnectionString, m_endFill, m_fillPayload, m_name, m_payloadBuffer, m_prevPayload, m_startTime, m_tmpBuffer, popcon::PopConSourceHandler< LHCInfo >::m_to_transfer, Skims_PA_cff::name, cond::TagInfo_t::name, cond::Iov_t::payloadId, cond::persistency::ConnectionPool::setAuthenticationPath(), cond::persistency::ConnectionPool::setMessageVerbosity(), cond::Iov_t::since, cond::TagInfo_t::size, cond::persistency::Transaction::start(), popcon::PopConSourceHandler< LHCInfo >::tagInfo(), cond::time::to_boost(), cond::persistency::Session::transaction(), and LHCInfoImpl::transferPayloads().
|
private |
Definition at line 235 of file LHCInfoPopConSourceHandler.cc.
References m_debug, m_fillPayload, LHCInfoImpl::makeFillDataQuery(), seconds(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getNewObjects().
|
overridevirtual |
Implements popcon::PopConSourceHandler< LHCInfo >.
Definition at line 978 of file LHCInfoPopConSourceHandler.cc.
References m_name.
|
private |
Definition at line 46 of file LHCInfoPopConSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 45 of file LHCInfoPopConSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 36 of file LHCInfoPopConSourceHandler.h.
Referenced by getCTTPSData(), getDipData(), getEcalData(), getFillData(), getNewObjects(), and getNextFillData().
|
private |
Definition at line 46 of file LHCInfoPopConSourceHandler.h.
Referenced by getDipData().
|
private |
Definition at line 45 of file LHCInfoPopConSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 42 of file LHCInfoPopConSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 39 of file LHCInfoPopConSourceHandler.h.
Referenced by LHCInfoPopConSourceHandler().
|
private |
Definition at line 47 of file LHCInfoPopConSourceHandler.h.
Referenced by getDipData(), getFillData(), getLumiData(), getNewObjects(), and getNextFillData().
|
private |
Definition at line 51 of file LHCInfoPopConSourceHandler.h.
Referenced by addEmptyPayload().
|
private |
Definition at line 43 of file LHCInfoPopConSourceHandler.h.
Referenced by getEcalData(), getNewObjects(), and id().
|
private |
Definition at line 50 of file LHCInfoPopConSourceHandler.h.
Referenced by addEmptyPayload(), and getNewObjects().
|
private |
Definition at line 48 of file LHCInfoPopConSourceHandler.h.
Referenced by addEmptyPayload(), getEcalData(), and getNewObjects().
|
private |
Definition at line 41 of file LHCInfoPopConSourceHandler.h.
|
private |
Definition at line 38 of file LHCInfoPopConSourceHandler.h.
Referenced by getNewObjects(), and LHCInfoPopConSourceHandler().
|
private |
Definition at line 49 of file LHCInfoPopConSourceHandler.h.
Referenced by getCTTPSData(), getEcalData(), getLumiData(), and getNewObjects().