1 #ifndef FWCore_Framework_global_implementors_h 2 #define FWCore_Framework_global_implementors_h 39 template <
typename T,
typename C>
54 caches_.resize(iNStreams,static_cast<C*>(
nullptr));
57 caches_[
id.value()] = beginStream(
id).release();
61 delete caches_[
id.value()];
62 caches_[
id.value()]=
nullptr;
65 streamBeginRun(
id,rp,
c);
68 streamEndRun(
id,rp,
c);
71 streamBeginLuminosityBlock(
id,lbp,
c);
74 streamEndLuminosityBlock(
id,lbp,
c);
77 virtual std::unique_ptr<C> beginStream(
edm::StreamID)
const = 0;
88 template <
typename T,
typename C>
99 cache_ = globalBeginRun(rp,
c);
112 template <
typename T,
typename C>
123 cache_ = globalBeginLuminosityBlock(rp,
c);
126 globalEndLuminosityBlock(rp,
c);
138 template <
typename T,
typename C>
148 cache_ = globalBeginRunSummary(rp,
c);
152 streamEndRunSummary(
id,rp,
c,cache_.get());
155 globalEndRunSummary(rp,
c,cache_.get());
170 template <
typename T,
typename C>
181 cache_ = globalBeginLuminosityBlockSummary(lb,
c);
186 streamEndLuminosityBlockSummary(
id,lb,
c,cache_.get());
189 globalEndLuminosityBlockSummary(lb,
c,cache_.get());
202 template <
typename T>
211 void doBeginRunProduce_(
Run& rp,
EventSetup const&
c)
override final;
216 template <
typename T>
226 void doEndRunProduce_(
Run& rp,
EventSetup const&
c)
override final;
231 template <
typename T,
typename C>
248 template <
typename T>
261 template <
typename T>
274 template <
typename T,
typename S>
void doEndLuminosityBlock_(LuminosityBlock const &rp, EventSetup const &c) override final
void doBeginRunSummary_(edm::Run const &rp, EventSetup const &c) override final
std::shared_ptr< C > cache_
virtual void streamEndRun(edm::StreamID, edm::Run const &, edm::EventSetup const &) const
virtual void endStream(edm::StreamID) const
~EndLuminosityBlockProducer() noexcept(false)
~EndRunSummaryProducer() noexcept(false)
void doEndLuminosityBlockSummary_(LuminosityBlock const &lb, EventSetup const &c) override final
void doEndRunProduce_(Run &rp, EventSetup const &c) override final
virtual void doStreamEndLuminosityBlockSummary_(StreamID id, LuminosityBlock const &lb, EventSetup const &c) override final
~EndLuminosityBlockSummaryProducer() noexcept(false)
std::shared_ptr< C > cache_
~RunCacheHolder() noexcept(false)
void doBeginLuminosityBlock_(LuminosityBlock const &rp, EventSetup const &c) override final
virtual void streamBeginRun(edm::StreamID, edm::Run const &, edm::EventSetup const &) const
virtual void preallocStreams(unsigned int iNStreams) override final
void doStreamEndRunSummary_(StreamID id, Run const &rp, EventSetup const &c) override final
virtual void doStreamEndLuminosityBlock_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c) override final
edm::propagate_const< std::shared_ptr< C > > cache_
~BeginRunProducer() noexcept(false)
virtual void doStreamEndRun_(StreamID id, Run const &rp, EventSetup const &c) override final
virtual void streamEndLuminosityBlock(edm::StreamID, edm::LuminosityBlock const &, edm::EventSetup const &) const
~LuminosityBlockSummaryCacheHolder() noexcept(false)
~EndRunProducer() noexcept(false)
~RunSummaryCacheHolder() noexcept(false)
~BeginLuminosityBlockProducer() noexcept(false)
C const * runCache(edm::RunIndex iID) const
std::vector< C * > caches_
virtual void streamBeginLuminosityBlock(edm::StreamID, edm::LuminosityBlock const &, edm::EventSetup const &) const
std::shared_ptr< C > cache_
unsigned int value() const
void doEndLuminosityBlockProduce_(LuminosityBlock &lb, EventSetup const &c) override final
double S(const TLorentzVector &, const TLorentzVector &)
~LuminosityBlockCacheHolder() noexcept(false)
C const * luminosityBlockCache(edm::LuminosityBlockIndex iID) const
virtual void doBeginStream_(StreamID id) override final
C * streamCache(edm::StreamID iID) const
virtual void doEndStream_(StreamID id) override final
void doEndRun_(Run const &rp, EventSetup const &c) override final
void doBeginLuminosityBlockSummary_(edm::LuminosityBlock const &lb, EventSetup const &c) override final
virtual void doStreamBeginLuminosityBlock_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c) override final
void doBeginRun_(Run const &rp, EventSetup const &c) override final
void doEndRunSummary_(Run const &rp, EventSetup const &c) override final
virtual void doStreamBeginRun_(StreamID id, Run const &rp, EventSetup const &c) override final