Public Member Functions | |
virtual void | analyze (const edm::Event &evt, const edm::EventSetup &evtSetup) |
virtual void | endJob () |
SiStripPayloadHandler (const edm::ParameterSet &iConfig) | |
virtual | ~SiStripPayloadHandler () |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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_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 &) |
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 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 58 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.
|
virtual |
Definition at line 77 of file SiStripPayloadHandler.cc.
|
virtual |
Definition at line 81 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(), MuonAssociatorByHits_cfi::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().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 156 of file SiStripPayloadHandler.cc.
|
private |
Definition at line 160 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 197 of file SiStripPayloadHandler.cc.
References cond::persistency::ConnectionPool::createCoralSession(), SiStripPayloadHandler< SiStripPayload >::m_cfgMapTableName, SiStripPayloadHandler< SiStripPayload >::m_configMapDb, SiStripPayloadHandler< SiStripPayload >::m_connectionPool, das::query(), AlCaHLTBitMon_QueryRunRegistry::string, and toolbox::toString().
Referenced by SiStripPayloadHandler< SiStripPayload >::analyze().
|
private |
Definition at line 236 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 53 of file SiStripPayloadHandler.cc.
Referenced by SiStripPayloadHandler< SiStripPayload >::analyze().
|
private |
Definition at line 46 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(), and SiStripPayloadHandler< SiStripPayload >::updateConfigMap().
|
private |
Definition at line 45 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 47 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 48 of file SiStripPayloadHandler.cc.
Referenced by SiStripPayloadHandler< SiStripPayload >::analyze().
|
private |
Definition at line 52 of file SiStripPayloadHandler.cc.
Referenced by SiStripPayloadHandler< SiStripPayload >::makeConfigHash(), and SiStripPayloadHandler< SiStripPayload >::updateConfigMap().
|
private |
Definition at line 51 of file SiStripPayloadHandler.cc.
Referenced by SiStripPayloadHandler< SiStripPayload >::makeConfigHash(), and SiStripPayloadHandler< SiStripPayload >::updateConfigMap().