1 #ifndef FWCore_Framework_stream_implementors_h 2 #define FWCore_Framework_stream_implementors_h 46 class WaitingTaskWithArenaHolder;
68 template <
typename... CacheTypes>
79 template <std::
size_t N>
82 template <std::
size_t ICacheType,
typename DataType,
typename Func>
84 registerProcessBlockCacheFiller<ICacheType, CacheTypeT<ICacheType>,
DataType, Func>(
85 token, std::forward<Func>(cacheFiller));
88 template <
typename CacheType,
typename DataType,
typename Func>
90 static_assert(edm::impl::countTypeInParameterPack<CacheType, CacheTypes...>() == 1u,
91 "If registerProcessBlockCacheFiller is called with a type template parameter\n" 92 "then that type must appear exactly once in the template parameters of InputProcessBlockCache");
97 registerProcessBlockCacheFiller<I, CacheType, DataType, Func>(
token, std::forward<Func>(cacheFiller));
101 template <
typename T,
bool,
bool>
119 template <
typename GlobalCacheType>
122 template <std::
size_t ICacheType,
typename CacheType,
typename DataType,
typename Func>
129 if (!
tokenInfos()[ICacheType].token_.isUninitialized()) {
131 <<
"registerProcessBlockCacheFiller should only be called once per cache type";
138 std::forward<Func>(cacheFiller));
160 template <
typename C>
175 template <
typename C>
190 template <
typename C>
202 template <
typename C>
301 template <
typename G,
typename F>
308 template <
typename G,
typename F>
310 using ReturnTypeT = decltype(iF(std::declval<G>()));
319 return std::make_unique<edm::Wrapper<ReturnTypeT>>(
324 template <
typename G,
typename P,
typename F>
330 using ReturnTypeT = decltype(iF(std::declval<CacheTypeT>()));
341 auto cache = std::any_cast<CacheTypeT>(iCache);
EndProcessBlockProducer()=default
unsigned int ProductResolverIndex
RunCacheHolder< C > & operator=(RunCacheHolder< C > const &)=delete
BeginRunProducer & operator=(BeginRunProducer const &)=delete
void setLuminosityBlockCache(C const *iCache)
GlobalCacheHolder< C > & operator=(GlobalCacheHolder< C > const &)=delete
virtual ~RunSummaryCacheHolder() noexcept(false)
bool any(const std::vector< T > &v, const T &what)
constexpr std::size_t indexInputProcessBlockCache()
BeginProcessBlockProducer()=default
GlobalCacheHolder()=default
virtual void accumulate(Event const &ev, EventSetup const &es)=0
C const * runCache() const
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
EndLuminosityBlockProducer & operator=(EndLuminosityBlockProducer const &)=delete
BeginRunProducer()=default
virtual void endRunSummary(edm::Run const &, edm::EventSetup const &, C *) const =0
Accumulator & operator=(Accumulator const &)=delete
RunSummaryCacheHolder< C > & operator=(RunSummaryCacheHolder< C > const &)=delete
virtual void acquire(Event const &, edm::EventSetup const &, WaitingTaskWithArenaHolder)=0
BeginProcessBlockProducer & operator=(BeginProcessBlockProducer const &)=delete
virtual ~LuminosityBlockSummaryCacheHolder() noexcept(false)
EndProcessBlockProducer & operator=(EndProcessBlockProducer const &)=delete
virtual void endLuminosityBlockSummary(edm::LuminosityBlock const &, edm::EventSetup const &, C *) const =0
virtual ~ExternalWork() noexcept(false)
edm::TypeWithDict returnType(const edm::FunctionWithDict &)
BeginLuminosityBlockProducer & operator=(BeginLuminosityBlockProducer const &)=delete
void setGlobalCache(C const *iCache)
ExternalWork & operator=(ExternalWork const &)=delete
const std::complex< double > I
C const * luminosityBlockCache() const
~Accumulator() noexcept(false) override
WatchProcessBlock()=default
C const * globalCache() const
void setRunCache(C const *iCache)
EndLuminosityBlockProducer()=default
LuminosityBlockSummaryCacheHolder< C > & operator=(LuminosityBlockSummaryCacheHolder< C > const &)=delete
WatchProcessBlock & operator=(WatchProcessBlock const &)=delete
std::pair< OmniClusterRef, TrackingParticleRef > P
EndRunProducer & operator=(EndRunProducer const &)=delete
LuminosityBlockCacheHolder()=default
BeginLuminosityBlockProducer()=default
LuminosityBlockCacheHolder< C > & operator=(LuminosityBlockCacheHolder< C > const &)=delete
RunSummaryCacheHolder()=default
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
ModuleDescription const & moduleDescription() const
LuminosityBlockSummaryCacheHolder()=default
void produce(Event &ev, EventSetup const &es) final