#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 |
ProductResolverIndex | prefetchImp (std::size_t iIndex) const |
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, ProducerBase const &iBase, edm::EventForTransformer &) const |
Private Types | |
enum | InfoColumns { kResolverIndex, kType, kToken, kPreTransform, kTransform } |
Private Attributes | |
SoATuple< ProductResolverIndex, TypeID, EDPutToken, PreTransformFunction, TransformFunction > | transformInfo_ |
Definition at line 32 of file TransformerBase.h.
|
protected |
Definition at line 41 of file TransformerBase.h.
|
protected |
Definition at line 40 of file TransformerBase.h.
|
private |
Enumerator | |
---|---|
kResolverIndex | |
kType | |
kToken | |
kPreTransform | |
kTransform |
Definition at line 59 of file TransformerBase.h.
|
default |
|
virtualdefaultnoexcept |
|
protected |
Definition at line 51 of file TransformerBase.cc.
References edm::ProductResolverIndexHelper::index(), 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().
|
protected |
Definition at line 30 of file TransformerBase.cc.
References cms::cuda::assert(), newFWLiteAna::found, edm::BranchDescription::productInstanceName(), edm::ProducerBase::typeLabelList(), and edm::BranchDescription::unwrappedTypeID().
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_().
|
inlineprotected |
Definition at line 48 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 20 of file TransformerBase.cc.
References l1ctLayer2EG_cff::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 13 of file TransformerBase.cc.
References l1ctLayer2EG_cff::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().
|
protected |
Definition at line 66 of file TransformerBase.cc.
References any(), utilities::cache(), CMS_SA_ALLOW, edm::WaitingTaskHolder::doneWaiting(), edm::WaitingTaskHolder::group(), patZpeak::handle, iEvent, kPreTransform, kResolverIndex, kToken, kTransform, kType, edm::make_waiting_task(), eostools::move(), Types::optional, edm::ProducerBase::putTokenIndexToProductResolverIndex(), transformInfo_, 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 60 of file TransformerBase.h.
Referenced by extendUpdateLookup(), prefetchImp(), registerTransformAsyncImp(), registerTransformImp(), and transformImpAsync().