|
|
Go to the documentation of this file. 1 #ifndef FWCore_Framework_global_implementors_h
2 #define FWCore_Framework_global_implementors_h
37 class WaitingTaskWithArenaHolder;
43 template <
typename T,
typename C>
90 template <
typename T,
typename C>
115 template <
typename T,
typename C>
139 template <
typename T,
typename C>
165 std::unique_ptr<std::shared_ptr<C>[]>
caches_;
168 template <
typename T,
typename C>
171 template <
typename T,
typename C>
186 std::lock_guard<std::mutex> guard(
mutex_);
201 template <
typename T,
typename C>
204 template <
typename T,
typename C>
222 std::lock_guard<std::mutex> guard(
mutex_);
242 std::unique_ptr<std::shared_ptr<C>[]>
caches_;
246 template <
typename T>
262 template <
typename T>
276 template <
typename T>
290 template <
typename T>
304 template <
typename T>
318 template <
typename T,
typename C>
319 class EndRunSummaryProducer :
public RunSummaryCacheHolder<T, C> {
334 template <
typename T>
347 template <
typename T>
360 template <
typename T,
typename S>
361 class EndLuminosityBlockSummaryProducer :
public LuminosityBlockSummaryCacheHolder<T, S> {
380 template <
typename T>
396 template <
typename T>
std::shared_ptr< C > cache_
void preallocLumis(unsigned int iNLumis) final
virtual void endStream(edm::StreamID) const
RunSummaryCacheHolder()=default
BeginProcessBlockProducer & operator=(BeginProcessBlockProducer const &)=delete
std::vector< C * > caches_
virtual void acquire(StreamID, Event const &, edm::EventSetup const &, WaitingTaskWithArenaHolder) const =0
virtual void globalEndLuminosityBlockProduce(edm::LuminosityBlock &, edm::EventSetup const &, S const *) const =0
virtual void globalBeginRunProduce(edm::Run &, edm::EventSetup const &) const =0
EndLuminosityBlockSummaryProducer()=default
std::unique_ptr< std::shared_ptr< C >[]> caches_
void doEndRun_(Run const &rp, EventSetup const &c) final
LuminosityBlockIndex index() const
void doStreamEndLuminosityBlockSummary_(StreamID id, LuminosityBlock const &lb, EventSetup const &c) final
StreamCacheHolder< T, C > & operator=(StreamCacheHolder< T, C > const &)=delete
EndRunSummaryProducer & operator=(EndRunSummaryProducer const &)=delete
void doBeginLuminosityBlock_(LuminosityBlock const &lp, EventSetup const &c) final
void doEndProcessBlock_(ProcessBlock const &) final
~RunCacheHolder() noexcept(false) override
virtual void globalEndRunSummary(edm::Run const &, edm::EventSetup const &, C *) const =0
constexpr element_type const * get() const
void doEndLuminosityBlockProduce_(LuminosityBlock &lb, EventSetup const &c) final
EndRunProducer & operator=(EndRunProducer const &)=delete
bool hasAcquire() const override
unsigned int value() const
virtual void globalBeginLuminosityBlockProduce(edm::LuminosityBlock &, edm::EventSetup const &) const =0
BeginRunProducer()=default
~LuminosityBlockSummaryCacheHolder() noexcept(false) override
EndProcessBlockProducer()=default
~EndProcessBlockProducer() noexcept(false) override
~EndLuminosityBlockProducer() noexcept(false) override
~EndLuminosityBlockSummaryProducer() noexcept(false) override
virtual void globalEndRun(edm::Run const &, edm::EventSetup const &) const =0
bool hasAccumulator() const override
LuminosityBlockSummaryCacheHolder< T, C > & operator=(LuminosityBlockSummaryCacheHolder< T, C > const &)=delete
BeginLuminosityBlockProducer()=default
virtual void globalEndLuminosityBlockSummary(edm::LuminosityBlock const &, edm::EventSetup const &, C *) const =0
void doEndLuminosityBlockProduce_(LuminosityBlock &lb, EventSetup const &c) final
virtual void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) const =0
void doBeginRunProduce_(Run &rp, EventSetup const &c) final
void doStreamEndLuminosityBlock_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c) final
StreamCacheHolder()=default
RunSummaryCacheHolder< T, C > & operator=(RunSummaryCacheHolder< T, C > const &)=delete
void doStreamBeginRun_(StreamID id, Run const &rp, EventSetup const &c) final
virtual void streamBeginLuminosityBlock(edm::StreamID, edm::LuminosityBlock const &, edm::EventSetup const &) const
C const * luminosityBlockCache(edm::LuminosityBlockIndex iID) const
virtual void beginProcessBlock(ProcessBlock const &) const
EndLuminosityBlockProducer & operator=(EndLuminosityBlockProducer const &)=delete
WatchProcessBlock & operator=(WatchProcessBlock const &)=delete
virtual void globalEndLuminosityBlockProduce(edm::LuminosityBlock &, edm::EventSetup const &) const =0
~ExternalWork() noexcept(false) override
~EndRunSummaryProducer() noexcept(false) override
EndProcessBlockProducer & operator=(EndProcessBlockProducer const &)=delete
virtual void endProcessBlock(ProcessBlock const &) const
~EndRunProducer() noexcept(false) override
void doBeginLuminosityBlockSummary_(edm::LuminosityBlock const &lb, EventSetup const &c) final
void doEndRunSummary_(Run const &rp, EventSetup const &c) final
void doEndProcessBlockProduce_(ProcessBlock &) final
virtual std::shared_ptr< C > globalBeginRunSummary(edm::Run const &, edm::EventSetup const &) const =0
~StreamCacheHolder() override
std::unique_ptr< std::shared_ptr< C >[]> caches_
virtual std::unique_ptr< C > beginStream(edm::StreamID) const =0
void maybeClearCache(LuminosityBlock const &) final
virtual void accumulate(StreamID streamID, Event const &ev, EventSetup const &es) const =0
virtual void streamEndRunSummary(StreamID, edm::Run const &, edm::EventSetup const &, C *) const =0
~BeginRunProducer() noexcept(false) override
virtual void endProcessBlockProduce(edm::ProcessBlock &) const =0
RunCacheHolder< T, C > & operator=(RunCacheHolder< T, C > const &)=delete
void doBeginRun_(Run const &rp, EventSetup const &c) final
C const * runCache(edm::RunIndex iID) const
BeginRunProducer & operator=(BeginRunProducer const &)=delete
virtual std::shared_ptr< C > globalBeginLuminosityBlockSummary(edm::LuminosityBlock const &, edm::EventSetup const &) const =0
EndRunSummaryProducer()=default
virtual void globalEndRunProduce(edm::Run &, edm::EventSetup const &) const =0
void doBeginRunSummary_(edm::Run const &rp, EventSetup const &c) final
virtual void streamBeginRun(edm::StreamID, edm::Run const &, edm::EventSetup const &) const
~LuminosityBlockCacheHolder() noexcept(false) override
T const & get(Event const &event, InputTag const &tag) noexcept(false)
void doBeginStream_(StreamID id) final
WatchProcessBlock()=default
virtual std::shared_ptr< C > globalBeginRun(edm::Run const &, edm::EventSetup const &) const =0
~RunSummaryCacheHolder() noexcept(false) override
void doEndRunProduce_(Run &rp, EventSetup const &c) final
BeginLuminosityBlockProducer & operator=(BeginLuminosityBlockProducer const &)=delete
ExternalWork & operator=(ExternalWork const &)=delete
void produce(StreamID streamID, Event &ev, EventSetup const &es) const final
virtual void beginProcessBlockProduce(edm::ProcessBlock &) const =0
void preallocStreams(unsigned int iNStreams) final
~Accumulator() noexcept(false) override
EndLuminosityBlockSummaryProducer & operator=(EndLuminosityBlockSummaryProducer const &)=delete
virtual void maybeClearCache(LuminosityBlock const &lb)
void doBeginProcessBlock_(ProcessBlock const &) final
LuminosityBlockCacheHolder()=default
virtual void streamEndLuminosityBlockSummary(StreamID, edm::LuminosityBlock const &, edm::EventSetup const &, C *) const =0
edm::propagate_const< std::shared_ptr< C > > cache_
LuminosityBlockSummaryCacheHolder()=default
void doEndRunProduce_(Run &rp, EventSetup const &c) final
void doStreamBeginLuminosityBlock_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c) final
void doAcquire_(StreamID, Event const &, edm::EventSetup const &, WaitingTaskWithArenaHolder &) final
void doEndLuminosityBlock_(LuminosityBlock const &lp, EventSetup const &c) final
C * streamCache(edm::StreamID iID) const
void doStreamEndRun_(StreamID id, Run const &rp, EventSetup const &c) final
void preallocLumisSummary(unsigned int iNLumis) final
LuminosityBlockCacheHolder< T, C > & operator=(LuminosityBlockCacheHolder< T, C > const &)=delete
~WatchProcessBlock() noexcept(false) override
void doBeginProcessBlockProduce_(ProcessBlock &) final
~BeginLuminosityBlockProducer() noexcept(false) override
void doEndLuminosityBlockSummary_(LuminosityBlock const &lb, EventSetup const &c) final
BeginProcessBlockProducer()=default
virtual void streamEndRun(edm::StreamID, edm::Run const &, edm::EventSetup const &) const
~BeginProcessBlockProducer() noexcept(false) override
void doEndStream_(StreamID id) final
virtual std::shared_ptr< C > globalBeginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) const =0
virtual void streamEndLuminosityBlock(edm::StreamID, edm::LuminosityBlock const &, edm::EventSetup const &) const
virtual void globalEndRunProduce(edm::Run &, edm::EventSetup const &, C const *) const =0
EndLuminosityBlockProducer()=default
Accumulator & operator=(Accumulator const &)=delete
void doBeginLuminosityBlockProduce_(LuminosityBlock &lb, EventSetup const &c) final
void doStreamEndRunSummary_(StreamID id, Run const &rp, EventSetup const &c) final