CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
edm::GlobalContext Class Reference

#include <GlobalContext.h>

Public Types

enum  Transition {
  Transition::kBeginJob, Transition::kBeginProcessBlock, Transition::kAccessInputProcessBlock, Transition::kBeginRun,
  Transition::kBeginLuminosityBlock, Transition::kEndLuminosityBlock, Transition::kEndRun, Transition::kEndProcessBlock,
  Transition::kEndJob, Transition::kWriteProcessBlock, Transition::kWriteRun, Transition::kWriteLuminosityBlock
}
 

Public Member Functions

 GlobalContext (Transition transition, LuminosityBlockID const &luminosityBlockID, RunIndex const &runIndex, LuminosityBlockIndex const &luminosityBlockIndex, Timestamp const &timestamp, ProcessContext const *processContext)
 
bool isAtEndTransition () const
 
LuminosityBlockID const & luminosityBlockID () const
 
LuminosityBlockIndex const & luminosityBlockIndex () const
 
ProcessContext const * processContext () const
 
RunIndex const & runIndex () const
 
Timestamp const & timestamp () const
 
Transition transition () const
 

Private Attributes

LuminosityBlockID luminosityBlockID_
 
LuminosityBlockIndex luminosityBlockIndex_
 
ProcessContext const * processContext_
 
RunIndex runIndex_
 
Timestamp timestamp_
 
Transition transition_
 

Detailed Description

Description: This is intended primarily to be passed to Services as an argument to their callback functions. It contains information about the current state of global processing.

Usage:

Definition at line 29 of file GlobalContext.h.

Member Enumeration Documentation

◆ Transition

Enumerator
kBeginJob 
kBeginProcessBlock 
kAccessInputProcessBlock 
kBeginRun 
kBeginLuminosityBlock 
kEndLuminosityBlock 
kEndRun 
kEndProcessBlock 
kEndJob 
kWriteProcessBlock 
kWriteRun 
kWriteLuminosityBlock 

Definition at line 31 of file GlobalContext.h.

31  {
32  kBeginJob,
33  kBeginProcessBlock,
34  kAccessInputProcessBlock,
35  kBeginRun,
36  kBeginLuminosityBlock,
37  kEndLuminosityBlock,
38  kEndRun,
39  kEndProcessBlock,
40  kEndJob,
41  kWriteProcessBlock,
42  kWriteRun,
43  kWriteLuminosityBlock
44  };

Constructor & Destructor Documentation

◆ GlobalContext()

edm::GlobalContext::GlobalContext ( Transition  transition,
LuminosityBlockID const &  luminosityBlockID,
RunIndex const &  runIndex,
LuminosityBlockIndex const &  luminosityBlockIndex,
Timestamp const &  timestamp,
ProcessContext const *  processContext 
)

Member Function Documentation

◆ isAtEndTransition()

bool edm::GlobalContext::isAtEndTransition ( ) const
inline

◆ luminosityBlockID()

LuminosityBlockID const& edm::GlobalContext::luminosityBlockID ( ) const
inline

Definition at line 60 of file GlobalContext.h.

60 { return luminosityBlockID_; }

References luminosityBlockID_.

Referenced by dqm::implementation::DQMStore::DQMStore(), dqmservices::DQMMonitoringService::evLumi(), edm::exceptionContext(), edm::operator<<(), edm::service::IgProfService::postBeginLumi(), edm::service::IgProfService::postBeginRun(), edm::service::Tracer::postGlobalBeginLumi(), edm::service::Tracer::postGlobalBeginRun(), FastTimerService::postGlobalEndLumi(), edm::service::Tracer::postGlobalEndLumi(), evf::FastMonitoringService::postGlobalEndLumi(), FastTimerService::postGlobalEndRun(), edm::service::Tracer::postGlobalEndRun(), edm::service::Tracer::postGlobalWriteLumi(), edm::service::Tracer::postGlobalWriteRun(), edm::service::CheckTransitions::preGlobalBeginLumi(), edm::service::Tracer::preGlobalBeginLumi(), evf::FastMonitoringService::preGlobalBeginLumi(), edm::service::MessageLogger::preGlobalBeginLumi(), cond::service::PoolDBOutputService::preGlobalBeginLumi(), edm::service::CheckTransitions::preGlobalBeginRun(), edm::service::Tracer::preGlobalBeginRun(), edm::service::MessageLogger::preGlobalBeginRun(), cond::service::PoolDBOutputService::preGlobalBeginRun(), evf::FastMonitoringService::preGlobalEarlyTermination(), edm::service::CheckTransitions::preGlobalEndLumi(), evf::EvFDaqDirector::preGlobalEndLumi(), edm::service::Tracer::preGlobalEndLumi(), evf::FastMonitoringService::preGlobalEndLumi(), edm::service::MessageLogger::preGlobalEndLumi(), edm::service::CheckTransitions::preGlobalEndRun(), edm::service::Tracer::preGlobalEndRun(), edm::service::MessageLogger::preGlobalEndRun(), edm::service::Tracer::preGlobalWriteLumi(), edm::service::Tracer::preGlobalWriteRun(), and edm::service::Tracer::Tracer().

