#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 | convertFromOld () |
Summary * | dummySummary (typename OldContainer::value_type const &) const |
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 () |
void | sort () |
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::vector< Triplet > | Container |
typedef std::vector< std::pair< DTCCBConfig *, cond::Time_t > > | OldContainer |
typedef PopConSourceHandler< DTCCBConfig > | self |
typedef cond::Summary | Summary |
typedef cond::Time_t | Time_t |
typedef DTCCBConfig | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< DTCCBConfig > | |
int | add (value_type *payload, Summary *summary, Time_t time) |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< DTCCBConfig > | |
OldContainer | 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, CommonMethods::cp(), 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::writeOne().
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, jets_cff::payload, 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 381 of file DTUserKeyedConfigHandler.cc.
References dataTag.
|
staticprivate |
void DTUserKeyedConfigHandler::setList | ( | const cond::persistency::KeyList * | list | ) |
Definition at line 427 of file DTUserKeyedConfigHandler.cc.
References keyList.
Referenced by DTUserKeyedConfigPopConAnalyzer::analyze().
|
private |
Definition at line 416 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().