CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::InputSource::LumiSourceSentry Class Reference

#include <InputSource.h>

Public Member Functions

 LumiSourceSentry (InputSource const &source, LuminosityBlockIndex id)
 
 LumiSourceSentry (LumiSourceSentry const &)=delete
 
LumiSourceSentryoperator= (LumiSourceSentry const &)=delete
 
 ~LumiSourceSentry ()
 

Private Attributes

LuminosityBlockIndex index_
 
InputSource const & source_
 

Detailed Description

Definition at line 252 of file InputSource.h.

Constructor & Destructor Documentation

◆ LumiSourceSentry() [1/2]

edm::InputSource::LumiSourceSentry::LumiSourceSentry ( InputSource const &  source,
LuminosityBlockIndex  id 
)

Definition at line 474 of file InputSource.cc.

475  : source_(source), index_(index) {
476  source_.actReg()->preSourceLumiSignal_(index_);
477  }

References edm::InputSource::actReg(), index_, and source_.

◆ ~LumiSourceSentry()

edm::InputSource::LumiSourceSentry::~LumiSourceSentry ( )

Definition at line 479 of file InputSource.cc.

479 { source_.actReg()->postSourceLumiSignal_(index_); }

◆ LumiSourceSentry() [2/2]

edm::InputSource::LumiSourceSentry::LumiSourceSentry ( LumiSourceSentry const &  )
delete

Member Function Documentation

◆ operator=()

LumiSourceSentry& edm::InputSource::LumiSourceSentry::operator= ( LumiSourceSentry const &  )
delete

Member Data Documentation

◆ index_

LuminosityBlockIndex edm::InputSource::LumiSourceSentry::index_
private

Definition at line 262 of file InputSource.h.

Referenced by LumiSourceSentry().

◆ source_

InputSource const& edm::InputSource::LumiSourceSentry::source_
private
edm::source
static const std::string source("source")
edm::InputSource::LumiSourceSentry::index_
LuminosityBlockIndex index_
Definition: InputSource.h:262
edm::InputSource::actReg
std::shared_ptr< ActivityRegistry > actReg() const
Accessor for Activity Registry.
Definition: InputSource.h:227
edm::InputSource::LumiSourceSentry::source_
InputSource const & source_
Definition: InputSource.h:261
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46