◆ luminosityBlockIndex()

LuminosityBlockIndex const& edm::GlobalContext::luminosityBlockIndex ( ) const
inline

◆ processContext()

ProcessContext const* edm::GlobalContext::processContext ( ) const
inline

◆ runIndex()

RunIndex const& edm::GlobalContext::runIndex ( ) const
inline

◆ timestamp()

Timestamp const& edm::GlobalContext::timestamp ( ) const
inline

◆ transition()

Transition edm::GlobalContext::transition ( ) const
inline

Definition at line 53 of file GlobalContext.h.

53 { return transition_; }

References transition_.

Referenced by edm::exceptionContext(), isAtEndTransition(), and edm::operator<<().

Member Data Documentation

◆ luminosityBlockID_

LuminosityBlockID edm::GlobalContext::luminosityBlockID_
private

Definition at line 68 of file GlobalContext.h.

Referenced by luminosityBlockID().

◆ luminosityBlockIndex_

LuminosityBlockIndex edm::GlobalContext::luminosityBlockIndex_
private

Definition at line 70 of file GlobalContext.h.

Referenced by luminosityBlockIndex().

◆ processContext_

ProcessContext const* edm::GlobalContext::processContext_
private

Definition at line 72 of file GlobalContext.h.

Referenced by processContext().

◆ runIndex_

RunIndex edm::GlobalContext::runIndex_
private

Definition at line 69 of file GlobalContext.h.

Referenced by runIndex().

◆ timestamp_

Timestamp edm::GlobalContext::timestamp_
private

Definition at line 71 of file GlobalContext.h.

Referenced by timestamp().

◆ transition_

Transition edm::GlobalContext::transition_
private

Definition at line 67 of file GlobalContext.h.

Referenced by transition().

edm::GlobalContext::luminosityBlockID
LuminosityBlockID const & luminosityBlockID() const
Definition: GlobalContext.h:60
edm::GlobalContext::processContext
ProcessContext const * processContext() const
Definition: GlobalContext.h:64
edm::GlobalContext::Transition::kWriteProcessBlock
edm::GlobalContext::Transition::kEndRun
edm::GlobalContext::transition
Transition transition() const
Definition: GlobalContext.h:53
edm::GlobalContext::luminosityBlockIndex_
LuminosityBlockIndex luminosityBlockIndex_
Definition: GlobalContext.h:70
edm::GlobalContext::transition_
Transition transition_
Definition: GlobalContext.h:67
edm::GlobalContext::luminosityBlockIndex
LuminosityBlockIndex const & luminosityBlockIndex() const
Definition: GlobalContext.h:62
edm::GlobalContext::Transition::kEndLuminosityBlock
edm::GlobalContext::Transition::kWriteLuminosityBlock
edm::GlobalContext::runIndex_
RunIndex runIndex_
Definition: GlobalContext.h:69
edm::GlobalContext::Transition::kEndProcessBlock
edm::GlobalContext::luminosityBlockID_
LuminosityBlockID luminosityBlockID_
Definition: GlobalContext.h:68
edm::GlobalContext::Transition::kWriteRun
edm::GlobalContext::timestamp_
Timestamp timestamp_
Definition: GlobalContext.h:71
edm::GlobalContext::processContext_
ProcessContext const * processContext_
Definition: GlobalContext.h:72
edm::GlobalContext::timestamp
Timestamp const & timestamp() const
Definition: GlobalContext.h:63
or
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
edm::GlobalContext::runIndex
RunIndex const & runIndex() const
Definition: GlobalContext.h:61