CMS 3D CMS Logo

List of all members | Static Public Member Functions
edm::stream::CallGlobalRunImpl< T, bool > Struct Template Reference

#include <callAbilities.h>

Static Public Member Functions

static void beginRun (edm::Run const &iRun, edm::EventSetup const &iES, typename T::GlobalCache const *iGC, std::shared_ptr< typename T::RunCache const > &oCache)
 
static void endRun (edm::Run const &iRun, edm::EventSetup const &iES, typename T::RunContext const *iContext)
 
template<typename B >
static void set (B *iProd, typename T::RunCache const *iCache)
 

Detailed Description

template<typename T, bool>
struct edm::stream::CallGlobalRunImpl< T, bool >

Definition at line 179 of file callAbilities.h.

Member Function Documentation

◆ beginRun()

template<typename T , bool >
static void edm::stream::CallGlobalRunImpl< T, bool >::beginRun ( edm::Run const &  iRun,
edm::EventSetup const &  iES,
typename T::GlobalCache const *  iGC,
std::shared_ptr< typename T::RunCache const > &  oCache 
)
inlinestatic

Definition at line 180 of file callAbilities.h.

Referenced by edm::stream::EDAnalyzerAdaptor< T >::doBeginRun(), and edm::stream::ProducingModuleAdaptor< T, M, B >::doBeginRun().

183  {
184  oCache = T::globalBeginRun(iRun, iES, iGC);
185  }

◆ endRun()

template<typename T , bool >
static void edm::stream::CallGlobalRunImpl< T, bool >::endRun ( edm::Run const &  iRun,
edm::EventSetup const &  iES,
typename T::RunContext const *  iContext 
)
inlinestatic

Definition at line 192 of file callAbilities.h.

Referenced by edm::stream::EDAnalyzerAdaptor< T >::doEndRun(), and edm::stream::ProducingModuleAdaptor< T, M, B >::doEndRun().

192  {
193  T::globalEndRun(iRun, iES, iContext);
194  }

◆ set()

template<typename T , bool >
template<typename B >
static void edm::stream::CallGlobalRunImpl< T, bool >::set ( B iProd,
typename T::RunCache const *  iCache 
)
inlinestatic

Definition at line 188 of file callAbilities.h.

Referenced by edm::stream::EDAnalyzerAdaptor< T >::setupRun(), and edm::stream::ProducingModuleAdaptor< T, M, B >::setupRun().

188  {
189  static_cast<T*>(iProd)->setRunCache(iCache);
190  }
long double T