#include <EventSetupImpl.h>
Public Member Functions | |
EventSetupImpl ()=delete | |
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, ESProxyIndex 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 |
tbb::task_arena * | taskArena () const |
bool | validRecord (eventsetup::EventSetupRecordKey const &iKey) const |
~EventSetupImpl () | |
Protected Member Functions | |
void | addRecordImpl (const eventsetup::EventSetupRecordImpl &iRecord) |
Private Member Functions | |
EventSetupImpl (tbb::task_arena *) | |
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_ |
tbb::task_arena * | taskArena_ = nullptr |
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 49 of file EventSetupImpl.h.
edm::EventSetupImpl::~EventSetupImpl | ( | ) |
Definition at line 28 of file EventSetupImpl.cc.
|
delete |
|
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, | ||
ESProxyIndex const * | getTokenIndices, | ||
ESParentContext const & | iParent | ||
) | const |
Definition at line 45 of file EventSetupImpl.cc.
References HLT_FULL_cff::distance, keysBegin_, keysEnd_, cuda_std::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_FULL_cff::distance, keysBegin_, keysEnd_, cuda_std::lower_bound(), and recordImpls_.
Referenced by edm::EDLooperBase::esPrefetchAsync(), edm::Worker::esPrefetchAsync(), edm::EventSetup::get(), edm::eventsetup::Callback< T, TReturn, 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_FULL_cff::distance, Exception, keysBegin_, keysEnd_, cuda_std::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 cuda_std::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_.
|
inline |
Definition at line 74 of file EventSetupImpl.h.
References taskArena_.
Referenced by edm::EDLooperBase::esPrefetchAsync(), edm::Worker::esPrefetchAsync(), and edm::eventsetup::DataProxy::get().
bool edm::EventSetupImpl::validRecord | ( | eventsetup::EventSetupRecordKey const & | iKey | ) | const |
Definition at line 92 of file EventSetupImpl.cc.
References HLT_FULL_cff::distance, keysBegin_, keysEnd_, cuda_std::lower_bound(), and recordImpls_.
|
friend |
Definition at line 78 of file EventSetupImpl.h.
|
friend |
Definition at line 79 of file EventSetupImpl.h.
|
friend |
Only EventSetupProvider allowed to create an EventSetupImpl.
Definition at line 76 of file EventSetupImpl.h.
|
friend |
Definition at line 77 of file EventSetupImpl.h.
|
friend |
Definition at line 80 of file EventSetupImpl.h.
|
private |
Definition at line 95 of file EventSetupImpl.h.
Referenced by find(), findImpl(), insertRecordImpl(), recordIsProvidedByAModule(), setKeyIters(), and validRecord().
|
private |
Definition at line 96 of file EventSetupImpl.h.
Referenced by find(), findImpl(), insertRecordImpl(), recordIsProvidedByAModule(), setKeyIters(), and validRecord().
|
private |
Definition at line 97 of file EventSetupImpl.h.
Referenced by fillAvailableRecordKeys(), find(), findImpl(), insertRecordImpl(), setKeyIters(), and validRecord().
|
private |
Definition at line 98 of file EventSetupImpl.h.
Referenced by taskArena().