Public Member Functions | |
void | produce (edm::StreamID, device::Event &iEvent, device::EventSetup const &iSetup) const override |
TestAlpakaGlobalProducerOffset (edm::ParameterSet const &config) | |
Public Member Functions inherited from ALPAKA_ACCELERATOR_NAMESPACE::global::EDProducer<> | |
void | produce (edm::StreamID sid, edm::Event &iEvent, edm::EventSetup const &iSetup) const final |
Public Member Functions inherited from edm::ProducerBase< edm::global::EDProducer, Args... > | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
std::vector< bool > const & | recordProvenanceList () const |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
TypeLabelList const & | typeLabelList () const |
used by the fwk to register the list of products of this module More... | |
~ProducerBase () noexcept(false) override | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
TestAlgo const | algo_ {} |
device::EDPutToken< portabletest::TestDeviceCollection > const | deviceToken_ |
device::ESGetToken< AlpakaESTestDataADevice, AlpakaESTestRecordA > const | esToken_ |
double const | x_ |
Additional Inherited Members | |
Public Types inherited from edm::ProducerBase< edm::global::EDProducer, Args... > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Protected Member Functions inherited from edm::ProducerBase< edm::global::EDProducer, Args... > | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
BranchAliasSetterT< ProductType > | produces () |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
This class is primarily for consuming AlpakaESTestDataEDevice ESProduct. It also demonstrates a proof-of-concept for backend-specific configuration parameters.
Definition at line 22 of file TestAlpakaGlobalProducerOffset.cc.
|
inline |
Definition at line 24 of file TestAlpakaGlobalProducerOffset.cc.
References edm::ProducerBase< edm::global::EDProducer, Args... >::produces().
|
inlinestatic |
Definition at line 41 of file TestAlpakaGlobalProducerOffset.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), and submitPVResolutionJobs::desc.
|
inlineoverridevirtual |
Implements ALPAKA_ACCELERATOR_NAMESPACE::global::EDProducer<>.
Definition at line 30 of file TestAlpakaGlobalProducerOffset.cc.
References algo_, deviceToken_, esToken_, ALPAKA_ACCELERATOR_NAMESPACE::TestAlgo::fill(), ALPAKA_ACCELERATOR_NAMESPACE::device::EventSetup::getData(), iEvent, eostools::move(), and x_.
|
private |
Definition at line 60 of file TestAlpakaGlobalProducerOffset.cc.
Referenced by produce().
|
private |
Definition at line 58 of file TestAlpakaGlobalProducerOffset.cc.
Referenced by produce().
|
private |
Definition at line 57 of file TestAlpakaGlobalProducerOffset.cc.
Referenced by produce().
|
private |
Definition at line 62 of file TestAlpakaGlobalProducerOffset.cc.
Referenced by produce().