test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Static Public Member Functions
edm::stream::CallGlobalLuminosityBlockImpl< T, bool > Struct Template Reference

#include <callAbilities.h>

Static Public Member Functions

static void beginLuminosityBlock (edm::LuminosityBlock const &Lumi, edm::EventSetup const &iES, typename T::RunContext const *iRC, std::shared_ptr< typename T::LuminosityBlockCache const > &oCache)
 
static void endLuminosityBlock (edm::LuminosityBlock const &Lumi, edm::EventSetup const &iES, typename T::LuminosityBlockContext const *iContext)
 
template<typename B >
static void set (B *iProd, typename T::LuminosityBlockCache const *iCache)
 

Detailed Description

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

Definition at line 146 of file callAbilities.h.

Member Function Documentation

template<typename T , bool >
static void edm::stream::CallGlobalLuminosityBlockImpl< T, bool >::beginLuminosityBlock ( edm::LuminosityBlock const &  Lumi,
edm::EventSetup const &  iES,
typename T::RunContext const *  iRC,
std::shared_ptr< typename T::LuminosityBlockCache const > &  oCache 
)
inlinestatic

Definition at line 147 of file callAbilities.h.

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

150  {
151  oCache = T::globalBeginLuminosityBlock(Lumi,iES,iRC);
152  }
template<typename T , bool >
static void edm::stream::CallGlobalLuminosityBlockImpl< T, bool >::endLuminosityBlock ( edm::LuminosityBlock const &  Lumi,
edm::EventSetup const &  iES,
typename T::LuminosityBlockContext const *  iContext 
)
inlinestatic

Definition at line 159 of file callAbilities.h.

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

161  {
162  T::globalEndLuminosityBlock(Lumi, iES, iContext);
163  }
template<typename T , bool >
template<typename B >
static void edm::stream::CallGlobalLuminosityBlockImpl< T, bool >::set ( B iProd,
typename T::LuminosityBlockCache const *  iCache 
)
inlinestatic

Definition at line 155 of file callAbilities.h.

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

155  {
156  static_cast<T*>(iProd)->setLuminosityBlockCache(iCache);
157  }
long double T