Public Member Functions | |
void | getNewObjects () override |
std::string | id () const override |
LHCInfoPerFillPopConSourceHandler (edm::ParameterSet const &pset) | |
~LHCInfoPerFillPopConSourceHandler () override=default | |
Public Member Functions inherited from popcon::PopConSourceHandler< LHCInfoPerFill > | |
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) |
bool | getCTTPSData (cond::persistency::Session &session, const boost::posix_time::ptime &beginFillTime, const boost::posix_time::ptime &endFillTime) |
void | getDipData (const cond::OMSService &oms, 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 &oms, 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_endFillMode = true |
boost::posix_time::ptime | m_endTime |
std::unique_ptr< LHCInfoPerFill > | m_fillPayload |
bool | m_lastPayloadEmpty = false |
std::string | m_name |
std::string | m_omsBaseUrl |
std::shared_ptr< LHCInfoPerFill > | m_prevPayload |
unsigned int | m_samplingInterval |
boost::posix_time::ptime | m_startTime |
std::vector< std::pair< cond::Time_t, std::shared_ptr< LHCInfoPerFill > > > | m_tmpBuffer |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< LHCInfoPerFill > | |
typedef std::map< Time_t, std::shared_ptr< LHCInfoPerFill > > | Container |
typedef std::unique_ptr< LHCInfoPerFill > | Ref |
typedef PopConSourceHandler< LHCInfoPerFill > | self |
typedef cond::Time_t | Time_t |
typedef LHCInfoPerFill | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< LHCInfoPerFill > | |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< LHCInfoPerFill > | |
Container | m_iovs |
std::vector< std::pair< LHCInfoPerFill *, Time_t > > | m_to_transfer |
std::string | m_userTextLog |
Definition at line 206 of file LHCInfoPerFillPopConAnalyzer.cc.
|
inline |
Definition at line 208 of file LHCInfoPerFillPopConAnalyzer.cc.
References m_endTime, m_startTime, submitPVValidationJobs::now, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridedefault |
|
inlineprivate |
Definition at line 379 of file LHCInfoPerFillPopConAnalyzer.cc.
References PVValHelper::add(), popcon::PopConSourceHandler< LHCInfoPerFill >::m_iovs, m_lastPayloadEmpty, m_name, m_prevPayload, and cond::time::to_boost().
Referenced by getNewObjects().
|
inlineprivate |
Definition at line 399 of file LHCInfoPerFillPopConAnalyzer.cc.
References cond::time::from_boost(), cond::OMSServiceResultRef::get(), cond::time::lumiTime(), m_fillPayload, m_tmpBuffer, and jetsAK4_Puppi_cff::payload.
Referenced by getLumiData().
|
inlineprivate |
Definition at line 503 of file LHCInfoPerFillPopConAnalyzer.cc.
References cond::persistency::Session::coralSession(), ALCARECOTkAlBeamHalo_cff::filter, cond::time::from_boost(), m_debug, m_name, m_tmpBuffer, jetsAK4_Puppi_cff::payload, runTheMatrix::ret, convertSQLiteXML::runNumber, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getNewObjects().
|
inlineprivate |
Definition at line 441 of file LHCInfoPerFillPopConAnalyzer.cc.
References m_fillPayload, and cond::OMSService::query().
Referenced by getNewObjects().
|
inlineprivate |
Definition at line 610 of file LHCInfoPerFillPopConAnalyzer.cc.
References ECAL, ALCARECOTkAlBeamHalo_cff::filter, cond::time::from_boost(), CommonMethods::isnan(), m_debug, m_name, m_prevPayload, m_tmpBuffer, cond::persistency::Session::nominalSchema(), jetsAK4_Puppi_cff::payload, runTheMatrix::ret, theLHCInfoPerFillImpl::setElementData(), AlCaHLTBitMon_QueryRunRegistry::string, protons_cff::time, cond::time::to_boost(), and update.
Referenced by getNewObjects().
|
inlineprivate |
Definition at line 410 of file LHCInfoPerFillPopConAnalyzer.cc.
References addPayloadToBuffer(), kLumisectionsQueryLimit, m_endFillMode, m_name, and cond::OMSService::query().
Referenced by getNewObjects().
|
inlineoverridevirtual |
Implements popcon::PopConSourceHandler< LHCInfoPerFill >.
Definition at line 237 of file LHCInfoPerFillPopConAnalyzer.cc.
References addEmptyPayload(), cond::persistency::Transaction::commit(), cond::persistency::ConnectionPool::configure(), cond::OMSService::connect(), cond::persistency::ConnectionPool::createSession(), popcon::PopConSourceHandler< LHCInfoPerFill >::dbSession(), Debug, cond::persistency::Session::fetchPayload(), cond::time::from_boost(), getCTTPSData(), getDipData(), getEcalData(), getLumiData(), cond::TagInfo_t::lastInterval, m_authpath, m_connectionString, m_debug, m_ecalConnectionString, m_endFillMode, m_endTime, m_fillPayload, popcon::PopConSourceHandler< LHCInfoPerFill >::m_iovs, m_name, m_omsBaseUrl, m_prevPayload, m_startTime, m_tmpBuffer, theLHCInfoPerFillImpl::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< LHCInfoPerFill >::tagInfo(), cond::time::to_boost(), cond::persistency::Session::transaction(), and theLHCInfoPerFillImpl::transferPayloads().
|
inlineoverridevirtual |
Implements popcon::PopConSourceHandler< LHCInfoPerFill >.
Definition at line 374 of file LHCInfoPerFillPopConAnalyzer.cc.
References m_name.
|
static |
Definition at line 376 of file LHCInfoPerFillPopConAnalyzer.cc.
Referenced by getLumiData().
|
private |
Definition at line 730 of file LHCInfoPerFillPopConAnalyzer.cc.
Referenced by getNewObjects().
|
private |
Definition at line 729 of file LHCInfoPerFillPopConAnalyzer.cc.
Referenced by getNewObjects().
|
private |
Definition at line 720 of file LHCInfoPerFillPopConAnalyzer.cc.
Referenced by getCTTPSData(), getEcalData(), and getNewObjects().
|
private |
Definition at line 730 of file LHCInfoPerFillPopConAnalyzer.cc.
|
private |
Definition at line 729 of file LHCInfoPerFillPopConAnalyzer.cc.
Referenced by getNewObjects().
|
private |
Definition at line 726 of file LHCInfoPerFillPopConAnalyzer.cc.
Referenced by getLumiData(), and getNewObjects().
|
private |
Definition at line 723 of file LHCInfoPerFillPopConAnalyzer.cc.
Referenced by getNewObjects(), and LHCInfoPerFillPopConSourceHandler().
|
private |
Definition at line 732 of file LHCInfoPerFillPopConAnalyzer.cc.
Referenced by addPayloadToBuffer(), getDipData(), and getNewObjects().
|
private |
Definition at line 735 of file LHCInfoPerFillPopConAnalyzer.cc.
Referenced by addEmptyPayload().
|
private |
Definition at line 727 of file LHCInfoPerFillPopConAnalyzer.cc.
Referenced by addEmptyPayload(), getCTTPSData(), getEcalData(), getLumiData(), getNewObjects(), and id().
|
private |
Definition at line 731 of file LHCInfoPerFillPopConAnalyzer.cc.
Referenced by getNewObjects().
|
private |
Definition at line 733 of file LHCInfoPerFillPopConAnalyzer.cc.
Referenced by addEmptyPayload(), getEcalData(), and getNewObjects().
|
private |
Definition at line 725 of file LHCInfoPerFillPopConAnalyzer.cc.
|
private |
Definition at line 722 of file LHCInfoPerFillPopConAnalyzer.cc.
Referenced by getNewObjects(), and LHCInfoPerFillPopConSourceHandler().
|
private |
Definition at line 734 of file LHCInfoPerFillPopConAnalyzer.cc.
Referenced by addPayloadToBuffer(), getCTTPSData(), getEcalData(), and getNewObjects().