1 #ifndef FWCore_Framework_stream_implementors_h 2 #define FWCore_Framework_stream_implementors_h 44 class WaitingTaskWithArenaHolder;
66 template <
typename... CacheTypes>
77 template <std::
size_t N>
80 template <std::
size_t ICacheType,
typename DataType,
typename Func>
82 registerProcessBlockCacheFiller<ICacheType, CacheTypeT<ICacheType>,
DataType, Func>(
83 token, std::forward<Func>(cacheFiller));
86 template <
typename CacheType,
typename DataType,
typename Func>
88 static_assert(edm::impl::countTypeInParameterPack<CacheType, CacheTypes...>() == 1u,
89 "If registerProcessBlockCacheFiller is called with a type template parameter\n" 90 "then that type must appear exactly once in the template parameters of InputProcessBlockCache");
95 registerProcessBlockCacheFiller<I, CacheType, DataType, Func>(
token, std::forward<Func>(cacheFiller));
99 template <
typename T,
bool,
bool>
117 template <
typename GlobalCacheType>
120 template <std::
size_t ICacheType,
typename CacheType,
typename DataType,
typename Func>
127 if (!
tokenInfos()[ICacheType].token_.isUninitialized()) {
129 <<
"registerProcessBlockCacheFiller should only be called once per cache type";
136 std::forward<Func>(cacheFiller));
158 template <
typename C>
173 template <
typename C>
188 template <
typename C>
200 template <
typename C>
EndProcessBlockProducer()=default
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)
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)
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
EndRunProducer & operator=(EndRunProducer const &)=delete
LuminosityBlockCacheHolder()=default
BeginLuminosityBlockProducer()=default
LuminosityBlockCacheHolder< C > & operator=(LuminosityBlockCacheHolder< C > const &)=delete
RunSummaryCacheHolder()=default
LuminosityBlockSummaryCacheHolder()=default
void produce(Event &ev, EventSetup const &es) final