#include <StreamContext.h>
Public Member Functions | |
EventID const & | eventID () const |
bool | isAtEndTransition () const |
LuminosityBlockIndex const & | luminosityBlockIndex () const |
ProcessContext const * | processContext () const |
RunIndex const & | runIndex () const |
void | setEventID (EventID const &v) |
void | setLuminosityBlockIndex (LuminosityBlockIndex const &v) |
void | setRunIndex (RunIndex const &v) |
void | setTimestamp (Timestamp const &v) |
void | setTransition (Transition v) |
StreamContext (StreamID const &streamID, ProcessContext const *processContext) | |
StreamContext (StreamID const &streamID, Transition transition, EventID const &eventID, RunIndex const &runIndex, LuminosityBlockIndex const &luminosityBlockIndex, Timestamp const ×tamp, ProcessContext const *processContext) | |
StreamID const & | streamID () const |
Timestamp const & | timestamp () const |
Transition | transition () const |
Private Attributes | |
EventID | eventID_ |
LuminosityBlockIndex | luminosityBlockIndex_ |
ProcessContext const * | processContext_ |
RunIndex | runIndex_ |
StreamID | streamID_ |
Timestamp | timestamp_ |
Transition | transition_ |
Description: Holds pointer to ProcessContext, StreamID, transition, EventID and timestamp. This is intended primarily to be passed to Services as an argument to their callback functions. It is also used internally by the Framework to hold information that can be added to exception messages about the context where an exception was thrown.
Definition at line 32 of file StreamContext.h.
|
strong |
Enumerator | |
---|---|
kBeginStream | |
kBeginRun | |
kBeginLuminosityBlock | |
kEvent | |
kEndLuminosityBlock | |
kEndRun | |
kEndStream | |
kInvalid |
Definition at line 34 of file StreamContext.h.
edm::StreamContext::StreamContext | ( | StreamID const & | streamID, |
ProcessContext const * | processContext | ||
) |
Definition at line 9 of file StreamContext.cc.
edm::StreamContext::StreamContext | ( | StreamID const & | streamID, |
Transition | transition, | ||
EventID const & | eventID, | ||
RunIndex const & | runIndex, | ||
LuminosityBlockIndex const & | luminosityBlockIndex, | ||
Timestamp const & | timestamp, | ||
ProcessContext const * | processContext | ||
) |
Definition at line 18 of file StreamContext.cc.
|
inline |
Definition at line 60 of file StreamContext.h.
References eventID_.
Referenced by edm::exceptionContext(), edm::service::Timing::lastPostEvent(), edm::operator<<(), edm::service::IgProfService::postEvent(), edm::service::JeProfService::postEvent(), edm::service::SimpleMemoryCheck::postEvent(), FastTimerService::postEvent(), edm::service::Tracer::postEvent(), edm::service::StallMonitor::postEvent(), edm::service::SimpleMemoryCheck::postModule(), edm::service::IgProfService::postModuleEvent(), edm::service::JeProfService::postModuleEvent(), edm::service::Timing::postModuleEvent(), edmtest::TestServiceTwo::postModuleStreamBeginLumi(), edmtest::TestServiceOne::postModuleStreamBeginLumi(), edmtest::TestServiceTwo::postModuleStreamBeginRun(), edmtest::TestServiceOne::postModuleStreamBeginRun(), edmtest::TestServiceTwo::postModuleStreamEndLumi(), edmtest::TestServiceOne::postModuleStreamEndLumi(), edmtest::TestServiceTwo::postModuleStreamEndRun(), edmtest::TestServiceOne::postModuleStreamEndRun(), edmtest::TestServiceTwo::postStreamBeginLumi(), edmtest::TestServiceOne::postStreamBeginLumi(), edm::service::Tracer::postStreamBeginLumi(), edmtest::TestServiceTwo::postStreamBeginRun(), edmtest::TestServiceOne::postStreamBeginRun(), edm::service::Tracer::postStreamBeginRun(), edmtest::TestServiceTwo::postStreamEndLumi(), edmtest::TestServiceOne::postStreamEndLumi(), edm::service::Tracer::postStreamEndLumi(), edmtest::TestServiceTwo::postStreamEndRun(), edmtest::TestServiceOne::postStreamEndRun(), edm::service::Tracer::postStreamEndRun(), edm::service::IgProfService::preEvent(), edm::service::JeProfService::preEvent(), edm::service::CheckTransitions::preEvent(), edm::service::MessageLogger::preEvent(), edm::service::Tracer::preEvent(), edm::service::StallMonitor::preEvent(), edm::service::IgProfService::preModuleEvent(), edm::service::JeProfService::preModuleEvent(), edmtest::TestServiceTwo::preModuleStreamBeginLumi(), edmtest::TestServiceOne::preModuleStreamBeginLumi(), edmtest::TestServiceTwo::preModuleStreamBeginRun(), edmtest::TestServiceOne::preModuleStreamBeginRun(), edmtest::TestServiceTwo::preModuleStreamEndLumi(), edmtest::TestServiceOne::preModuleStreamEndLumi(), edmtest::TestServiceTwo::preModuleStreamEndRun(), edmtest::TestServiceOne::preModuleStreamEndRun(), edmtest::TestServiceTwo::preStreamBeginLumi(), edmtest::TestServiceOne::preStreamBeginLumi(), edm::service::CheckTransitions::preStreamBeginLumi(), edm::service::MessageLogger::preStreamBeginLumi(), edm::service::Tracer::preStreamBeginLumi(), evf::FastMonitoringService::preStreamBeginLumi(), edmtest::TestServiceTwo::preStreamBeginRun(), edm::service::CheckTransitions::preStreamBeginRun(), edmtest::TestServiceOne::preStreamBeginRun(), edm::service::MessageLogger::preStreamBeginRun(), edm::service::Tracer::preStreamBeginRun(), evf::FastMonitoringService::preStreamEarlyTermination(), edmtest::TestServiceTwo::preStreamEndLumi(), edmtest::TestServiceOne::preStreamEndLumi(), edm::service::CheckTransitions::preStreamEndLumi(), edm::service::MessageLogger::preStreamEndLumi(), edm::service::Tracer::preStreamEndLumi(), evf::FastMonitoringService::preStreamEndLumi(), edmtest::TestServiceTwo::preStreamEndRun(), edm::service::CheckTransitions::preStreamEndRun(), edmtest::TestServiceOne::preStreamEndRun(), edm::service::MessageLogger::preStreamEndRun(), edm::service::Tracer::preStreamEndRun(), edm::service::tracer::setupFile(), edm::service::moduleAlloc::setupFile(), and edm::service::Tracer::Tracer().
|
inline |
Definition at line 57 of file StreamContext.h.
References kEndLuminosityBlock, kEndRun, or, and transition().
Referenced by edm::ParentContext::isAtEndTransition().
|
inline |
Definition at line 62 of file StreamContext.h.
References luminosityBlockIndex_.
Referenced by edm::operator<<(), FastTimerService::postModuleStreamBeginLumi(), and FastTimerService::postModuleStreamEndLumi().
|
inline |
Definition at line 64 of file StreamContext.h.
References processContext_.
Referenced by edm::operator<<(), FastTimerService::postEvent(), FastTimerService::postPathEvent(), FastTimerService::prePathEvent(), edm::SystemTimeKeeper::startPath(), and edm::SystemTimeKeeper::stopPath().
|
inline |
Definition at line 61 of file StreamContext.h.
References runIndex_.
Referenced by edm::operator<<(), FastTimerService::postEvent(), FastTimerService::postModuleStreamBeginRun(), and FastTimerService::postModuleStreamEndRun().
|
inline |
Definition at line 67 of file StreamContext.h.
References eventID_, and findQualityFiles::v.
Referenced by edm::StreamSchedule::beginStream(), edm::EDLooperBase::doDuringLoop(), edm::StreamSchedule::endStream(), edm::StreamSchedule::replaceModule(), edm::OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >::setStreamContext(), edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::setStreamContext(), edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::setStreamContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::setStreamContext(), and edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::setStreamContext().
|
inline |
Definition at line 69 of file StreamContext.h.
References luminosityBlockIndex_, and findQualityFiles::v.
Referenced by edm::StreamSchedule::beginStream(), edm::EDLooperBase::doDuringLoop(), edm::StreamSchedule::endStream(), edm::StreamSchedule::replaceModule(), edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::setStreamContext(), edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::setStreamContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::setStreamContext(), and edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::setStreamContext().
|
inline |
Definition at line 68 of file StreamContext.h.
References runIndex_, and findQualityFiles::v.
Referenced by edm::StreamSchedule::beginStream(), edm::EDLooperBase::doDuringLoop(), edm::StreamSchedule::endStream(), edm::StreamSchedule::replaceModule(), edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::setStreamContext(), edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::setStreamContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::setStreamContext(), and edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::setStreamContext().
|
inline |
Definition at line 70 of file StreamContext.h.
References timestamp_, and findQualityFiles::v.
Referenced by edm::StreamSchedule::beginStream(), edm::EDLooperBase::doDuringLoop(), edm::StreamSchedule::endStream(), edm::StreamSchedule::replaceModule(), edm::OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >::setStreamContext(), edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::setStreamContext(), edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::setStreamContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::setStreamContext(), and edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::setStreamContext().
|
inline |
Definition at line 66 of file StreamContext.h.
References transition_, and findQualityFiles::v.
Referenced by edm::StreamSchedule::beginStream(), edm::EDLooperBase::doDuringLoop(), edm::StreamSchedule::endStream(), edm::StreamSchedule::replaceModule(), edm::OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >::setStreamContext(), edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::setStreamContext(), edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::setStreamContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::setStreamContext(), and edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::setStreamContext().
|
inline |
Definition at line 55 of file StreamContext.h.
References streamID_.
Referenced by edm::SecondaryEventProvider::beginLuminosityBlock(), edm::SecondaryEventProvider::beginRun(), edm::SecondaryEventProvider::endLuminosityBlock(), edm::SecondaryEventProvider::endRun(), edm::InputSource::EventSourceSentry::EventSourceSentry(), edm::exceptionContext(), evf::FastMonitoringService::getSID(), edm::operator<<(), edm::SystemTimeKeeper::pathTiming(), edm::SystemTimeKeeper::pauseModuleEvent(), edmtest::TestServiceOne::postBeginStream(), edm::service::Tracer::postBeginStream(), edmtest::TestServiceOne::postEndStream(), edm::service::Tracer::postEndStream(), edm::service::Timing::postEvent(), FastTimerService::postEvent(), edm::service::MessageLogger::postEvent(), edm::service::Tracer::postEvent(), NVProfilerService::postEvent(), evf::FastMonitoringService::postEvent(), edm::service::Tracer::postEventReadFromSource(), FastTimerService::postEventReadFromSource(), edm::service::SimpleMemoryCheck::postModule(), edmtest::TestServiceOne::postModuleBeginStream(), edm::service::Tracer::postModuleBeginStream(), NVProfilerService::postModuleBeginStream(), edmtest::TestServiceOne::postModuleEndStream(), edm::service::Tracer::postModuleEndStream(), NVProfilerService::postModuleEndStream(), edm::service::Tracer::postModuleEvent(), FastTimerService::postModuleEvent(), NVProfilerService::postModuleEvent(), edm::service::Tracer::postModuleEventAcquire(), FastTimerService::postModuleEventAcquire(), NVProfilerService::postModuleEventAcquire(), edm::service::Tracer::postModuleEventDelayedGet(), edm::service::Tracer::postModuleEventPrefetching(), NVProfilerService::postModuleEventPrefetching(), edmtest::TestServiceTwo::postModuleStreamBeginLumi(), edmtest::TestServiceOne::postModuleStreamBeginLumi(), edm::service::Tracer::postModuleStreamBeginLumi(), NVProfilerService::postModuleStreamBeginLumi(), edmtest::TestServiceTwo::postModuleStreamBeginRun(), edmtest::TestServiceOne::postModuleStreamBeginRun(), edm::service::Tracer::postModuleStreamBeginRun(), NVProfilerService::postModuleStreamBeginRun(), edm::service::RandomNumberGeneratorService::postModuleStreamCheck(), edmtest::TestServiceTwo::postModuleStreamEndLumi(), edmtest::TestServiceOne::postModuleStreamEndLumi(), edm::service::Tracer::postModuleStreamEndLumi(), NVProfilerService::postModuleStreamEndLumi(), edmtest::TestServiceTwo::postModuleStreamEndRun(), edmtest::TestServiceOne::postModuleStreamEndRun(), edm::service::Tracer::postModuleStreamEndRun(), NVProfilerService::postModuleStreamEndRun(), edm::service::Tracer::postModuleStreamPrefetching(), edm::service::Tracer::postModuleTransform(), edm::service::Tracer::postModuleTransformAcquiring(), edm::service::Tracer::postModuleTransformPrefetching(), FastTimerService::postPathEvent(), edm::service::Tracer::postPathEvent(), NVProfilerService::postPathEvent(), edmtest::TestServiceTwo::postStreamBeginLumi(), edmtest::TestServiceOne::postStreamBeginLumi(), edm::service::Tracer::postStreamBeginLumi(), NVProfilerService::postStreamBeginLumi(), evf::FastMonitoringService::postStreamBeginLumi(), edmtest::TestServiceTwo::postStreamBeginRun(), edmtest::TestServiceOne::postStreamBeginRun(), edm::service::Tracer::postStreamBeginRun(), NVProfilerService::postStreamBeginRun(), edmtest::TestServiceTwo::postStreamEndLumi(), edmtest::TestServiceOne::postStreamEndLumi(), edm::service::Tracer::postStreamEndLumi(), NVProfilerService::postStreamEndLumi(), evf::FastMonitoringService::postStreamEndLumi(), edmtest::TestServiceTwo::postStreamEndRun(), edmtest::TestServiceOne::postStreamEndRun(), edm::service::Tracer::postStreamEndRun(), NVProfilerService::postStreamEndRun(), edmtest::TestServiceOne::preBeginStream(), edm::service::Tracer::preBeginStream(), edmtest::TestServiceOne::preEndStream(), edm::service::Tracer::preEndStream(), edm::service::Timing::preEvent(), edm::service::CheckTransitions::preEvent(), edm::service::MessageLogger::preEvent(), edm::service::Tracer::preEvent(), NVProfilerService::preEvent(), evf::FastMonitoringService::preEvent(), cond::service::PoolDBOutputService::preEventProcessing(), edm::service::Tracer::preEventReadFromSource(), FastTimerService::preEventReadFromSource(), edm::service::SimpleMemoryCheck::preModule(), edmtest::TestServiceOne::preModuleBeginStream(), edm::service::Tracer::preModuleBeginStream(), NVProfilerService::preModuleBeginStream(), edmtest::TestServiceOne::preModuleEndStream(), edm::service::Tracer::preModuleEndStream(), NVProfilerService::preModuleEndStream(), edm::service::Tracer::preModuleEvent(), FastTimerService::preModuleEvent(), NVProfilerService::preModuleEvent(), cond::service::PoolDBOutputService::preModuleEvent(), edm::service::Tracer::preModuleEventAcquire(), FastTimerService::preModuleEventAcquire(), NVProfilerService::preModuleEventAcquire(), edm::service::Tracer::preModuleEventDelayedGet(), edm::service::Tracer::preModuleEventPrefetching(), NVProfilerService::preModuleEventPrefetching(), edmtest::TestServiceTwo::preModuleStreamBeginLumi(), edmtest::TestServiceOne::preModuleStreamBeginLumi(), edm::service::Tracer::preModuleStreamBeginLumi(), NVProfilerService::preModuleStreamBeginLumi(), edmtest::TestServiceTwo::preModuleStreamBeginRun(), edmtest::TestServiceOne::preModuleStreamBeginRun(), edm::service::Tracer::preModuleStreamBeginRun(), NVProfilerService::preModuleStreamBeginRun(), edm::service::RandomNumberGeneratorService::preModuleStreamCheck(), edmtest::TestServiceTwo::preModuleStreamEndLumi(), edmtest::TestServiceOne::preModuleStreamEndLumi(), edm::service::Tracer::preModuleStreamEndLumi(), NVProfilerService::preModuleStreamEndLumi(), edmtest::TestServiceTwo::preModuleStreamEndRun(), edmtest::TestServiceOne::preModuleStreamEndRun(), edm::service::Tracer::preModuleStreamEndRun(), NVProfilerService::preModuleStreamEndRun(), edm::service::Tracer::preModuleStreamPrefetching(), edm::service::Tracer::preModuleTransform(), edm::service::Tracer::preModuleTransformAcquiring(), edm::service::Tracer::preModuleTransformPrefetching(), FastTimerService::prePathEvent(), edm::service::Tracer::prePathEvent(), NVProfilerService::prePathEvent(), edmtest::TestServiceTwo::preStreamBeginLumi(), edmtest::TestServiceOne::preStreamBeginLumi(), edm::service::CheckTransitions::preStreamBeginLumi(), edm::service::MessageLogger::preStreamBeginLumi(), edm::service::Tracer::preStreamBeginLumi(), NVProfilerService::preStreamBeginLumi(), evf::FastMonitoringService::preStreamBeginLumi(), edmtest::TestServiceTwo::preStreamBeginRun(), edm::service::CheckTransitions::preStreamBeginRun(), edmtest::TestServiceOne::preStreamBeginRun(), edm::service::MessageLogger::preStreamBeginRun(), edm::service::Tracer::preStreamBeginRun(), NVProfilerService::preStreamBeginRun(), evf::FastMonitoringService::preStreamEarlyTermination(), edmtest::TestServiceTwo::preStreamEndLumi(), edmtest::TestServiceOne::preStreamEndLumi(), edm::service::CheckTransitions::preStreamEndLumi(), edm::service::MessageLogger::preStreamEndLumi(), edm::service::Tracer::preStreamEndLumi(), NVProfilerService::preStreamEndLumi(), evf::FastMonitoringService::preStreamEndLumi(), edmtest::TestServiceTwo::preStreamEndRun(), edm::service::CheckTransitions::preStreamEndRun(), edmtest::TestServiceOne::preStreamEndRun(), edm::service::MessageLogger::preStreamEndRun(), edm::service::Tracer::preStreamEndRun(), NVProfilerService::preStreamEndRun(), edm::SystemTimeKeeper::restartModuleEvent(), edm::SecondaryEventProvider::setupPileUpEvent(), edm::SystemTimeKeeper::startModuleEvent(), edm::SystemTimeKeeper::stopEvent(), edm::SystemTimeKeeper::stopModuleEvent(), and edm::service::Tracer::Tracer().
|
inline |
Definition at line 63 of file StreamContext.h.
References timestamp_.
Referenced by edm::operator<<(), edm::service::Tracer::postEvent(), edm::service::Tracer::postStreamBeginLumi(), edm::service::Tracer::postStreamBeginRun(), edm::service::Tracer::postStreamEndLumi(), edm::service::Tracer::postStreamEndRun(), edm::service::Tracer::preEvent(), cond::service::PoolDBOutputService::preEventProcessing(), edm::service::Tracer::preStreamBeginLumi(), edm::service::Tracer::preStreamBeginRun(), edm::service::Tracer::preStreamEndLumi(), edm::service::Tracer::preStreamEndRun(), and edm::service::Tracer::Tracer().
|
inline |
Definition at line 56 of file StreamContext.h.
References transition_.
Referenced by edm::exceptionContext(), isAtEndTransition(), edm::operator<<(), edm::service::Tracer::postModuleStreamPrefetching(), and edm::service::Tracer::preModuleStreamPrefetching().
|
private |
Definition at line 75 of file StreamContext.h.
Referenced by eventID(), and setEventID().
|
private |
Definition at line 77 of file StreamContext.h.
Referenced by luminosityBlockIndex(), and setLuminosityBlockIndex().
|
private |
Definition at line 79 of file StreamContext.h.
Referenced by processContext().
|
private |
Definition at line 76 of file StreamContext.h.
Referenced by runIndex(), and setRunIndex().
|
private |
Definition at line 73 of file StreamContext.h.
Referenced by streamID().
|
private |
Definition at line 78 of file StreamContext.h.
Referenced by setTimestamp(), and timestamp().
|
private |
Definition at line 74 of file StreamContext.h.
Referenced by setTransition(), and transition().