|
|
Go to the documentation of this file. 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";
135 std::function<std::shared_ptr<CacheType>(
ProcessBlock const&, std::shared_ptr<CacheType>
const&)>(
136 std::forward<Func>(cacheFiller));
158 template <
typename C>
173 template <
typename C>
188 template <
typename C>
200 template <
typename C>
LuminosityBlockSummaryCacheHolder()=default
BeginProcessBlockProducer & operator=(BeginProcessBlockProducer const &)=delete
BeginRunProducer & operator=(BeginRunProducer const &)=delete
virtual ~RunSummaryCacheHolder() noexcept(false)
void setRunCache(C const *iCache)
ExternalWork & operator=(ExternalWork const &)=delete
GlobalCacheHolder()=default
uint32_t const T *__restrict__ const uint32_t *__restrict__ int32_t int Histo::index_type cudaStream_t stream
virtual ~ExternalWork() noexcept(false)
LuminosityBlockCacheHolder()=default
RunSummaryCacheHolder< C > & operator=(RunSummaryCacheHolder< C > const &)=delete
virtual void endLuminosityBlockSummary(edm::LuminosityBlock const &, edm::EventSetup const &, C *) const =0
BeginRunProducer()=default
virtual void endRunSummary(edm::Run const &, edm::EventSetup const &, C *) const =0
BeginProcessBlockProducer()=default
WatchProcessBlock & operator=(WatchProcessBlock const &)=delete
virtual ~LuminosityBlockSummaryCacheHolder() noexcept(false)
const std::complex< double > I
EndRunProducer & operator=(EndRunProducer const &)=delete
EndLuminosityBlockProducer()=default
BeginLuminosityBlockProducer & operator=(BeginLuminosityBlockProducer const &)=delete
void setGlobalCache(C const *iCache)
constexpr std::size_t indexInputProcessBlockCache()
Accumulator & operator=(Accumulator const &)=delete
void produce(Event &ev, EventSetup const &es) final
LuminosityBlockSummaryCacheHolder< C > & operator=(LuminosityBlockSummaryCacheHolder< C > const &)=delete
GlobalCacheHolder< C > & operator=(GlobalCacheHolder< C > const &)=delete
WatchProcessBlock()=default
virtual void acquire(Event const &, edm::EventSetup const &, WaitingTaskWithArenaHolder)=0
EndProcessBlockProducer()=default
EndLuminosityBlockProducer & operator=(EndLuminosityBlockProducer const &)=delete
LuminosityBlockCacheHolder< C > & operator=(LuminosityBlockCacheHolder< C > const &)=delete
void setLuminosityBlockCache(C const *iCache)
virtual void accumulate(Event const &ev, EventSetup const &es)=0
~Accumulator() noexcept(false) override
EndProcessBlockProducer & operator=(EndProcessBlockProducer const &)=delete
C const * runCache() const
C const * globalCache() const
BeginLuminosityBlockProducer()=default
RunCacheHolder< C > & operator=(RunCacheHolder< C > const &)=delete
RunSummaryCacheHolder()=default
C const * luminosityBlockCache() const