#include <LuminosityBlockProcessingStatus.h>
Public Types | |
enum | EventProcessingState { EventProcessingState::kProcessing, EventProcessingState::kPauseForFileTransition, EventProcessingState::kStopLumi } |
Private Attributes | |
bool | cleaningUpAfterException_ {false} |
WaitingTaskList | endIOVWaitingTasks_ |
edm::Timestamp | endTime_ {} |
std::atomic< char > | endTimeSetStatus_ {0} |
EventProcessingState | eventProcessingState_ {EventProcessingState::kProcessing} |
std::vector< std::shared_ptr< const EventSetupImpl > > | eventSetupImpls_ |
bool | globalBeginSucceeded_ {false} |
edm::WaitingTaskHolder | globalEndRunHolder_ |
LimitedTaskQueue::Resumer | globalLumiQueueResumer_ |
std::shared_ptr< LuminosityBlockPrincipal > | lumiPrincipal_ |
std::atomic< unsigned int > | nStreamsStillProcessingLumi_ {0} |
std::atomic< bool > | startedNextLumiOrEndedRun_ {false} |
Description: Keep status information about one LuminosityBlock transition
Usage: <usage>
Definition at line 40 of file LuminosityBlockProcessingStatus.h.
Enumerator | |
---|---|
kProcessing | |
kPauseForFileTransition | |
kStopLumi |
Definition at line 86 of file LuminosityBlockProcessingStatus.h.
|
inline |
Definition at line 42 of file LuminosityBlockProcessingStatus.h.
|
delete |
|
inline |
Definition at line 47 of file LuminosityBlockProcessingStatus.h.
References edm::WaitingTaskList::doneWaiting(), and endIOVWaitingTasks_.
|
inline |
Definition at line 96 of file LuminosityBlockProcessingStatus.h.
References cleaningUpAfterException_.
|
inline |
Definition at line 93 of file LuminosityBlockProcessingStatus.h.
References globalBeginSucceeded_.
|
inline |
Definition at line 68 of file LuminosityBlockProcessingStatus.h.
References endIOVWaitingTasks_.
|
inline |
Definition at line 87 of file LuminosityBlockProcessingStatus.h.
References eventProcessingState_.
Referenced by edm::EventProcessor::readNextEventForStream().
|
inline |
Definition at line 61 of file LuminosityBlockProcessingStatus.h.
References eventSetupImpls_.
|
inline |
Definition at line 65 of file LuminosityBlockProcessingStatus.h.
References eventSetupImpls_.
|
inline |
Definition at line 66 of file LuminosityBlockProcessingStatus.h.
References eventSetupImpls_.
|
inline |
Definition at line 94 of file LuminosityBlockProcessingStatus.h.
References globalBeginSucceeded_.
|
inline |
Definition at line 71 of file LuminosityBlockProcessingStatus.h.
References edm::WaitingTaskHolder::doneWaiting(), and globalEndRunHolder_.
|
inline |
Definition at line 90 of file LuminosityBlockProcessingStatus.h.
References startedNextLumiOrEndedRun_.
|
inline |
Definition at line 81 of file LuminosityBlockProcessingStatus.h.
References endTime_.
|
inline |
Definition at line 58 of file LuminosityBlockProcessingStatus.h.
References lumiPrincipal_.
Referenced by edm::EventProcessor::clearLumiPrincipal(), edm::EventProcessor::readAndMergeLumi(), and edm::EventProcessor::readNextEventForStream().
|
delete |
void edm::LuminosityBlockProcessingStatus::resetResources | ( | ) |
Definition at line 17 of file LuminosityBlockProcessingStatus.cc.
References edm::WaitingTaskList::doneWaiting(), endIOVWaitingTasks_, eventSetupImpls_, and resumeGlobalLumiQueue().
|
inline |
Definition at line 50 of file LuminosityBlockProcessingStatus.h.
References globalLumiQueueResumer_, lumiPrincipal_, and edm::LimitedTaskQueue::Resumer::resume().
Referenced by resetResources().
|
inline |
Definition at line 97 of file LuminosityBlockProcessingStatus.h.
References cleaningUpAfterException_, and relativeConstraints::value.
void edm::LuminosityBlockProcessingStatus::setEndTime | ( | ) |
Definition at line 29 of file LuminosityBlockProcessingStatus.cc.
References endTime_, endTimeSetStatus_, kSet, and lumiPrincipal_.
|
inline |
Definition at line 88 of file LuminosityBlockProcessingStatus.h.
References eventProcessingState_, and heppy_batch::val.
Referenced by edm::EventProcessor::readNextEventForStream().
void edm::LuminosityBlockProcessingStatus::setGlobalEndRunHolder | ( | WaitingTaskHolder | holder | ) |
Definition at line 25 of file LuminosityBlockProcessingStatus.cc.
References globalEndRunHolder_, and eostools::move().
|
inline |
Definition at line 59 of file LuminosityBlockProcessingStatus.h.
References lumiPrincipal_, eostools::move(), and heppy_batch::val.
|
inline |
Definition at line 49 of file LuminosityBlockProcessingStatus.h.
References globalLumiQueueResumer_, and eostools::move().
|
inline |
Definition at line 91 of file LuminosityBlockProcessingStatus.h.
References startedNextLumiOrEndedRun_.
|
inline |
Definition at line 73 of file LuminosityBlockProcessingStatus.h.
References nStreamsStillProcessingLumi_.
|
inline |
Definition at line 76 of file LuminosityBlockProcessingStatus.h.
References endTime_.
|
private |
Definition at line 112 of file LuminosityBlockProcessingStatus.h.
Referenced by cleaningUpAfterException(), and setCleaningUpAfterException().
|
private |
Definition at line 104 of file LuminosityBlockProcessingStatus.h.
Referenced by endIOVWaitingTasks(), resetResources(), and ~LuminosityBlockProcessingStatus().
|
private |
Definition at line 107 of file LuminosityBlockProcessingStatus.h.
Referenced by lastTimestamp(), setEndTime(), and updateLastTimestamp().
|
private |
Definition at line 108 of file LuminosityBlockProcessingStatus.h.
Referenced by setEndTime().
|
private |
Definition at line 109 of file LuminosityBlockProcessingStatus.h.
Referenced by eventProcessingState(), and setEventProcessingState().
|
private |
Definition at line 103 of file LuminosityBlockProcessingStatus.h.
Referenced by eventSetupImpl(), eventSetupImpls(), and resetResources().
|
private |
Definition at line 111 of file LuminosityBlockProcessingStatus.h.
Referenced by didGlobalBeginSucceed(), and globalBeginDidSucceed().
|
private |
Definition at line 105 of file LuminosityBlockProcessingStatus.h.
Referenced by globalEndRunHolderDoneWaiting(), and setGlobalEndRunHolder().
|
private |
Definition at line 101 of file LuminosityBlockProcessingStatus.h.
Referenced by resumeGlobalLumiQueue(), and setResumer().
|
private |
Definition at line 102 of file LuminosityBlockProcessingStatus.h.
Referenced by lumiPrincipal(), resumeGlobalLumiQueue(), setEndTime(), and setLumiPrincipal().
|
private |
Definition at line 106 of file LuminosityBlockProcessingStatus.h.
Referenced by streamFinishedLumi().
|
private |
Definition at line 110 of file LuminosityBlockProcessingStatus.h.
Referenced by haveStartedNextLumiOrEndedRun(), and startNextLumiOrEndRun().