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::kBeginRun, Transition::kBeginLuminosityBlock, Transition::kEndLuminosityBlock,
  Transition::kEndRun, Transition::kEndJob, 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)
 
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

Enumerator
kBeginJob 
kBeginRun 
kBeginLuminosityBlock 
kEndLuminosityBlock 
kEndRun 
kEndJob 
kWriteRun 
kWriteLuminosityBlock 

Definition at line 33 of file GlobalContext.h.

33  {
34  kBeginJob,
35  kBeginRun,
36  kBeginLuminosityBlock,
37  kEndLuminosityBlock,
38  kEndRun,
39  kEndJob,
40  kWriteRun,
41  kWriteLuminosityBlock
42  };

Constructor & Destructor Documentation

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

Definition at line 8 of file GlobalContext.cc.

13  :
20  }
LuminosityBlockID const & luminosityBlockID() const
Definition: GlobalContext.h:52
ProcessContext const * processContext_
Definition: GlobalContext.h:64
Timestamp const & timestamp() const
Definition: GlobalContext.h:55
Transition transition_
Definition: GlobalContext.h:59
RunIndex const & runIndex() const
Definition: GlobalContext.h:53
LuminosityBlockID luminosityBlockID_
Definition: GlobalContext.h:60
LuminosityBlockIndex const & luminosityBlockIndex() const
Definition: GlobalContext.h:54
LuminosityBlockIndex luminosityBlockIndex_
Definition: GlobalContext.h:62
ProcessContext const * processContext() const
Definition: GlobalContext.h:56
Timestamp timestamp_
Definition: GlobalContext.h:63
Transition transition() const
Definition: GlobalContext.h:51

Member Function Documentation

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

Definition at line 52 of file GlobalContext.h.

References luminosityBlockID_.

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

52 { return luminosityBlockID_; }
LuminosityBlockID luminosityBlockID_
Definition: GlobalContext.h:60
LuminosityBlockIndex const& edm::GlobalContext::luminosityBlockIndex ( ) const
inline
ProcessContext const* edm::GlobalContext::processContext ( ) const
inline

Definition at line 56 of file GlobalContext.h.

References processContext_.

Referenced by edm::operator<<(), and FastTimerService::printTransition().

56 { return processContext_; }
ProcessContext const * processContext_
Definition: GlobalContext.h:64
RunIndex const& edm::GlobalContext::runIndex ( ) const
inline
Timestamp const& edm::GlobalContext::timestamp ( ) const
inline
Transition edm::GlobalContext::transition ( ) const
inline

Definition at line 51 of file GlobalContext.h.

References transition_.

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

51 { return transition_; }
Transition transition_
Definition: GlobalContext.h:59

Member Data Documentation

LuminosityBlockID edm::GlobalContext::luminosityBlockID_
private

Definition at line 60 of file GlobalContext.h.

Referenced by luminosityBlockID().

LuminosityBlockIndex edm::GlobalContext::luminosityBlockIndex_
private

Definition at line 62 of file GlobalContext.h.

Referenced by luminosityBlockIndex().

ProcessContext const* edm::GlobalContext::processContext_
private

Definition at line 64 of file GlobalContext.h.

Referenced by processContext().

RunIndex edm::GlobalContext::runIndex_
private

Definition at line 61 of file GlobalContext.h.

Referenced by runIndex().

Timestamp edm::GlobalContext::timestamp_
private

Definition at line 63 of file GlobalContext.h.

Referenced by timestamp().

Transition edm::GlobalContext::transition_
private

Definition at line 59 of file GlobalContext.h.

Referenced by transition().