#include <DTUserKeyedConfigHandler.h>
Public Member Functions | |
DTUserKeyedConfigHandler (const edm::ParameterSet &ps) | |
void | getNewObjects () |
std::string | id () const |
virtual | ~DTUserKeyedConfigHandler () |
Public Member Functions inherited from popcon::PopConSourceHandler< DTCCBConfig > | |
void | convertFromOld () |
Summary * | dummySummary (typename OldContainer::value_type const &) const |
void | initialize (cond::DbSession dbSession, cond::TagInfo const &tagInfo, cond::LogDBEntry const &logDBEntry) |
Ref | lastPayload () const |
cond::LogDBEntry const & | logDBEntry () const |
std::pair< Container const *, std::string const > | operator() (cond::DbSession session, cond::TagInfo const &tagInfo, cond::LogDBEntry const &logDBEntry) const |
PopConSourceHandler () | |
Container const & | returnData () |
void | sort () |
cond::TagInfo const & | tagInfo () const |
std::string const & | userTextLog () const |
virtual | ~PopConSourceHandler () |
Static Public Member Functions | |
static void | setList (cond::KeyList *list) |
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::DbConnection | connection |
int | dataRun |
std::string | dataTag |
cond::DbSession | isession |
std::string | onlineAuthentication |
std::string | onlineConnect |
std::vector< DTConfigKey > | userConf |
bool | writeData |
bool | writeKeys |
Static Private Attributes | |
static cond::KeyList * | keyList = 0 |
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) |
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 50 of file DTUserKeyedConfigHandler.cc.
References DTConfigKey::confKey, DTConfigKey::confType, gather_cfg::cout, CommonMethods::cp(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), onlineAuthentication, and userConf.
|
virtual |
|
private |
Definition at line 333 of file DTUserKeyedConfigHandler.cc.
References DTKeyedConfig::add(), brickContainer, gather_cfg::cout, alignCSCRings::e, cppFunctionSkipper::exception, cond::KeyList::get(), DTKeyedConfig::getId(), isession, gen::k, keyList, cond::KeyList::load(), cond::KeyedElement::m_key, cond::KeyedElement::m_obj, cond::DbSession::nominalSchema(), DTKeyedConfig::setId(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::service::PoolDBOutputService::writeOne().
Referenced by getNewObjects().
|
virtual |
Operations
Implements popcon::PopConSourceHandler< DTCCBConfig >.
Definition at line 92 of file DTUserKeyedConfigHandler.cc.
References DTCCBConfig::appendConfigKey(), DTCCBConfig::begin(), chkConfigList(), cond::DbSession::close(), cond::DbTransaction::commit(), cond::DbConnection::configuration(), cond::DbConnection::configure(), DTConfigKey::confKey, DTConfigKey::confType, connection, gather_cfg::cout, cond::DbConnection::createSession(), dataRun, dataTag, DTCCBConfig::end(), isession, combine::key, keyList, prof2calltree::last, cond::TagInfo::lastInterval, popcon::PopConSourceHandler< DTCCBConfig >::lastPayload(), popcon::PopConSourceHandler< DTCCBConfig >::m_to_transfer, cond::DbSession::nominalSchema(), onlineAuthentication, onlineConnect, cond::DbSession::open(), DTCCBId::sectorId, cond::DbConnectionConfiguration::setAuthenticationPath(), DTCCBConfig::setFullKey(), DTCCBConfig::setStamp(), cond::DbTransaction::start(), relativeConstraints::station, DTCCBId::stationId, AlCaHLTBitMon_QueryRunRegistry::string, popcon::PopConSourceHandler< DTCCBConfig >::tagInfo(), cond::DbSession::transaction(), userConf, userDiscardedKey(), DTCCBId::wheelId, writeData, and writeKeys.
|
virtual |
Implements popcon::PopConSourceHandler< DTCCBConfig >.
Definition at line 419 of file DTUserKeyedConfigHandler.cc.
References dataTag.
|
staticprivate |
Definition at line 424 of file DTUserKeyedConfigHandler.cc.
References DTConfigKey::confKey, and DTConfigKey::confType.
|
static |
Definition at line 467 of file DTUserKeyedConfigHandler.cc.
References keyList, and list().
Referenced by DTUserKeyedConfigPopConAnalyzer::analyze().
|
private |
Definition at line 457 of file DTUserKeyedConfigHandler.cc.
References DTConfigKey::confKey, and userConf.
Referenced by getNewObjects().
|
private |
Definition at line 66 of file DTUserKeyedConfigHandler.h.
Referenced by chkConfigList().
|
private |
Definition at line 70 of file DTUserKeyedConfigHandler.h.
|
private |
Definition at line 72 of file DTUserKeyedConfigHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 62 of file DTUserKeyedConfigHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 63 of file DTUserKeyedConfigHandler.h.
Referenced by getNewObjects(), and id().
|
private |
Definition at line 73 of file DTUserKeyedConfigHandler.h.
Referenced by chkConfigList(), and getNewObjects().
|
staticprivate |
Definition at line 79 of file DTUserKeyedConfigHandler.h.
Referenced by chkConfigList(), getNewObjects(), and setList().
|
private |
Definition at line 65 of file DTUserKeyedConfigHandler.h.
Referenced by DTUserKeyedConfigHandler(), and getNewObjects().
|
private |
Definition at line 64 of file DTUserKeyedConfigHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 67 of file DTUserKeyedConfigHandler.h.
Referenced by DTUserKeyedConfigHandler(), getNewObjects(), and userDiscardedKey().
|
private |
Definition at line 69 of file DTUserKeyedConfigHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 68 of file DTUserKeyedConfigHandler.h.
Referenced by getNewObjects().