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));
88 template <
typename T,
typename C>
112 template <
typename T,
typename C>
138 template <
typename T,
typename C>
170 template <
typename T,
typename C>
202 template <
typename T>
216 template <
typename T>
231 template <
typename T,
typename C>
232 class EndRunSummaryProducer :
public RunSummaryCacheHolder<T,C> {
248 template <
typename T>
261 template <
typename T>
274 template <
typename T,
typename S>
275 class EndLuminosityBlockSummaryProducer :
public LuminosityBlockSummaryCacheHolder<T,S> {
EndLuminosityBlockSummaryProducer()=default
void doEndLuminosityBlock_(LuminosityBlock const &rp, EventSetup const &c) overridefinal
virtual void doBeginStream_(StreamID id) overridefinal
void doEndLuminosityBlockProduce_(LuminosityBlock &lb, EventSetup const &c) overridefinal
void doStreamEndRunSummary_(StreamID id, Run const &rp, EventSetup const &c) overridefinal
RunCacheHolder< T, C > & operator=(RunCacheHolder< T, C > const &)=delete
virtual void globalEndRun(edm::Run const &, edm::EventSetup const &) const =0
std::shared_ptr< C > cache_
virtual void streamEndRun(edm::StreamID, edm::Run const &, edm::EventSetup const &) const
virtual void endStream(edm::StreamID) const
LuminosityBlockSummaryCacheHolder< T, C > & operator=(LuminosityBlockSummaryCacheHolder< T, C > const &)=delete
virtual void globalBeginRunProduce(edm::Run &, edm::EventSetup const &) const =0
~EndLuminosityBlockProducer() noexcept(false)
~EndRunSummaryProducer() noexcept(false)
EndRunSummaryProducer()=default
void doBeginRun_(Run const &rp, EventSetup const &c) overridefinal
RunSummaryCacheHolder()=default
virtual std::shared_ptr< C > globalBeginLuminosityBlockSummary(edm::LuminosityBlock const &, edm::EventSetup const &) const =0
BeginRunProducer()=default
virtual void globalEndRunProduce(edm::Run &, edm::EventSetup const &, C const *) const =0
virtual void doEndStream_(StreamID id) overridefinal
virtual void doStreamBeginLuminosityBlock_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c) overridefinal
virtual void globalBeginLuminosityBlockProduce(edm::LuminosityBlock &, edm::EventSetup const &) const =0
std::shared_ptr< C > cache_
virtual void streamEndRunSummary(StreamID, edm::Run const &, edm::EventSetup const &, C *) const =0
~RunCacheHolder() noexcept(false)
virtual std::unique_ptr< C > beginStream(edm::StreamID) const =0
virtual void streamBeginRun(edm::StreamID, edm::Run const &, edm::EventSetup const &) const
void doEndLuminosityBlockSummary_(LuminosityBlock const &lb, EventSetup const &c) overridefinal
EndRunProducer & operator=(EndRunProducer const &)=delete
virtual void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) const =0
virtual void globalEndLuminosityBlockSummary(edm::LuminosityBlock const &, edm::EventSetup const &, C *) const =0
virtual void preallocStreams(unsigned int iNStreams) overridefinal
void doEndRunProduce_(Run &rp, EventSetup const &c) overridefinal
StreamCacheHolder()=default
BeginLuminosityBlockProducer()=default
virtual std::shared_ptr< C > globalBeginRun(edm::Run const &, edm::EventSetup const &) const =0
EndRunSummaryProducer & operator=(EndRunSummaryProducer const &)=delete
EndLuminosityBlockProducer & operator=(EndLuminosityBlockProducer const &)=delete
RunSummaryCacheHolder< T, C > & operator=(RunSummaryCacheHolder< T, C > const &)=delete
virtual void streamEndLuminosityBlockSummary(StreamID, edm::LuminosityBlock const &, edm::EventSetup const &, C *) const =0
void doBeginLuminosityBlock_(LuminosityBlock const &rp, EventSetup const &c) overridefinal
void doBeginRunSummary_(edm::Run const &rp, EventSetup const &c) overridefinal
edm::propagate_const< std::shared_ptr< C > > cache_
void doBeginRunProduce_(Run &rp, EventSetup const &c) overridefinal
~BeginRunProducer() noexcept(false)
virtual void streamEndLuminosityBlock(edm::StreamID, edm::LuminosityBlock const &, edm::EventSetup const &) const
~LuminosityBlockSummaryCacheHolder() noexcept(false)
void doEndRun_(Run const &rp, EventSetup const &c) overridefinal
~EndRunProducer() noexcept(false)
BeginLuminosityBlockProducer & operator=(BeginLuminosityBlockProducer const &)=delete
~EndLuminosityBlockSummaryProducer() noexcept(false)
virtual std::shared_ptr< C > globalBeginRunSummary(edm::Run const &, edm::EventSetup const &) const =0
~RunSummaryCacheHolder() noexcept(false)
element_type const * get() const
~BeginLuminosityBlockProducer() noexcept(false)
virtual void doStreamEndRun_(StreamID id, Run const &rp, EventSetup const &c) overridefinal
void doEndRunProduce_(Run &rp, EventSetup const &c) overridefinal
C const * runCache(edm::RunIndex iID) const
virtual void globalEndRunProduce(edm::Run &, edm::EventSetup const &) const =0
std::vector< C * > caches_
virtual void streamBeginLuminosityBlock(edm::StreamID, edm::LuminosityBlock const &, edm::EventSetup const &) const
StreamCacheHolder< T, C > & operator=(StreamCacheHolder< T, C > const &)=delete
std::shared_ptr< C > cache_
unsigned int value() const
BeginRunProducer & operator=(BeginRunProducer const &)=delete
LuminosityBlockCacheHolder()=default
double S(const TLorentzVector &, const TLorentzVector &)
~LuminosityBlockCacheHolder() noexcept(false)
C const * luminosityBlockCache(edm::LuminosityBlockIndex iID) const
void doEndRunSummary_(Run const &rp, EventSetup const &c) overridefinal
virtual void globalEndLuminosityBlockProduce(edm::LuminosityBlock &, edm::EventSetup const &, S const *) const =0
virtual void globalEndRunSummary(edm::Run const &, edm::EventSetup const &, C *) const =0
virtual void doStreamBeginRun_(StreamID id, Run const &rp, EventSetup const &c) overridefinal
LuminosityBlockCacheHolder< T, C > & operator=(LuminosityBlockCacheHolder< T, C > const &)=delete
C * streamCache(edm::StreamID iID) const
LuminosityBlockSummaryCacheHolder()=default
volatile std::atomic< bool > shutdown_flag false
void doBeginLuminosityBlockProduce_(LuminosityBlock &lb, EventSetup const &c) overridefinal
virtual void doStreamEndLuminosityBlock_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c) overridefinal
EndLuminosityBlockProducer()=default
void doEndLuminosityBlockProduce_(LuminosityBlock &lb, EventSetup const &c) overridefinal
virtual void globalEndLuminosityBlockProduce(edm::LuminosityBlock &, edm::EventSetup const &) const =0
EndLuminosityBlockSummaryProducer & operator=(EndLuminosityBlockSummaryProducer const &)=delete
virtual void doStreamEndLuminosityBlockSummary_(StreamID id, LuminosityBlock const &lb, EventSetup const &c) overridefinal
virtual std::shared_ptr< C > globalBeginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) const =0
void doBeginLuminosityBlockSummary_(edm::LuminosityBlock const &lb, EventSetup const &c) overridefinal