CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::LuminosityBlockRange Class Reference

#include <LuminosityBlockRange.h>

Public Member Functions

LuminosityBlockNumber_t endLumi () const
 
LuminosityBlockID endLumiID () const
 
RunNumber_t endRun () const
 
 LuminosityBlockRange ()
 
 LuminosityBlockRange (LuminosityBlockID const &begin, LuminosityBlockID const &end)
 
 LuminosityBlockRange (RunNumber_t startRun, LuminosityBlockNumber_t startLuminosityBlock, RunNumber_t endRun, LuminosityBlockNumber_t endLuminosityBlock)
 
LuminosityBlockNumber_t startLumi () const
 
LuminosityBlockID startLumiID () const
 
RunNumber_t startRun () const
 

Private Attributes

LuminosityBlockID endLumiID_
 
LuminosityBlockID startLumiID_
 

Detailed Description

Definition at line 32 of file LuminosityBlockRange.h.

Constructor & Destructor Documentation

◆ LuminosityBlockRange() [1/3]

LuminosityBlockRange::LuminosityBlockRange ( )

Definition at line 25 of file LuminosityBlockRange.cc.

26  : // Special cases since 0 means maximum

◆ LuminosityBlockRange() [2/3]

LuminosityBlockRange::LuminosityBlockRange ( RunNumber_t  startRun,
LuminosityBlockNumber_t  startLuminosityBlock,
RunNumber_t  endRun,
LuminosityBlockNumber_t  endLuminosityBlock 
)

Definition at line 30 of file LuminosityBlockRange.cc.

34  : // Special cases since 0 means maximum
36  startLuminosityBlock != 0 ? startLuminosityBlock : LuminosityBlockID::maxLuminosityBlockNumber()),
38  endLuminosityBlock != 0 ? endLuminosityBlock : LuminosityBlockID::maxLuminosityBlockNumber()) {}

◆ LuminosityBlockRange() [3/3]

LuminosityBlockRange::LuminosityBlockRange ( LuminosityBlockID const &  begin,
LuminosityBlockID const &  end 
)

Definition at line 40 of file LuminosityBlockRange.cc.

41  : startLumiID_(begin), endLumiID_(end) {}

Member Function Documentation

◆ endLumi()

LuminosityBlockNumber_t edm::LuminosityBlockRange::endLumi ( ) const
inline

◆ endLumiID()

LuminosityBlockID edm::LuminosityBlockRange::endLumiID ( ) const
inline

Definition at line 47 of file LuminosityBlockRange.h.

47 { return endLumiID_; }

References endLumiID_.

Referenced by edm::contains(), and edm::merge().

◆ endRun()

RunNumber_t edm::LuminosityBlockRange::endRun ( ) const
inline

Definition at line 49 of file LuminosityBlockRange.h.

49 { return endLumiID_.run(); }

References endLumiID_, and edm::LuminosityBlockID::run().

Referenced by edm::encode(), and PYBIND11_MODULE().

◆ startLumi()

LuminosityBlockNumber_t edm::LuminosityBlockRange::startLumi ( ) const
inline

◆ startLumiID()

LuminosityBlockID edm::LuminosityBlockRange::startLumiID ( ) const
inline

Definition at line 46 of file LuminosityBlockRange.h.

46 { return startLumiID_; }

References startLumiID_.

Referenced by edm::contains(), edm::lessThan(), and edm::merge().

◆ startRun()

RunNumber_t edm::LuminosityBlockRange::startRun ( ) const
inline

Definition at line 48 of file LuminosityBlockRange.h.

48 { return startLumiID_.run(); }

References edm::LuminosityBlockID::run(), and startLumiID_.

Referenced by edm::encode(), orderLuminosityBlockRange(), and PYBIND11_MODULE().

Member Data Documentation

◆ endLumiID_

LuminosityBlockID edm::LuminosityBlockRange::endLumiID_
private

Definition at line 64 of file LuminosityBlockRange.h.

Referenced by endLumi(), endLumiID(), and endRun().

◆ startLumiID_

LuminosityBlockID edm::LuminosityBlockRange::startLumiID_
private

Definition at line 63 of file LuminosityBlockRange.h.

Referenced by startLumi(), startLumiID(), and startRun().

edm::LuminosityBlockRange::endRun
RunNumber_t endRun() const
Definition: LuminosityBlockRange.h:49
edm::LuminosityBlockRange::endLumiID_
LuminosityBlockID endLumiID_
Definition: LuminosityBlockRange.h:64
mps_fire.end
end
Definition: mps_fire.py:242
edm::LuminosityBlockID::luminosityBlock
LuminosityBlockNumber_t luminosityBlock() const
Definition: LuminosityBlockID.h:42
edm::LuminosityBlockID::run
RunNumber_t run() const
Definition: LuminosityBlockID.h:41
edm::LuminosityBlockRange::startLumiID_
LuminosityBlockID startLumiID_
Definition: LuminosityBlockRange.h:63
edm::LuminosityBlockRange::startRun
RunNumber_t startRun() const
Definition: LuminosityBlockRange.h:48
edm::LuminosityBlockID::maxLuminosityBlockNumber
static LuminosityBlockNumber_t maxLuminosityBlockNumber()
Definition: LuminosityBlockID.h:84