#include <TransformerBase.h>
Public Member Functions | |
TransformerBase ()=default | |
virtual | ~TransformerBase () noexcept(false)=default |
Protected Types | |
using | PreTransformFunction = std::function< std::any(edm::WrapperBase const &, edm::WaitingTaskWithArenaHolder)> |
using | TransformFunction = std::function< std::unique_ptr< edm::WrapperBase >(std::any)> |
Protected Member Functions | |
void | extendUpdateLookup (ProducerBase const &, ModuleDescription const &iModuleDesc, ProductResolverIndexHelper const &iHelper) |
std::size_t | findMatchingIndex (ProducerBase const &iBase, edm::BranchDescription const &) const noexcept |
ProductResolverIndex | prefetchImp (std::size_t iIndex) const noexcept |
void | registerTransformAsyncImp (ProducerBase &, EDPutToken, const TypeID &id, std::string instanceName, PreTransformFunction, TransformFunction) |
void | registerTransformImp (ProducerBase &, EDPutToken, const TypeID &id, std::string instanceName, TransformFunction) |
void | transformImpAsync (WaitingTaskHolder iTask, std::size_t iIndex, edm::ActivityRegistry *iAct, ProducerBase const &iBase, edm::EventForTransformer &) const noexcept |
Private Types | |
enum | InfoColumns { kResolverIndex, kType, kToken, kPreTransform, kTransform } |
Private Attributes | |
SoATuple< ProductResolverIndex, TypeID, EDPutToken, PreTransformFunction, TransformFunction > | transformInfo_ |
Definition at line 33 of file TransformerBase.h.
|
protected |
Definition at line 42 of file TransformerBase.h.
|
protected |
Definition at line 41 of file TransformerBase.h.
|
private |
Enumerator | |
---|---|
kResolverIndex | |
kType | |
kToken | |
kPreTransform | |
kTransform |
Definition at line 63 of file TransformerBase.h.
|
default |
|
virtualdefaultnoexcept |
|
protected |
Definition at line 94 of file TransformerBase.cc.
References edm::ProductResolverIndexHelper::index(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, edm::ModuleDescription::moduleLabel(), edm::ModuleDescription::processName(), edm::PRODUCT_TYPE, transformInfo_, and edm::ProducerBase::typeLabelList().
Referenced by edm::stream::impl::Transformer::extendUpdateLookup(), edm::one::impl::Transformer< T >::extendUpdateLookup(), edm::limited::impl::Transformer< T >::extendUpdateLookup(), and edm::global::impl::Transformer< T >::extendUpdateLookup().
|
protectednoexcept |
Definition at line 73 of file TransformerBase.cc.
References cms::cuda::assert(), and newFWLiteAna::found.
Referenced by edm::stream::impl::Transformer::transformIndex_(), edm::one::impl::Transformer< T >::transformIndex_(), edm::limited::impl::Transformer< T >::transformIndex_(), and edm::global::impl::Transformer< T >::transformIndex_().
|
inlineprotectednoexcept |
Definition at line 49 of file TransformerBase.h.
References kResolverIndex, and transformInfo_.
Referenced by edm::stream::impl::Transformer::transformPrefetch_(), edm::one::impl::Transformer< T >::transformPrefetch_(), edm::limited::impl::Transformer< T >::transformPrefetch_(), and edm::global::impl::Transformer< T >::transformPrefetch_().
|
protected |
Definition at line 63 of file TransformerBase.cc.
References EcalPhiSymFlatTableProducers_cfi::id, edm::EDPutToken::index(), eostools::move(), transformInfo_, and edm::ProducerBase::transforms().
Referenced by edm::stream::impl::Transformer::registerTransformAsync(), edm::one::impl::Transformer< T >::registerTransformAsync(), edm::limited::impl::Transformer< T >::registerTransformAsync(), and edm::global::impl::Transformer< T >::registerTransformAsync().
|
protected |
Definition at line 56 of file TransformerBase.cc.
References EcalPhiSymFlatTableProducers_cfi::id, edm::EDPutToken::index(), eostools::move(), transformInfo_, and edm::ProducerBase::transforms().
Referenced by edm::stream::impl::Transformer::registerTransform(), edm::one::impl::Transformer< T >::registerTransform(), edm::limited::impl::Transformer< T >::registerTransform(), and edm::global::impl::Transformer< T >::registerTransform().
|
protectednoexcept |
Definition at line 109 of file TransformerBase.cc.
References any(), utilities::cache(), CMS_SA_ALLOW, edm::ModuleCallingContext::getStreamContext(), patZpeak::handle, iEvent, kType(), edm::make_waiting_task(), eostools::move(), Types::optional, and findQualityFiles::v.
Referenced by edm::stream::impl::Transformer::transformAsync_(), edm::one::impl::Transformer< T >::transformAsync_(), edm::limited::impl::Transformer< T >::transformAsync_(), and edm::global::impl::Transformer< T >::transformAsync_().
|
private |
Definition at line 64 of file TransformerBase.h.
Referenced by extendUpdateLookup(), prefetchImp(), registerTransformAsyncImp(), and registerTransformImp().