Private Member Functions | |
std::string | makeConfigHash () |
std::string | queryConfigMap (std::string configHash) |
void | updateConfigMap (std::string configHash, std::string payloadHash) |
Private Attributes | |
edm::Service< SiStripCondObjBuilderFromDb > | condObjBuilder |
std::string | m_cfgMapDbFile |
std::string | m_cfgMapSchemaName |
std::string | m_cfgMapTableName |
std::string | m_condDb |
std::string | m_configMapDb |
cond::persistency::ConnectionPool | m_connectionPool |
std::string | m_localCondDbFile |
cond::Time_t | m_since |
std::string | m_targetTag |
std::string | p_cfgstr |
std::string | p_type |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 29 of file SiStripPayloadHandler.cc.
|
explicit |
Definition at line 59 of file SiStripPayloadHandler.cc.
References cond::persistency::ConnectionPool::configure(), edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), SiStripPayloadHandler< SiStripPayload >::m_cfgMapDbFile, SiStripPayloadHandler< SiStripPayload >::m_configMapDb, SiStripPayloadHandler< SiStripPayload >::m_connectionPool, cond::persistency::ConnectionPool::setParameters(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 79 of file SiStripPayloadHandler.cc.
|
override |
Definition at line 83 of file SiStripPayloadHandler.cc.
References cond::persistency::Transaction::commit(), SiStripPayloadHandler< SiStripPayload >::condObjBuilder, gather_cfg::cout, cond::persistency::Session::createIov(), cond::persistency::ConnectionPool::createSession(), cond::persistency::Session::fetchPayload(), cond::persistency::IOVEditor::flush(), cond::persistency::IOVProxy::getLast(), SiStripCondObjBuilderFromDb::getValue(), cond::persistency::IOVEditor::insert(), SiStripPayloadHandler< SiStripPayload >::m_condDb, SiStripPayloadHandler< SiStripPayload >::m_connectionPool, SiStripPayloadHandler< SiStripPayload >::m_localCondDbFile, SiStripPayloadHandler< SiStripPayload >::m_since, SiStripPayloadHandler< SiStripPayload >::m_targetTag, SiStripPayloadHandler< SiStripPayload >::makeConfigHash(), hgcalPlots::obj, cond::Iov_t::payloadId, SiStripPayloadHandler< SiStripPayload >::queryConfigMap(), cond::persistency::Session::readIov(), cond::runnumber, cond::persistency::IOVEditor::setDescription(), SiStripCondObjBuilderFromDb::setLastIovGain(), cond::persistency::Transaction::start(), cond::persistency::Session::storePayload(), AlCaHLTBitMon_QueryRunRegistry::string, cond::persistency::Session::transaction(), and SiStripPayloadHandler< SiStripPayload >::updateConfigMap().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 158 of file SiStripPayloadHandler.cc.
|
private |
Definition at line 162 of file SiStripPayloadHandler.cc.
References Exception, cond::hash, mps_fire::i, SiStripPayloadHandler< SiStripPayload >::p_cfgstr, SiStripPayloadHandler< SiStripPayload >::p_type, and tmp.
Referenced by SiStripPayloadHandler< SiStripPayload >::analyze().
|
private |
Definition at line 199 of file SiStripPayloadHandler.cc.
References cond::persistency::ConnectionPool::createCoralSession(), SiStripPayloadHandler< SiStripPayload >::m_cfgMapSchemaName, SiStripPayloadHandler< SiStripPayload >::m_cfgMapTableName, SiStripPayloadHandler< SiStripPayload >::m_configMapDb, SiStripPayloadHandler< SiStripPayload >::m_connectionPool, das::query(), AlCaHLTBitMon_QueryRunRegistry::string, and toString().
Referenced by SiStripPayloadHandler< SiStripPayload >::analyze().
|
private |
Definition at line 238 of file SiStripPayloadHandler.cc.
References cond::persistency::ConnectionPool::createCoralSession(), SiStripPayloadHandler< SiStripPayload >::m_cfgMapDbFile, SiStripPayloadHandler< SiStripPayload >::m_cfgMapTableName, SiStripPayloadHandler< SiStripPayload >::m_connectionPool, cmsPerfSuiteHarvest::now, SiStripPayloadHandler< SiStripPayload >::p_cfgstr, SiStripPayloadHandler< SiStripPayload >::p_type, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiStripPayloadHandler< SiStripPayload >::analyze().
|
private |
Definition at line 54 of file SiStripPayloadHandler.cc.
Referenced by SiStripPayloadHandler< SiStripPayload >::analyze().
|
private |
Definition at line 47 of file SiStripPayloadHandler.cc.
Referenced by SiStripPayloadHandler< SiStripPayload >::SiStripPayloadHandler(), and SiStripPayloadHandler< SiStripPayload >::updateConfigMap().
|
private |
Definition at line 44 of file SiStripPayloadHandler.cc.
Referenced by SiStripPayloadHandler< SiStripPayload >::queryConfigMap().
|
private |
Definition at line 45 of file SiStripPayloadHandler.cc.
Referenced by SiStripPayloadHandler< SiStripPayload >::queryConfigMap(), and SiStripPayloadHandler< SiStripPayload >::updateConfigMap().
|
private |
Definition at line 46 of file SiStripPayloadHandler.cc.
Referenced by SiStripPayloadHandler< SiStripPayload >::analyze().
|
private |
Definition at line 43 of file SiStripPayloadHandler.cc.
Referenced by SiStripPayloadHandler< SiStripPayload >::queryConfigMap(), and SiStripPayloadHandler< SiStripPayload >::SiStripPayloadHandler().
|
private |
Definition at line 42 of file SiStripPayloadHandler.cc.
Referenced by SiStripPayloadHandler< SiStripPayload >::analyze(), SiStripPayloadHandler< SiStripPayload >::queryConfigMap(), SiStripPayloadHandler< SiStripPayload >::SiStripPayloadHandler(), and SiStripPayloadHandler< SiStripPayload >::updateConfigMap().
|
private |
Definition at line 48 of file SiStripPayloadHandler.cc.
Referenced by SiStripPayloadHandler< SiStripPayload >::analyze().
|
private |
Definition at line 50 of file SiStripPayloadHandler.cc.
Referenced by SiStripPayloadHandler< SiStripPayload >::analyze().
|
private |
Definition at line 49 of file SiStripPayloadHandler.cc.
Referenced by SiStripPayloadHandler< SiStripPayload >::analyze().
|
private |
Definition at line 53 of file SiStripPayloadHandler.cc.
Referenced by SiStripPayloadHandler< SiStripPayload >::makeConfigHash(), and SiStripPayloadHandler< SiStripPayload >::updateConfigMap().
|
private |
Definition at line 52 of file SiStripPayloadHandler.cc.
Referenced by SiStripPayloadHandler< SiStripPayload >::makeConfigHash(), and SiStripPayloadHandler< SiStripPayload >::updateConfigMap().