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 | getCTPPSData (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 |
bool | m_endFillMode = true |
cond::Time_t | m_endFillTime |
cond::Time_t | m_endStableBeamTime |
boost::posix_time::ptime | m_endTime |
std::unique_ptr< LHCInfoPerLS > | m_fillPayload |
bool | m_lastPayloadEmpty = false |
std::map< pair< cond::Time_t, unsigned int >, pair< cond::Time_t, unsigned int > > | m_lsIdMap |
std::string | m_name |
std::string | m_omsBaseUrl |
cond::Time_t | m_prevEndFillTime |
std::shared_ptr< LHCInfoPerLS > | m_prevPayload |
cond::Time_t | m_prevStartFillTime |
cond::Time_t | m_startFillTime |
cond::Time_t | m_startStableBeamTime |
boost::posix_time::ptime | m_startTime |
std::vector< 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 123 of file LHCInfoPerLSPopConAnalyzer.cc.
|
inline |
Definition at line 125 of file LHCInfoPerLSPopConAnalyzer.cc.
References m_endTime, m_startTime, submitPVValidationJobs::now, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridedefault |
|
inlineprivate |
Definition at line 339 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 379 of file LHCInfoPerLSPopConAnalyzer.cc.
References cond::time::from_boost(), cond::OMSServiceResultRef::get(), cond::time::lumiTime(), m_endFillMode, m_fillPayload, m_lsIdMap, m_tmpBuffer, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by bufferAllLS(), bufferFirstStableBeamLS(), and getLumiData().
|
inlineprivate |
Definition at line 394 of file LHCInfoPerLSPopConAnalyzer.cc.
References addPayloadToBuffer(), and alignCSCRings::r.
Referenced by getLumiData().
|
inlineprivate |
Definition at line 401 of file LHCInfoPerLSPopConAnalyzer.cc.
References addPayloadToBuffer(), m_name, alignCSCRings::r, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineprivate |
Definition at line 445 of file LHCInfoPerLSPopConAnalyzer.cc.
References cond::persistency::Session::coralSession(), m_debug, m_lsIdMap, m_tmpBuffer, jetsAK4_Puppi_cff::payload, runTheMatrix::ret, convertSQLiteXML::runNumber, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getNewObjects().
|
inlineprivate |
Definition at line 414 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 151 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(), getCTPPSData(), cond::lhcInfoHelper::getFillLastLumiIOV(), getLumiData(), cond::TagInfo_t::lastInterval, cond::time::lumiTime(), m_authpath, m_connectionString, m_debug, m_endFillMode, m_endFillTime, m_endStableBeamTime, m_endTime, m_fillPayload, popcon::PopConSourceHandler< LHCInfoPerLS >::m_iovs, m_lsIdMap, m_name, m_omsBaseUrl, m_prevEndFillTime, m_prevPayload, m_prevStartFillTime, m_startFillTime, m_startStableBeamTime, m_startTime, m_tmpBuffer, makeFillPayload(), SiStripPI::max, 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(), AlCaHLTBitMon_QueryRunRegistry::string, popcon::PopConSourceHandler< LHCInfoPerLS >::tagInfo(), cond::time::to_boost(), cond::persistency::Session::transaction(), and theLHCInfoPerLSImpl::transferPayloads().
|
inlineoverridevirtual |
Implements popcon::PopConSourceHandler< LHCInfoPerLS >.
Definition at line 334 of file LHCInfoPerLSPopConAnalyzer.cc.
References m_name.
|
inlineprivate |
Definition at line 361 of file LHCInfoPerLSPopConAnalyzer.cc.
References cond::OMSServiceResult::begin(), cond::OMSServiceResult::empty(), cond::time::from_boost(), m_endFillTime, m_endStableBeamTime, m_startFillTime, m_startStableBeamTime, runTheMatrix::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getNewObjects().
|
static |
Definition at line 336 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getLumiData().
|
private |
Definition at line 574 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getNewObjects().
|
private |
Definition at line 573 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getNewObjects().
|
private |
Definition at line 566 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getCTPPSData(), and getNewObjects().
|
private |
Definition at line 570 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by addPayloadToBuffer(), getLumiData(), and getNewObjects().
|
private |
Definition at line 579 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getNewObjects(), and makeFillPayload().
|
private |
Definition at line 583 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getNewObjects(), and makeFillPayload().
|
private |
Definition at line 569 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getNewObjects(), and LHCInfoPerLSPopConSourceHandler().
|
private |
Definition at line 576 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by addPayloadToBuffer(), and getNewObjects().
|
private |
Definition at line 585 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by addEmptyPayload().
|
private |
Definition at line 588 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by addPayloadToBuffer(), getCTPPSData(), and getNewObjects().
|
private |
Definition at line 571 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by addEmptyPayload(), bufferFirstStableBeamLS(), getLumiData(), getNewObjects(), and id().
|
private |
Definition at line 575 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getNewObjects().
|
private |
Definition at line 580 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by addEmptyPayload(), and getNewObjects().
|
private |
Definition at line 577 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by addEmptyPayload(), and getNewObjects().
|
private |
Definition at line 581 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by addEmptyPayload(), and getNewObjects().
|
private |
Definition at line 578 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getNewObjects(), and makeFillPayload().
|
private |
Definition at line 582 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getNewObjects(), and makeFillPayload().
|
private |
Definition at line 568 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by getNewObjects(), and LHCInfoPerLSPopConSourceHandler().
|
private |
Definition at line 584 of file LHCInfoPerLSPopConAnalyzer.cc.
Referenced by addPayloadToBuffer(), getCTPPSData(), and getNewObjects().