#include <DTUserKeyedConfigHandler.h>
Public Member Functions | |
DTUserKeyedConfigHandler (const edm::ParameterSet &ps) | |
void | getNewObjects () override |
std::string | id () const override |
void | setList (const cond::persistency::KeyList *list) |
~DTUserKeyedConfigHandler () override | |
Public Member Functions inherited from popcon::PopConSourceHandler< DTCCBConfig > | |
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 Member Functions | |
void | chkConfigList (const std::map< int, bool > &userBricks) |
bool | userDiscardedKey (int key) |
Static Private Member Functions | |
static bool | sameConfigList (const std::vector< DTConfigKey > &cfgl, const std::vector< DTConfigKey > &cfgr) |
Private Attributes | |
std::string | brickContainer |
DTCCBConfig * | ccbConfig |
cond::persistency::ConnectionPool | connection |
int | dataRun |
std::string | dataTag |
std::shared_ptr< coral::ISessionProxy > | isession |
const cond::persistency::KeyList * | keyList = nullptr |
std::string | onlineAuthentication |
int | onlineAuthSys |
std::string | onlineConnect |
std::vector< DTConfigKey > | userConf |
bool | writeData |
bool | writeKeys |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< DTCCBConfig > | |
typedef std::map< Time_t, std::shared_ptr< DTCCBConfig > > | Container |
typedef std::unique_ptr< DTCCBConfig > | Ref |
typedef PopConSourceHandler< DTCCBConfig > | self |
typedef cond::Time_t | Time_t |
typedef DTCCBConfig | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< DTCCBConfig > | |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< DTCCBConfig > | |
Container | m_iovs |
std::vector< std::pair< DTCCBConfig *, Time_t > > | m_to_transfer |
std::string | m_userTextLog |
DTUserKeyedConfigHandler::DTUserKeyedConfigHandler | ( | const edm::ParameterSet & | ps | ) |
Constructor
Definition at line 48 of file DTUserKeyedConfigHandler.cc.
References DTConfigKey::confKey, DTConfigKey::confType, gather_cfg::cout, edm::ParameterSet::getParameter(), onlineAuthentication, and userConf.
|
override |
|
private |
Definition at line 309 of file DTUserKeyedConfigHandler.cc.
References DTKeyedConfig::add(), brickContainer, gather_cfg::cout, cppFunctionSkipper::exception, cond::persistency::KeyList::getUsingKey(), isession, dqmdumpme::k, keyList, DTKeyedConfig::setId(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::service::PoolDBOutputService::writeOneIOV().
Referenced by getNewObjects().
|
overridevirtual |
Operations
Implements popcon::PopConSourceHandler< DTCCBConfig >.
Definition at line 84 of file DTUserKeyedConfigHandler.cc.
References DTCCBConfig::appendConfigKey(), DTCCBConfig::begin(), looper::cfg, chkConfigList(), cond::persistency::ConnectionPool::configure(), DTConfigKey::confKey, DTConfigKey::confType, connection, gather_cfg::cout, cond::persistency::ConnectionPool::createCoralSession(), dataRun, dataTag, DTCCBConfig::end(), isession, crabWrapper::key, keyList, dqmdumpme::last, cond::TagInfo_t::lastInterval, popcon::PopConSourceHandler< DTCCBConfig >::lastPayload(), popcon::PopConSourceHandler< DTCCBConfig >::m_to_transfer, onlineAuthentication, onlineAuthSys, onlineConnect, jetsAK4_Puppi_cff::payload, nano_mu_digi_cff::sector, DTCCBId::sectorId, cond::persistency::ConnectionPool::setAuthenticationPath(), cond::persistency::ConnectionPool::setAuthenticationSystem(), DTCCBConfig::setFullKey(), DTCCBConfig::setStamp(), cond::Iov_t::since, relativeConstraints::station, DTCCBId::stationId, AlCaHLTBitMon_QueryRunRegistry::string, popcon::PopConSourceHandler< DTCCBConfig >::tagInfo(), userConf, userDiscardedKey(), makeMuonMisalignmentScenario::wheel, DTCCBId::wheelId, writeData, and writeKeys.
|
overridevirtual |
Implements popcon::PopConSourceHandler< DTCCBConfig >.
Definition at line 380 of file DTUserKeyedConfigHandler.cc.
References dataTag.
|
staticprivate |
Definition at line 382 of file DTUserKeyedConfigHandler.cc.
References mps_splice::entry.
void DTUserKeyedConfigHandler::setList | ( | const cond::persistency::KeyList * | list | ) |
Definition at line 426 of file DTUserKeyedConfigHandler.cc.
References keyList.
Referenced by DTUserKeyedConfigPopConAnalyzer::analyze().
|
private |
Definition at line 415 of file DTUserKeyedConfigHandler.cc.
References mps_splice::entry, crabWrapper::key, and userConf.
Referenced by getNewObjects().
|
private |
Definition at line 70 of file DTUserKeyedConfigHandler.h.
Referenced by chkConfigList().
|
private |
Definition at line 74 of file DTUserKeyedConfigHandler.h.
|
private |
Definition at line 76 of file DTUserKeyedConfigHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 65 of file DTUserKeyedConfigHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 66 of file DTUserKeyedConfigHandler.h.
Referenced by getNewObjects(), and id().
|
private |
Definition at line 77 of file DTUserKeyedConfigHandler.h.
Referenced by chkConfigList(), and getNewObjects().
|
private |
Definition at line 82 of file DTUserKeyedConfigHandler.h.
Referenced by chkConfigList(), getNewObjects(), and setList().
|
private |
Definition at line 68 of file DTUserKeyedConfigHandler.h.
Referenced by DTUserKeyedConfigHandler(), and getNewObjects().
|
private |
Definition at line 69 of file DTUserKeyedConfigHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 67 of file DTUserKeyedConfigHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 71 of file DTUserKeyedConfigHandler.h.
Referenced by DTUserKeyedConfigHandler(), getNewObjects(), and userDiscardedKey().
|
private |
Definition at line 73 of file DTUserKeyedConfigHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 72 of file DTUserKeyedConfigHandler.h.
Referenced by getNewObjects().