Public Member Functions | |
void | getNewObjects () override |
std::string | id () const override |
LHCInfoPerLSPopConSourceHandler (edm::ParameterSet const &pset) | |
~LHCInfoPerLSPopConSourceHandler () override=default | |
Public Member Functions inherited from popcon::PopConSourceHandler< LHCInfoPerLS > | |
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) |
void | addPayloadToBuffer (cond::OMSServiceResultRef &row) |
size_t | bufferAllLS (const cond::OMSServiceResult &queryResult) |
size_t | bufferFirstStableBeamLS (const cond::OMSServiceResult &queryResult) |
bool | getCTTPSData (cond::persistency::Session &session, const boost::posix_time::ptime &beginFillTime, const boost::posix_time::ptime &endFillTime) |
size_t | getLumiData (const cond::OMSService &oms, unsigned short fillId, const boost::posix_time::ptime &beginFillTime, const boost::posix_time::ptime &endFillTime) |
bool | makeFillPayload (std::unique_ptr< LHCInfoPerLS > &targetPayload, const cond::OMSServiceResult &queryResult) |
Private Attributes | |
std::string | m_authpath |
std::string | m_connectionString |
bool | m_debug |
std::string | m_dipSchema |
std::string | m_ecalConnectionString |
bool | m_endFillMode = true |
cond::Time_t | m_endFillTime |
boost::posix_time::ptime | m_endTime |
std::unique_ptr< LHCInfoPerLS > | m_fillPayload |
bool | m_lastPayloadEmpty = false |
std::string | m_name |
std::string | m_omsBaseUrl |
cond::Time_t | m_prevEndFillTime |
std::shared_ptr< LHCInfoPerLS > | m_prevPayload |
cond::Time_t | m_prevStartFillTime |
unsigned int | m_samplingInterval |
cond::Time_t | m_startFillTime |
boost::posix_time::ptime | m_startTime |
std::vector< std::pair< cond::Time_t, std::shared_ptr< LHCInfoPerLS > > > | m_tmpBuffer |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< LHCInfoPerLS > | |
typedef std::map< Time_t, std::shared_ptr< LHCInfoPerLS > > | Container |
typedef std::unique_ptr< LHCInfoPerLS > | Ref |
typedef PopConSourceHandler< LHCInfoPerLS > | self |
typedef cond::Time_t | Time_t |
typedef LHCInfoPerLS | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< LHCInfoPerLS > | |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< LHCInfoPerLS > | |
Container | m_iovs |
std::vector< std::pair< LHCInfoPerLS *, Time_t > > | m_to_transfer |
std::string | m_userTextLog |
Definition at line 75 of file LHCInfoPerLSPopConAnalyzer.cc.
|
inline |
Definition at line 77 of file LHCInfoPerLSPopConAnalyzer.cc.
References m_endTime, m_startTime, submitPVValidationJobs::now, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridedefault |
|
inlineprivate |
Definition at line 280 of file LHCInfoPerLSPopConAnalyzer.cc.
References PVValHelper::add(), popcon::PopConSourceHandler< LHCInfoPerLS >::m_iovs, m_lastPayloadEmpty, m_name, m_prevEndFillTime, m_prevPayload, m_prevStartFillTime, and cond::time::to_boost().
Referenced by getNewObjects().
|
inlineprivate |
Definition at line 316 of file LHCInfoPerLSPopConAnalyzer.cc.
References cond::time::from_boost(), cond::OMSServiceResultRef::get(), cond::time::lumiTime(), m_fillPayload, and m_tmpBuffer.
Referenced by bufferAllLS(), bufferFirstStableBeamLS(), and getLumiData().
|
inlineprivate |
Definition at line 322 of file LHCInfoPerLSPopConAnalyzer.cc.
References addPayloadToBuffer(), and alignCSCRings::r.
Referenced by getLumiData().
|
inlineprivate |
Definition at line 329 of file LHCInfoPerLSPopConAnalyzer.cc.
References addPayloadToBuffer(), m_name, alignCSCRings::r, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineprivate |
Definition at line 372 of file LHCInfoPerLSPopConAnalyzer.cc.
References cond::persistency::Session::coralSession(), ALCARECOTkAlBeamHalo_cff::filter, cond::time::from_boost(), m_debug, m_tmpBuffer, jetsAK4_Puppi_cff::payload, runTheMatrix::ret, convertSQLiteXML::runNumber, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getNewObjects().
|
inlineprivate |
Definition at line 342 of file LHCInfoPerLSPopConAnalyzer.cc.
References addPayloadToBuffer(), bufferAllLS(), kLumisectionsQueryLimit, m_endFillMode, m_name, cond::OMSService::query(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getNewObjects().
|
inlineoverridevirtual |
Implements popcon::PopConSourceHandler< LHCInfoPerLS >.
Definition at line 105 of file LHCInfoPerLSPopConAnalyzer.cc.
References addEmptyPayload(), cond::persistency::Transaction::commit(), cond::persistency::ConnectionPool::configure(), cond::OMSService::connect(), cond::persistency::ConnectionPool::createSession(), popcon::PopConSourceHandler< LHCInfoPerLS >::dbSession(), Debug, cond::persistency::Session::fetchPayload(), cond::time::from_boost(), getCTTPSData(), getLumiData(), cond::TagInfo_t::lastInterval, m_authpath, m_connectionString, m_debug, m_endFillMode, m_endFillTime, m_endTime, m_fillPayload, popcon::PopConSourceHandler< LHCInfoPerLS >::m_iovs, m_name, m_omsBaseUrl, m_prevEndFillTime, m_prevPayload, m_prevStartFillTime, m_startFillTime, m_startTime, m_tmpBuffer, makeFillPayload(), cond::TagInfo_t::name, cond::Iov_t::payloadId, cond::OMSService::query(), mps_fire::result, cond::persistency::ConnectionPool::setAuthenticationPath(), cond::persistency::ConnectionPool::setMessageVerbosity(), cond::Iov_t::since, cond::TagInfo_t::size, findQualityFiles::size, cond::persistency::Transaction::start(), popcon::PopConSourceHandler< LHCInfoPerLS >::tagInfo(), cond::time::to_boost(), cond::persistency::Session::transaction(), and theLHCInfoPerLSImpl::transferPayloads().
|
inlineoverridevirtual |
Implements popcon::PopConSourceHandler< LHCInfoPerLS >.
Definition at line 275 of file LHCInfoPerLSPopConAnalyzer.cc.
References m_name.
|
inlineprivate |
Definition at line 302 of file LHCInfoPerLSPopConAnalyzer.cc.
References cond::OMSServiceResult::begin(), cond::OMSServiceResult::empty(), cond::time::from_boost(), m_endFillTime, m_startFillTime, and runTheMatrix::ret.
Referenced by getNewObjects().
|
static |
Definition at line 277 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getLumiData().
|
private |
Definition at line 483 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getNewObjects().
|
private |
Definition at line 482 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getNewObjects().
|
private |
Definition at line 473 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getCTTPSData(), and getNewObjects().
|
private |
Definition at line 483 of file LHCInfoPerLSPopConAnalyzer.cc.
|
private |
Definition at line 482 of file LHCInfoPerLSPopConAnalyzer.cc.
|
private |
Definition at line 479 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getLumiData(), and getNewObjects().
|
private |
Definition at line 488 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getNewObjects(), and makeFillPayload().
|
private |
Definition at line 476 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getNewObjects(), and LHCInfoPerLSPopConSourceHandler().
|
private |
Definition at line 485 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by addPayloadToBuffer(), and getNewObjects().
|
private |
Definition at line 492 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by addEmptyPayload().
|
private |
Definition at line 480 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by addEmptyPayload(), bufferFirstStableBeamLS(), getLumiData(), getNewObjects(), and id().
|
private |
Definition at line 484 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getNewObjects().
|
private |
Definition at line 489 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by addEmptyPayload(), and getNewObjects().
|
private |
Definition at line 486 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by addEmptyPayload(), and getNewObjects().
|
private |
Definition at line 490 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by addEmptyPayload(), and getNewObjects().
|
private |
Definition at line 478 of file LHCInfoPerLSPopConAnalyzer.cc.
|
private |
Definition at line 487 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getNewObjects(), and makeFillPayload().
|
private |
Definition at line 475 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getNewObjects(), and LHCInfoPerLSPopConSourceHandler().
|
private |
Definition at line 491 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by addPayloadToBuffer(), getCTTPSData(), and getNewObjects().