#include <L1RPCHwConfigSourceHandler.h>
Private Attributes | |
L1RPCHwConfig * | disabledDevs |
std::string | m_authpath |
std::string | m_connect |
std::vector< int > | m_disableCrates |
std::vector< int > | m_disableTowers |
int | m_dummy |
std::string | m_name |
int | m_validate |
cond::persistency::Session | session |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< L1RPCHwConfig > | |
typedef std::vector< Triplet > | Container |
typedef std::vector< std::pair< L1RPCHwConfig *, cond::Time_t > > | OldContainer |
typedef PopConSourceHandler< L1RPCHwConfig > | self |
typedef cond::Summary | Summary |
typedef cond::Time_t | Time_t |
typedef L1RPCHwConfig | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< L1RPCHwConfig > | |
int | add (value_type *payload, Summary *summary, Time_t time) |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< L1RPCHwConfig > | |
OldContainer | m_to_transfer |
std::string | m_userTextLog |
Definition at line 34 of file L1RPCHwConfigSourceHandler.h.
popcon::L1RPCHwConfigSourceHandler::L1RPCHwConfigSourceHandler | ( | const edm::ParameterSet & | ps | ) |
Definition at line 7 of file L1RPCHwConfigSourceHandler.cc.
popcon::L1RPCHwConfigSourceHandler::~L1RPCHwConfigSourceHandler | ( | ) |
Definition at line 18 of file L1RPCHwConfigSourceHandler.cc.
int popcon::L1RPCHwConfigSourceHandler::Compare2Configs | ( | const Ref & | set1, |
L1RPCHwConfig * | set2 | ||
) |
Definition at line 226 of file L1RPCHwConfigSourceHandler.cc.
References gather_cfg::cout, L1RPCHwConfig::isActive(), and L1RPCHwConfig::size().
Referenced by getNewObjects(), and id().
void popcon::L1RPCHwConfigSourceHandler::ConnectOnlineDB | ( | std::string | connect, |
std::string | authPath | ||
) |
Definition at line 81 of file L1RPCHwConfigSourceHandler.cc.
References cond::persistency::ConnectionPool::configure(), gather_cfg::cout, cond::persistency::ConnectionPool::createSession(), session, and cond::persistency::ConnectionPool::setAuthenticationPath().
Referenced by getNewObjects(), and id().
void popcon::L1RPCHwConfigSourceHandler::DisconnectOnlineDB | ( | ) |
Definition at line 92 of file L1RPCHwConfigSourceHandler.cc.
References cond::persistency::Session::close(), and session.
Referenced by getNewObjects(), and id().
|
virtual |
Implements popcon::PopConSourceHandler< L1RPCHwConfig >.
Definition at line 22 of file L1RPCHwConfigSourceHandler.cc.
References Compare2Configs(), ConnectOnlineDB(), gather_cfg::cout, cond::service::PoolDBOutputService::currentTime(), disabledDevs, DisconnectOnlineDB(), L1RPCHwConfig::enableCrate(), L1RPCHwConfig::enableTower(), cond::TagInfo_t::lastInterval, popcon::PopConSourceHandler< L1RPCHwConfig >::lastPayload(), m_authpath, m_connect, m_disableCrates, m_disableTowers, m_dummy, popcon::PopConSourceHandler< L1RPCHwConfig >::m_to_transfer, m_validate, cond::TagInfo_t::name, jetCorrFactors_cfi::payload, readHwConfig1(), cond::TagInfo_t::size, and popcon::PopConSourceHandler< L1RPCHwConfig >::tagInfo().
|
inlinevirtual |
Implements popcon::PopConSourceHandler< L1RPCHwConfig >.
Definition at line 41 of file L1RPCHwConfigSourceHandler.h.
References expressLumiProducer_cff::authPath, Compare2Configs(), connect(), ConnectOnlineDB(), DisconnectOnlineDB(), m_name, readHwConfig1(), and AlCaHLTBitMon_QueryRunRegistry::string.
void popcon::L1RPCHwConfigSourceHandler::readHwConfig1 | ( | ) |
Definition at line 97 of file L1RPCHwConfigSourceHandler.cc.
References gather_cfg::cout, disabledDevs, L1RPCHwConfig::enablePAC(), plotBeamSpotDB::first, plotBeamSpotDB::last, cond::persistency::Session::nominalSchema(), dataDML::schema, session, cond::persistency::Transaction::start(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::persistency::Session::transaction().
Referenced by getNewObjects(), and id().
|
private |
Definition at line 48 of file L1RPCHwConfigSourceHandler.h.
Referenced by getNewObjects(), and readHwConfig1().
|
private |
Definition at line 56 of file L1RPCHwConfigSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 55 of file L1RPCHwConfigSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 53 of file L1RPCHwConfigSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 54 of file L1RPCHwConfigSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 51 of file L1RPCHwConfigSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 50 of file L1RPCHwConfigSourceHandler.h.
Referenced by id().
|
private |
Definition at line 52 of file L1RPCHwConfigSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 49 of file L1RPCHwConfigSourceHandler.h.
Referenced by ConnectOnlineDB(), DisconnectOnlineDB(), and readHwConfig1().