Classes | |
class | TestValue |
Public Member Functions | |
int | acquire (ESTestRecordI const &, edm::WaitingTaskWithArenaHolder) |
AcquireIntESProducer (edm::ParameterSet const &) | |
AcquireIntESProducer (const AcquireIntESProducer &)=delete | |
AcquireIntESProducer (AcquireIntESProducer &&)=delete | |
std::optional< std::vector< TestValue > > | acquireOptional (ESTestRecordI const &, edm::WaitingTaskWithArenaHolder) |
std::unique_ptr< TestValue > | acquireUniquePtr (ESTestRecordI const &, edm::WaitingTaskWithArenaHolder) |
void | initConcurrentIOVs (EventSetupRecordKey const &, unsigned int nConcurrentIOVs) override |
AcquireIntESProducer & | operator= (const AcquireIntESProducer &)=delete |
AcquireIntESProducer & | operator= (AcquireIntESProducer &&)=delete |
std::unique_ptr< ESTestDataI > | produce (ESTestRecordI const &, int) |
std::unique_ptr< ESTestDataB > | produceESTestDataB (ESTestRecordB const &) |
std::unique_ptr< ESTestDataI > | produceOptional (ESTestRecordI const &, std::optional< std::vector< TestValue >>) |
std::unique_ptr< ESTestDataI > | produceUniquePtr (ESTestRecordI const &, std::unique_ptr< TestValue >) |
~AcquireIntESProducer () override | |
Public Member Functions inherited from edm::ESProducerExternalWork | |
ESProducerExternalWork () | |
template<typename T > | |
auto | setWhatAcquiredProduced (T *iThis, const es::Label &iLabel={}) |
template<typename T > | |
auto | setWhatAcquiredProduced (T *iThis, const char *iLabel) |
template<typename T > | |
auto | setWhatAcquiredProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
auto | setWhatAcquiredProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename T , typename TAcquireReturn , typename TProduceReturn , typename TRecord > | |
auto | setWhatAcquiredProduced (T *iThis, TAcquireReturn(T::*iAcquireMethod)(const TRecord &, WaitingTaskWithArenaHolder), TProduceReturn(T::*iProduceMethod)(const TRecord &, TAcquireReturn), const es::Label &iLabel={}) |
template<typename T , typename TAcquireReturn , typename TProduceReturn , typename TRecord , typename TDecorator > | |
auto | setWhatAcquiredProduced (T *iThis, TAcquireReturn(T::*iAcquireMethod)(const TRecord &, WaitingTaskWithArenaHolder), TProduceReturn(T ::*iProduceMethod)(const TRecord &, TAcquireReturn), const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename TAcquireFunc , typename TProduceFunc > | |
auto | setWhatAcquiredProducedWithLambda (TAcquireFunc &&acquireFunc, TProduceFunc &&produceFunc, const es::Label &iLabel={}) |
template<typename TAcquireReturn , typename TProduceReturn , typename TRecord , typename TAcquireFunc , typename TProduceFunc , typename TDecorator > | |
ESConsumesCollectorT< TRecord > | setWhatAcquiredProducedWithLambda (TAcquireFunc &&acquireFunc, TProduceFunc &&produceFunc, TDecorator &&iDec, const es::Label &iLabel={}) |
Public Member Functions inherited from edm::ESProducer | |
ESProducer () | |
ESProducer (const ESProducer &)=delete | |
ESProducer (ESProducer &&)=delete | |
ESResolverIndex const * | getTokenIndices (unsigned int iIndex) const |
ESRecordIndex const * | getTokenRecordIndices (unsigned int iIndex) const |
bool | hasMayConsumes () const noexcept |
size_t | numberOfTokenIndices (unsigned int iIndex) const |
ESProducer & | operator= (const ESProducer &)=delete |
ESProducer & | operator= (ESProducer &&)=delete |
SerialTaskQueueChain & | queue () |
template<typename Record > | |
std::optional< std::vector< ESResolverIndex > > | updateFromMayConsumes (unsigned int iIndex, const Record &iRecord) const |
void | updateLookup (eventsetup::ESRecordsToProductResolverIndices const &) final |
~ESProducer () noexcept(false) override | |
Public Member Functions inherited from edm::ESProductResolverFactoryProducer | |
ESProductResolverFactoryProducer () | |
ESProductResolverFactoryProducer (const ESProductResolverFactoryProducer &)=delete | |
const ESProductResolverFactoryProducer & | operator= (const ESProductResolverFactoryProducer &)=delete |
~ESProductResolverFactoryProducer () noexcept(false) override | |
Public Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
void | createKeyedResolvers (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs) |
const ComponentDescription & | description () const |
ESProductResolverProvider () | |
ESProductResolverProvider (const ESProductResolverProvider &)=delete | |
void | fillRecordsNotAllowingConcurrentIOVs (std::set< EventSetupRecordKey > &recordsNotAllowingConcurrentIOVs) const |
bool | isUsingRecord (const EventSetupRecordKey &key) const |
KeyedResolvers & | keyedResolvers (const EventSetupRecordKey &iRecordKey, unsigned int iovIndex=0) |
const ESProductResolverProvider & | operator= (const ESProductResolverProvider &)=delete |
void | setAppendToDataLabel (const edm::ParameterSet &) |
void | setDescription (const ComponentDescription &iDescription) |
std::set< EventSetupRecordKey > | usingRecords () const |
virtual | ~ESProductResolverProvider () noexcept(false) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Private Attributes | |
std::vector< test_acquire::Cache > | caches_ |
const unsigned int | numberOfIOVsToAccumulate_ |
std::vector< TestValue * > | optionalTestPointers_ |
const unsigned int | secondsToWaitForWork_ |
std::unique_ptr< test_acquire::WaitingServer > | server_ |
edm::ESGetToken< IOVTestInfo, ESTestRecordI > | token_ |
std::vector< TestValue * > | uniqueTestPointers_ |
Additional Inherited Members | |
Protected Types inherited from edm::ESProductResolverFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::ESProductResolverProvider | |
using | KeyedResolversVector = std::vector< std::pair< DataKey, std::shared_ptr< ESProductResolver > >> |
Protected Member Functions inherited from edm::ESProducer | |
ESConsumesInfo * | consumesInfoPushBackNew () |
unsigned int | consumesInfoSize () const |
template<typename CallbackT , typename TList , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>> iCallback, const TList *, const TRecord *iRecord, const es::Label &iLabel) |
template<typename CallbackT , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>>, const eventsetup::produce::Null *, const TRecord *, const es::Label &) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord > | |
auto | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord , typename TDecorator > | |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename TFunc > | |
auto | setWhatProduced (TFunc &&func, const es::Label &iLabel={}) |
template<typename TReturn , typename TRecord , typename TFunc , typename TDecorator > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (TFunc &&func, TDecorator &&iDec, const es::Label &iLabel={}) |
void | usesResources (std::vector< std::string > const &) |
Protected Member Functions inherited from edm::ESProductResolverFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ESProductResolverFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedResolversVector | registerResolvers (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
Description: Used in tests of the asynchronous ESProducer.
Definition at line 45 of file AcquireIntESProducer.cc.
edmtest::AcquireIntESProducer::AcquireIntESProducer | ( | edm::ParameterSet const & | pset | ) |
Definition at line 89 of file AcquireIntESProducer.cc.
References acquireOptional(), acquireUniquePtr(), produceESTestDataB(), produceOptional(), produceUniquePtr(), edm::ESProducerExternalWork::setWhatAcquiredProduced(), edm::ESProducer::setWhatProduced(), and token_.
|
override |
Definition at line 108 of file AcquireIntESProducer.cc.
References server_.
|
delete |
|
delete |
int edmtest::AcquireIntESProducer::acquire | ( | ESTestRecordI const & | record, |
edm::WaitingTaskWithArenaHolder | holder | ||
) |
Definition at line 126 of file AcquireIntESProducer.cc.
References edmtest::IOVTestInfo::cacheIdentifier_, caches_, Exception, edm::ValidityInterval::first(), edmtest::IOVTestInfo::iovEndLumi_, edmtest::IOVTestInfo::iovEndRun_, edmtest::IOVTestInfo::iovIndex_, edmtest::IOVTestInfo::iovStartLumi_, edmtest::IOVTestInfo::iovStartRun_, edm::ValidityInterval::last(), edm::IOVSyncValue::luminosityBlockNumber(), edmtest::test_acquire::Cache::processed(), AlCaHarvesting_cff::record, edmtest::test_acquire::Cache::retrieved(), server_, and token_.
std::optional< std::vector< AcquireIntESProducer::TestValue > > edmtest::AcquireIntESProducer::acquireOptional | ( | ESTestRecordI const & | record, |
edm::WaitingTaskWithArenaHolder | holder | ||
) |
Definition at line 208 of file AcquireIntESProducer.cc.
References eostools::move(), optionalTestPointers_, and AlCaHarvesting_cff::record.
Referenced by AcquireIntESProducer().
std::unique_ptr< AcquireIntESProducer::TestValue > edmtest::AcquireIntESProducer::acquireUniquePtr | ( | ESTestRecordI const & | record, |
edm::WaitingTaskWithArenaHolder | holder | ||
) |
Definition at line 190 of file AcquireIntESProducer.cc.
References AlCaHarvesting_cff::record, and uniqueTestPointers_.
Referenced by AcquireIntESProducer().
|
static |
Definition at line 228 of file AcquireIntESProducer.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
|
overridevirtual |
Reimplemented from edm::eventsetup::ESProductResolverProvider.
Definition at line 115 of file AcquireIntESProducer.cc.
References caches_, crabWrapper::key, numberOfIOVsToAccumulate_, optionalTestPointers_, secondsToWaitForWork_, server_, and uniqueTestPointers_.
|
delete |
|
delete |
std::unique_ptr< ESTestDataI > edmtest::AcquireIntESProducer::produce | ( | ESTestRecordI const & | record, |
int | valueReturnedByAcquire | ||
) |
Definition at line 161 of file AcquireIntESProducer.cc.
References edmtest::IOVTestInfo::cacheIdentifier_, caches_, Exception, edm::ValidityInterval::first(), edmtest::IOVTestInfo::iovEndLumi_, edmtest::IOVTestInfo::iovIndex_, edmtest::IOVTestInfo::iovStartLumi_, edm::ValidityInterval::last(), edm::IOVSyncValue::luminosityBlockNumber(), edmtest::test_acquire::Cache::processed(), AlCaHarvesting_cff::record, token_, and findQualityFiles::v.
std::unique_ptr< ESTestDataB > edmtest::AcquireIntESProducer::produceESTestDataB | ( | ESTestRecordB const & | ) |
Definition at line 186 of file AcquireIntESProducer.cc.
Referenced by AcquireIntESProducer().
std::unique_ptr< ESTestDataI > edmtest::AcquireIntESProducer::produceOptional | ( | ESTestRecordI const & | ) |
Definition at line 218 of file AcquireIntESProducer.cc.
References Exception, optionalTestPointers_, and AlCaHarvesting_cff::record.
Referenced by AcquireIntESProducer().
std::unique_ptr< ESTestDataI > edmtest::AcquireIntESProducer::produceUniquePtr | ( | ESTestRecordI const & | record, |
std::unique_ptr< TestValue > | testValue | ||
) |
Definition at line 198 of file AcquireIntESProducer.cc.
References Exception, AlCaHarvesting_cff::record, and uniqueTestPointers_.
Referenced by AcquireIntESProducer().
|
private |
Definition at line 81 of file AcquireIntESProducer.cc.
Referenced by acquire(), initConcurrentIOVs(), and produce().
|
private |
Definition at line 83 of file AcquireIntESProducer.cc.
Referenced by initConcurrentIOVs().
|
private |
Definition at line 86 of file AcquireIntESProducer.cc.
Referenced by acquireOptional(), initConcurrentIOVs(), and produceOptional().
|
private |
Definition at line 84 of file AcquireIntESProducer.cc.
Referenced by initConcurrentIOVs().
|
private |
Definition at line 82 of file AcquireIntESProducer.cc.
Referenced by acquire(), initConcurrentIOVs(), and ~AcquireIntESProducer().
|
private |
Definition at line 80 of file AcquireIntESProducer.cc.
Referenced by acquire(), AcquireIntESProducer(), and produce().
|
private |
Definition at line 85 of file AcquireIntESProducer.cc.
Referenced by acquireUniquePtr(), initConcurrentIOVs(), and produceUniquePtr().