#include <PopConBTransitionSourceHandler.h>
Public Member Functions | |
bool | checkBOn () |
void | getNewObjects () final |
virtual void | getObjectsForBTransition (bool isBOn) |
std::string | id () const final |
PopConBTransitionSourceHandler (edm::ParameterSet const &pset) | |
~PopConBTransitionSourceHandler () override | |
Public Member Functions inherited from popcon::PopConSourceHandler< T > | |
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 () |
Private Attributes | |
cond::persistency::ConnectionPool | m_connection |
edm::ParameterSet | m_connectionPset |
std::string | m_connectionString |
double | m_currentThreshold |
unsigned long long | m_run |
std::string | m_tagForBOff |
std::string | m_tagForBOn |
std::string | m_tagForRunInfo |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< T > | |
typedef std::map< Time_t, std::shared_ptr< T > > | Container |
typedef std::unique_ptr< T > | Ref |
typedef PopConSourceHandler< T > | self |
typedef cond::Time_t | Time_t |
typedef T | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< T > | |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< T > | |
Container | m_iovs |
std::vector< std::pair< T *, Time_t > > | m_to_transfer |
std::string | m_userTextLog |
Definition at line 14 of file PopConBTransitionSourceHandler.h.
|
inline |
Definition at line 16 of file PopConBTransitionSourceHandler.h.
References cond::persistency::ConnectionPool::configure(), popcon::PopConBTransitionSourceHandler< T >::m_connection, popcon::PopConBTransitionSourceHandler< T >::m_connectionPset, and cond::persistency::ConnectionPool::setParameters().
|
inlineoverride |
Definition at line 34 of file PopConBTransitionSourceHandler.h.
|
inline |
Definition at line 38 of file PopConBTransitionSourceHandler.h.
References popcon::PopConSourceHandler< T >::dbSession(), cond::persistency::Session::fetchPayload(), cond::persistency::IOVProxy::getInterval(), cond::persistency::IOVProxy::loadedSize(), LogDebug, RunInfoPI::m_avg_current, popcon::PopConBTransitionSourceHandler< T >::m_currentThreshold, popcon::PopConBTransitionSourceHandler< T >::m_run, popcon::PopConBTransitionSourceHandler< T >::m_tagForRunInfo, cond::Iov_t::payloadId, cond::persistency::Session::readIov(), run_AlCaRecoTriggerBitsUpdateWorkflow::session, cond::Iov_t::since, and cond::persistency::Session::transaction().
Referenced by popcon::PopConBTransitionSourceHandler< T >::getNewObjects().
|
inlinefinalvirtual |
Implements popcon::PopConSourceHandler< T >.
Definition at line 118 of file PopConBTransitionSourceHandler.h.
References popcon::PopConBTransitionSourceHandler< T >::checkBOn(), popcon::PopConBTransitionSourceHandler< T >::getObjectsForBTransition(), cond::TagInfo_t::lastInterval, popcon::PopConBTransitionSourceHandler< T >::m_run, cond::TagInfo_t::name, cond::Iov_t::payloadId, cond::Iov_t::since, cond::TagInfo_t::size, findQualityFiles::size, and popcon::PopConSourceHandler< T >::tagInfo().
|
inlinevirtual |
Definition at line 72 of file PopConBTransitionSourceHandler.h.
References cond::persistency::Session::createIov(), popcon::PopConSourceHandler< T >::dbSession(), cond::persistency::Session::editIov(), cond::persistency::Session::existsIov(), cond::persistency::IOVEditor::flush(), cond::persistency::IOVProxy::getInterval(), cond::persistency::IOVEditor::insert(), cond::persistency::IOVProxy::loadedSize(), LogDebug, popcon::PopConBTransitionSourceHandler< T >::m_run, popcon::PopConBTransitionSourceHandler< T >::m_tagForBOff, popcon::PopConBTransitionSourceHandler< T >::m_tagForBOn, popcon::PopConSourceHandler< T >::m_userTextLog, cond::TagInfo_t::name, cond::Iov_t::payloadId, cond::persistency::Session::readIov(), run_AlCaRecoTriggerBitsUpdateWorkflow::session, cond::persistency::IOVEditor::setDescription(), cond::Iov_t::since, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, popcon::PopConSourceHandler< T >::tagInfo(), cond::persistency::IOVProxy::tagInfo(), cond::Tag_t::timeType, and cond::persistency::Session::transaction().
Referenced by popcon::PopConBTransitionSourceHandler< T >::getNewObjects().
|
inlinefinalvirtual |
Implements popcon::PopConSourceHandler< T >.
Definition at line 36 of file PopConBTransitionSourceHandler.h.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 156 of file PopConBTransitionSourceHandler.h.
Referenced by popcon::PopConBTransitionSourceHandler< T >::PopConBTransitionSourceHandler().
|
private |
Definition at line 155 of file PopConBTransitionSourceHandler.h.
Referenced by popcon::PopConBTransitionSourceHandler< T >::PopConBTransitionSourceHandler().
|
private |
Definition at line 154 of file PopConBTransitionSourceHandler.h.
|
private |
Definition at line 148 of file PopConBTransitionSourceHandler.h.
Referenced by popcon::PopConBTransitionSourceHandler< T >::checkBOn().
|
private |
|
private |
Definition at line 152 of file PopConBTransitionSourceHandler.h.
Referenced by popcon::PopConBTransitionSourceHandler< T >::getObjectsForBTransition().
|
private |
Definition at line 153 of file PopConBTransitionSourceHandler.h.
Referenced by popcon::PopConBTransitionSourceHandler< T >::getObjectsForBTransition().
|
private |
Definition at line 150 of file PopConBTransitionSourceHandler.h.
Referenced by popcon::PopConBTransitionSourceHandler< T >::checkBOn().