#include "FWCore/Utilities/interface/LuminosityBlockIndex.h"
Public Member Functions | |
LuminosityBlockIndex ()=delete | |
LuminosityBlockIndex (const LuminosityBlockIndex &)=default | |
operator unsigned int () const | |
LuminosityBlockIndex & | operator= (const LuminosityBlockIndex &)=default |
bool | operator== (LuminosityBlockIndex const &iRHS) const |
unsigned int | value () const |
~LuminosityBlockIndex ()=default | |
Static Public Member Functions | |
static LuminosityBlockIndex | invalidLuminosityBlockIndex () |
Private Member Functions | |
LuminosityBlockIndex (unsigned int iValue) | |
Private Attributes | |
unsigned int | value_ |
Static Private Attributes | |
static const unsigned int | invalidValue_ = std::numeric_limits<unsigned int>::max() |
Friends | |
class | LuminosityBlockPrincipal |
Only the LuminosityBlockPrincipal is allowed to make one of these. More... | |
Description: Identifies a 'slot' being used to hold an active LuminosityBlock
Usage: Various APIs used this to access per LuminosityBlock information. It is important to realize that the same LuminosityBockIndex may be used to refer to different LuminosityBlocks over the lifetime of a job. A LuminosityBlockIndex will only get a new LuminosityBlock after the previous LuminosityBlock using that index has finished being used.
Definition at line 33 of file LuminosityBlockIndex.h.
|
default |
|
delete |
Referenced by invalidLuminosityBlockIndex().
|
default |
|
inlineexplicitprivate |
Definition at line 55 of file LuminosityBlockIndex.h.
|
static |
Definition at line 9 of file LuminosityBlockIndex.cc.
References invalidValue_, and LuminosityBlockIndex().
Referenced by edm::Worker::beginStream(), edm::EDLooperBase::doBeginRun(), edm::EDLooperBase::doEndRun(), edm::Worker::endStream(), edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >::makeGlobalContext(), edm::OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >::makeGlobalContext(), edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalBegin >::makeGlobalContext(), edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionProcessBlockInput >::makeGlobalContext(), edm::OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalEnd >::makeGlobalContext(), edm::OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >::setStreamContext(), edm::OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >::setStreamContext(), edm::OutputModuleCommunicatorT< T >::writeProcessBlockAsync(), edm::Schedule::writeProcessBlockAsync(), edm::OutputModuleCommunicatorT< T >::writeRunAsync(), and edm::Schedule::writeRunAsync().
|
inline |
|
default |
|
inline |
|
inline |
Definition at line 47 of file LuminosityBlockIndex.h.
References value_.
Referenced by average.Average::average(), edm::operator<<(), operator==(), edm::service::MessageLogger::preModuleGlobalBeginLumi(), edm::service::MessageLogger::preModuleGlobalEndLumi(), and edm::LuminosityBlockPrincipal::transitionIndex_().
|
friend |
Only the LuminosityBlockPrincipal is allowed to make one of these.
Definition at line 53 of file LuminosityBlockIndex.h.
|
staticprivate |
Definition at line 60 of file LuminosityBlockIndex.h.
Referenced by invalidLuminosityBlockIndex().
|
private |
Definition at line 58 of file LuminosityBlockIndex.h.
Referenced by operator unsigned int(), and value().