#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.
Usage:
Definition at line 31 of file StreamContext.h.
|
strong |
Enumerator | |
---|---|
kBeginStream | |
kBeginRun | |
kBeginLuminosityBlock | |
kEvent | |
kEndLuminosityBlock | |
kEndRun | |
kEndStream | |
kInvalid |
Definition at line 35 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 20 of file StreamContext.cc.
|
inline |
Definition at line 63 of file StreamContext.h.
References eventID_.
Referenced by edm::exceptionContext(), edm::service::Timing::lastPostEvent(), edm::operator<<(), edm::service::IgProfService::postEvent(), FastTimerService::postEvent(), edm::service::SimpleMemoryCheck::postEvent(), edm::service::Tracer::postEvent(), edm::service::StallMonitor::postEvent(), edm::service::SimpleMemoryCheck::postModule(), edm::service::Timing::postModuleEvent(), edm::service::Tracer::postStreamBeginLumi(), edm::service::Tracer::postStreamBeginRun(), edm::service::Tracer::postStreamEndLumi(), edm::service::Tracer::postStreamEndRun(), edm::service::IgProfService::preEvent(), edm::service::CheckTransitions::preEvent(), edm::service::MessageLogger::preEvent(), edm::service::Tracer::preEvent(), edm::service::StallMonitor::preEvent(), evf::FastMonitoringService::prePathEvent(), edm::service::CheckTransitions::preStreamBeginLumi(), edm::service::MessageLogger::preStreamBeginLumi(), edm::service::Tracer::preStreamBeginLumi(), evf::FastMonitoringService::preStreamBeginLumi(), edm::service::CheckTransitions::preStreamBeginRun(), edm::service::Tracer::preStreamBeginRun(), edm::service::MessageLogger::preStreamBeginRun(), evf::FastMonitoringService::preStreamEarlyTermination(), edm::service::CheckTransitions::preStreamEndLumi(), edm::service::MessageLogger::preStreamEndLumi(), edm::service::Tracer::preStreamEndLumi(), evf::FastMonitoringService::preStreamEndLumi(), edm::service::CheckTransitions::preStreamEndRun(), edm::service::Tracer::preStreamEndRun(), edm::service::MessageLogger::preStreamEndRun(), and edm::service::Tracer::Tracer().
|
inline |
Definition at line 59 of file StreamContext.h.
References kEndLuminosityBlock, kEndRun, or, and transition().
Referenced by edm::ParentContext::isAtEndTransition().
|
inline |
Definition at line 65 of file StreamContext.h.
References luminosityBlockIndex_.
Referenced by edm::operator<<(), FastTimerService::postModuleStreamBeginLumi(), and FastTimerService::postModuleStreamEndLumi().
|
inline |
Definition at line 67 of file StreamContext.h.
References processContext_.
Referenced by edm::operator<<(), FastTimerService::postEvent(), FastTimerService::postPathEvent(), FastTimerService::prePathEvent(), FastTimerService::printTransition(), edm::SystemTimeKeeper::startPath(), and edm::SystemTimeKeeper::stopPath().
|
inline |
Definition at line 64 of file StreamContext.h.
References runIndex_.
Referenced by edm::operator<<(), FastTimerService::postEvent(), FastTimerService::postModuleStreamBeginRun(), and FastTimerService::postModuleStreamEndRun().
|
inline |
Definition at line 70 of file StreamContext.h.
References eventID_, and findQualityFiles::v.
Referenced by edm::Worker::beginStream(), edm::EDLooperBase::doDuringLoop(), edm::Worker::endStream(), 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 72 of file StreamContext.h.
References luminosityBlockIndex_, and findQualityFiles::v.
Referenced by edm::Worker::beginStream(), edm::EDLooperBase::doDuringLoop(), edm::Worker::endStream(), 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 71 of file StreamContext.h.
References runIndex_, and findQualityFiles::v.
Referenced by edm::Worker::beginStream(), edm::EDLooperBase::doDuringLoop(), edm::Worker::endStream(), 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 73 of file StreamContext.h.
References timestamp_, and findQualityFiles::v.
Referenced by edm::Worker::beginStream(), edm::EDLooperBase::doDuringLoop(), edm::Worker::endStream(), 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 transition_, and findQualityFiles::v.
Referenced by edm::Worker::beginStream(), edm::EDLooperBase::doDuringLoop(), edm::Worker::endStream(), 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 57 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(), edm::operator<<(), edm::SystemTimeKeeper::pathTiming(), edm::SystemTimeKeeper::pauseModuleEvent(), edm::service::Timing::postEvent(), FastTimerService::postEvent(), edm::service::MessageLogger::postEvent(), edm::service::Tracer::postEvent(), evf::FastMonitoringService::postEvent(), NVProfilerService::postEvent(), edm::service::Tracer::postEventReadFromSource(), edm::service::SimpleMemoryCheck::postModule(), edm::service::Tracer::postModuleBeginStream(), NVProfilerService::postModuleBeginStream(), edm::service::Tracer::postModuleEndStream(), NVProfilerService::postModuleEndStream(), edm::service::Tracer::postModuleEvent(), evf::FastMonitoringService::postModuleEvent(), FastTimerService::postModuleEvent(), NVProfilerService::postModuleEvent(), edm::service::Tracer::postModuleEventAcquire(), FastTimerService::postModuleEventAcquire(), NVProfilerService::postModuleEventAcquire(), edm::service::Tracer::postModuleEventDelayedGet(), edm::service::Tracer::postModuleEventPrefetching(), NVProfilerService::postModuleEventPrefetching(), edm::service::Tracer::postModuleStreamBeginLumi(), NVProfilerService::postModuleStreamBeginLumi(), edm::service::Tracer::postModuleStreamBeginRun(), NVProfilerService::postModuleStreamBeginRun(), edm::service::RandomNumberGeneratorService::postModuleStreamCheck(), edm::service::Tracer::postModuleStreamEndLumi(), NVProfilerService::postModuleStreamEndLumi(), edm::service::Tracer::postModuleStreamEndRun(), NVProfilerService::postModuleStreamEndRun(), FastTimerService::postPathEvent(), edm::service::Tracer::postPathEvent(), NVProfilerService::postPathEvent(), edm::service::Tracer::postStreamBeginLumi(), evf::FastMonitoringService::postStreamBeginLumi(), NVProfilerService::postStreamBeginLumi(), edm::service::Tracer::postStreamBeginRun(), NVProfilerService::postStreamBeginRun(), edm::service::Tracer::postStreamEndLumi(), evf::FastMonitoringService::postStreamEndLumi(), NVProfilerService::postStreamEndLumi(), edm::service::Tracer::postStreamEndRun(), NVProfilerService::postStreamEndRun(), edm::service::Timing::preEvent(), edm::service::CheckTransitions::preEvent(), edm::service::MessageLogger::preEvent(), edm::service::Tracer::preEvent(), NVProfilerService::preEvent(), cond::service::PoolDBOutputService::preEventProcessing(), edm::service::Tracer::preEventReadFromSource(), edm::service::SimpleMemoryCheck::preModule(), edm::service::Tracer::preModuleBeginStream(), NVProfilerService::preModuleBeginStream(), edm::service::Tracer::preModuleEndStream(), NVProfilerService::preModuleEndStream(), edm::service::MessageLogger::preModuleEvent(), edm::service::Tracer::preModuleEvent(), evf::FastMonitoringService::preModuleEvent(), cond::service::PoolDBOutputService::preModuleEvent(), FastTimerService::preModuleEvent(), NVProfilerService::preModuleEvent(), edm::service::MessageLogger::preModuleEventAcquire(), edm::service::Tracer::preModuleEventAcquire(), FastTimerService::preModuleEventAcquire(), NVProfilerService::preModuleEventAcquire(), edm::service::Tracer::preModuleEventDelayedGet(), edm::service::Tracer::preModuleEventPrefetching(), NVProfilerService::preModuleEventPrefetching(), edm::service::MessageLogger::preModuleStreamBeginLumi(), edm::service::Tracer::preModuleStreamBeginLumi(), NVProfilerService::preModuleStreamBeginLumi(), edm::service::MessageLogger::preModuleStreamBeginRun(), edm::service::Tracer::preModuleStreamBeginRun(), NVProfilerService::preModuleStreamBeginRun(), edm::service::RandomNumberGeneratorService::preModuleStreamCheck(), edm::service::MessageLogger::preModuleStreamEndLumi(), edm::service::Tracer::preModuleStreamEndLumi(), NVProfilerService::preModuleStreamEndLumi(), edm::service::MessageLogger::preModuleStreamEndRun(), edm::service::Tracer::preModuleStreamEndRun(), NVProfilerService::preModuleStreamEndRun(), FastTimerService::prePathEvent(), edm::service::Tracer::prePathEvent(), edm::service::MessageLogger::prePathEvent(), evf::FastMonitoringService::prePathEvent(), NVProfilerService::prePathEvent(), edm::service::CheckTransitions::preStreamBeginLumi(), edm::service::MessageLogger::preStreamBeginLumi(), edm::service::Tracer::preStreamBeginLumi(), evf::FastMonitoringService::preStreamBeginLumi(), NVProfilerService::preStreamBeginLumi(), edm::service::CheckTransitions::preStreamBeginRun(), edm::service::Tracer::preStreamBeginRun(), edm::service::MessageLogger::preStreamBeginRun(), NVProfilerService::preStreamBeginRun(), evf::FastMonitoringService::preStreamEarlyTermination(), edm::service::CheckTransitions::preStreamEndLumi(), edm::service::MessageLogger::preStreamEndLumi(), edm::service::Tracer::preStreamEndLumi(), evf::FastMonitoringService::preStreamEndLumi(), NVProfilerService::preStreamEndLumi(), edm::service::CheckTransitions::preStreamEndRun(), edm::service::Tracer::preStreamEndRun(), edm::service::MessageLogger::preStreamEndRun(), NVProfilerService::preStreamEndRun(), edm::SystemTimeKeeper::restartModuleEvent(), edm::SystemTimeKeeper::startModuleEvent(), edm::SystemTimeKeeper::stopEvent(), edm::SystemTimeKeeper::stopModuleEvent(), edm::service::Tracer::Tracer(), and edm::InputSource::EventSourceSentry::~EventSourceSentry().
|
inline |
Definition at line 66 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 58 of file StreamContext.h.
References transition_.
Referenced by edm::exceptionContext(), isAtEndTransition(), and edm::operator<<().
|
private |
Definition at line 78 of file StreamContext.h.
Referenced by eventID(), and setEventID().
|
private |
Definition at line 80 of file StreamContext.h.
Referenced by luminosityBlockIndex(), and setLuminosityBlockIndex().
|
private |
Definition at line 82 of file StreamContext.h.
Referenced by processContext().
|
private |
Definition at line 79 of file StreamContext.h.
Referenced by runIndex(), and setRunIndex().
|
private |
Definition at line 76 of file StreamContext.h.
Referenced by streamID().
|
private |
Definition at line 81 of file StreamContext.h.
Referenced by setTimestamp(), and timestamp().
|
private |
Definition at line 77 of file StreamContext.h.
Referenced by setTransition(), and transition().