#include <ESRecordsToProxyIndices.h>
Public Member Functions | |
ComponentDescription const * | component (EventSetupRecordKey const &iRK, DataKey const &iDK) const noexcept |
unsigned int | dataKeysInRecord (unsigned int iRecordIndex, EventSetupRecordKey const &iRecord, std::vector< DataKey > const &iDataKeys, std::vector< ComponentDescription const * > const &iComponents) |
ESRecordsToProxyIndices (std::vector< EventSetupRecordKey > iRecords) | |
ESProxyIndex | indexInRecord (EventSetupRecordKey const &iRK, DataKey const &iDK) const noexcept |
If the index is not found, returns missingProxyIndex() More... | |
ESRecordIndex | recordIndexFor (EventSetupRecordKey const &iRK) const noexcept |
Static Public Member Functions | |
static constexpr ESProxyIndex | missingProxyIndex () noexcept |
static constexpr ESRecordIndex | missingRecordIndex () noexcept |
Private Attributes | |
std::vector< ComponentDescription const * > | components_ |
std::vector< DataKey > | dataKeys_ |
std::vector< EventSetupRecordKey > | recordKeys_ |
std::vector< unsigned int > | recordOffsets_ |
Definition at line 34 of file ESRecordsToProxyIndices.h.
ESRecordsToProxyIndices::ESRecordsToProxyIndices | ( | std::vector< EventSetupRecordKey > | iRecords | ) |
Definition at line 25 of file ESRecordsToProxyIndices.cc.
References eostools::move(), recordKeys_, and recordOffsets_.
|
noexcept |
Definition at line 76 of file ESRecordsToProxyIndices.cc.
References components_, dataKeys_, SoftLeptonByDistance_cfi::distance, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, or, recordKeys_, and recordOffsets_.
Referenced by edm::EDConsumerBase::updateLookup(), and edm::ESProducer::updateLookup().
unsigned int ESRecordsToProxyIndices::dataKeysInRecord | ( | unsigned int | iRecordIndex, |
EventSetupRecordKey const & | iRecord, | ||
std::vector< DataKey > const & | iDataKeys, | ||
std::vector< ComponentDescription const * > const & | iComponents | ||
) |
This should be called for all records in the list passed to the constructor and in the same order as the list.
Definition at line 32 of file ESRecordsToProxyIndices.cc.
References components_, dataKeys_, recordKeys_, and recordOffsets_.
Referenced by missingRecordIndex(), and edm::eventsetup::EventSetupProvider::recordsToProxyIndices().
|
noexcept |
If the index is not found, returns missingProxyIndex()
Definition at line 49 of file ESRecordsToProxyIndices.cc.
References dataKeys_, SoftLeptonByDistance_cfi::distance, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, missingProxyIndex(), or, recordKeys_, and recordOffsets_.
Referenced by edm::EDConsumerBase::updateLookup(), and edm::ESProducer::updateLookup().
|
inlinestaticnoexcept |
Definition at line 44 of file ESRecordsToProxyIndices.h.
References SiStripPI::max.
Referenced by indexInRecord(), edm::EDConsumerBase::updateLookup(), and edm::ESProducer::updateLookup().
|
inlinestaticnoexcept |
Definition at line 45 of file ESRecordsToProxyIndices.h.
References dataKeysInRecord(), SiStripPI::max, noexcept, and recordIndexFor().
Referenced by recordIndexFor().
|
noexcept |
Definition at line 68 of file ESRecordsToProxyIndices.cc.
References pfDeepBoostedJetPreprocessParams_cfi::lower_bound, missingRecordIndex(), or, and recordKeys_.
Referenced by missingRecordIndex(), and edm::ESProducer::updateLookup().
|
private |
Definition at line 67 of file ESRecordsToProxyIndices.h.
Referenced by component(), and dataKeysInRecord().
|
private |
Definition at line 66 of file ESRecordsToProxyIndices.h.
Referenced by component(), dataKeysInRecord(), and indexInRecord().
|
private |
Definition at line 60 of file ESRecordsToProxyIndices.h.
Referenced by component(), dataKeysInRecord(), ESRecordsToProxyIndices(), indexInRecord(), and recordIndexFor().
|
private |
Definition at line 65 of file ESRecordsToProxyIndices.h.
Referenced by component(), dataKeysInRecord(), ESRecordsToProxyIndices(), and indexInRecord().