#include <EventSetupImpl.h>
Public Member Functions | |
EventSetupImpl (EventSetupImpl const &)=delete | |
void | fillAvailableRecordKeys (std::vector< eventsetup::EventSetupRecordKey > &oToFill) const |
clears the oToFill vector and then fills it with the keys for all available records More... | |
std::optional< eventsetup::EventSetupRecordGeneric > | find (const eventsetup::EventSetupRecordKey &, unsigned int iTransitionID, ESResolverIndex const *getTokenIndices, ESParentContext const &iParent) const |
eventsetup::EventSetupRecordImpl const * | findImpl (const eventsetup::EventSetupRecordKey &) const |
eventsetup::EventSetupRecordImpl const * | findImpl (ESRecordIndex) const |
EventSetupImpl & | operator= (EventSetupImpl const &)=delete |
bool | recordIsProvidedByAModule (eventsetup::EventSetupRecordKey const &) const |
bool | validRecord (eventsetup::EventSetupRecordKey const &iKey) const |
~EventSetupImpl () | |
Protected Member Functions | |
void | addRecordImpl (const eventsetup::EventSetupRecordImpl &iRecord) |
Private Member Functions | |
EventSetupImpl () | |
void | insertRecordImpl (const eventsetup::EventSetupRecordKey &, const eventsetup::EventSetupRecordImpl *) |
void | setKeyIters (std::vector< eventsetup::EventSetupRecordKey >::const_iterator const &keysBegin, std::vector< eventsetup::EventSetupRecordKey >::const_iterator const &keysEnd) |
Private Attributes | |
std::vector< eventsetup::EventSetupRecordKey >::const_iterator | keysBegin_ |
std::vector< eventsetup::EventSetupRecordKey >::const_iterator | keysEnd_ |
std::vector< eventsetup::EventSetupRecordImpl const * > | recordImpls_ |
Friends | |
class | ::testEventsetup |
class | ::testEventsetupRecord |
class | eventsetup::EventSetupProvider |
Only EventSetupProvider allowed to create an EventSetupImpl. More... | |
class | eventsetup::EventSetupRecordProvider |
class | ProcessBlockTransitionInfo |
Description: Container for all Records dealing with non-RunState info
Usage: <usage>
Definition at line 48 of file EventSetupImpl.h.
edm::EventSetupImpl::~EventSetupImpl | ( | ) |
Definition at line 28 of file EventSetupImpl.cc.
|
delete |
|
explicitprivate |
Definition at line 26 of file EventSetupImpl.cc.
|
protected |
Definition at line 41 of file EventSetupImpl.cc.
References insertRecordImpl(), and edm::eventsetup::EventSetupRecordImpl::key().
Referenced by edm::eventsetup::EventSetupRecordProvider::continueIOV(), and edm::eventsetup::EventSetupRecordProvider::initializeForNewIOV().
void edm::EventSetupImpl::fillAvailableRecordKeys | ( | std::vector< eventsetup::EventSetupRecordKey > & | oToFill | ) | const |
clears the oToFill vector and then fills it with the keys for all available records
Definition at line 76 of file EventSetupImpl.cc.
References recordImpls_.
Referenced by edm::EventSetup::fillAvailableRecordKeys().
std::optional< eventsetup::EventSetupRecordGeneric > edm::EventSetupImpl::find | ( | const eventsetup::EventSetupRecordKey & | iKey, |
unsigned int | iTransitionID, | ||
ESResolverIndex const * | getTokenIndices, | ||
ESParentContext const & | iParent | ||
) | const |
Definition at line 45 of file EventSetupImpl.cc.
References HLT_2024v14_cff::distance, keysBegin_, keysEnd_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, and recordImpls_.
Referenced by edm::EventSetup::find().
eventsetup::EventSetupRecordImpl const * edm::EventSetupImpl::findImpl | ( | const eventsetup::EventSetupRecordKey & | iKey | ) | const |
Definition at line 60 of file EventSetupImpl.cc.
References HLT_2024v14_cff::distance, keysBegin_, keysEnd_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, and recordImpls_.
Referenced by edm::EDLooperBase::esPrefetchAsync(), edm::Worker::esPrefetchAsync(), edm::EventSetup::get(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::prefetchNeededDataAsync(), and edm::EventSetup::tryToGet().
eventsetup::EventSetupRecordImpl const * edm::EventSetupImpl::findImpl | ( | ESRecordIndex | iKey | ) | const |
Definition at line 69 of file EventSetupImpl.cc.
References edm::ESRecordIndex::invalidValue(), recordImpls_, UNLIKELY, and edm::ESRecordIndex::value().
|
private |
Definition at line 30 of file EventSetupImpl.cc.
References HLT_2024v14_cff::distance, Exception, keysBegin_, keysEnd_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, and recordImpls_.
Referenced by addRecordImpl().
|
delete |
bool edm::EventSetupImpl::recordIsProvidedByAModule | ( | eventsetup::EventSetupRecordKey const & | iKey | ) | const |
returns true if the Record is provided by a Source or a Producer a value of true does not mean this EventSetup object holds such a record
Definition at line 87 of file EventSetupImpl.cc.
References keysBegin_, keysEnd_, and pfDeepBoostedJetPreprocessParams_cfi::lower_bound.
Referenced by edm::eventsetup::recordDoesExist(), and edm::EventSetup::recordIsProvidedByAModule().
|
private |
Definition at line 101 of file EventSetupImpl.cc.
References keysBegin_, keysEnd_, and recordImpls_.
bool edm::EventSetupImpl::validRecord | ( | eventsetup::EventSetupRecordKey const & | iKey | ) | const |
Definition at line 92 of file EventSetupImpl.cc.
References HLT_2024v14_cff::distance, keysBegin_, keysEnd_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, and recordImpls_.
|
friend |
Definition at line 75 of file EventSetupImpl.h.
|
friend |
Definition at line 76 of file EventSetupImpl.h.
|
friend |
Only EventSetupProvider allowed to create an EventSetupImpl.
Definition at line 73 of file EventSetupImpl.h.
|
friend |
Definition at line 74 of file EventSetupImpl.h.
|
friend |
Definition at line 77 of file EventSetupImpl.h.
|
private |
Definition at line 92 of file EventSetupImpl.h.
Referenced by find(), findImpl(), insertRecordImpl(), recordIsProvidedByAModule(), setKeyIters(), and validRecord().
|
private |
Definition at line 93 of file EventSetupImpl.h.
Referenced by find(), findImpl(), insertRecordImpl(), recordIsProvidedByAModule(), setKeyIters(), and validRecord().
|
private |
Definition at line 94 of file EventSetupImpl.h.
Referenced by fillAvailableRecordKeys(), find(), findImpl(), insertRecordImpl(), setKeyIters(), and validRecord().