CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 (RunNumber_t startRun, LuminosityBlockNumber_t startLuminosityBlock, RunNumber_t endRun, LuminosityBlockNumber_t endLuminosityBlock)
 
 LuminosityBlockRange (LuminosityBlockID const &begin, LuminosityBlockID const &end)
 
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::LuminosityBlockRange ( )

Definition at line 25 of file LuminosityBlockRange.cc.

26  : // Special cases since 0 means maximum
static LuminosityBlockNumber_t maxLuminosityBlockNumber()
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()) {}
static LuminosityBlockNumber_t maxLuminosityBlockNumber()
RunNumber_t startRun() const
RunNumber_t endRun() const
LuminosityBlockRange::LuminosityBlockRange ( LuminosityBlockID const &  begin,
LuminosityBlockID const &  end 
)

Definition at line 40 of file LuminosityBlockRange.cc.

string end
Definition: dataset.py:937

Member Function Documentation

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

Definition at line 51 of file LuminosityBlockRange.h.

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

Referenced by Types.EventRange::cppID(), edm::encode(), edm::operator<<(), and PYBIND11_MODULE().

51 { return endLumiID_.luminosityBlock(); }
LuminosityBlockNumber_t luminosityBlock() const
LuminosityBlockID edm::LuminosityBlockRange::endLumiID ( ) const
inline

Definition at line 47 of file LuminosityBlockRange.h.

References endLumiID_.

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

47 { return endLumiID_; }
RunNumber_t edm::LuminosityBlockRange::endRun ( ) const
inline

Definition at line 49 of file LuminosityBlockRange.h.

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

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

49 { return endLumiID_.run(); }
RunNumber_t run() const
LuminosityBlockNumber_t edm::LuminosityBlockRange::startLumi ( ) const
inline
LuminosityBlockID edm::LuminosityBlockRange::startLumiID ( ) const
inline

Definition at line 46 of file LuminosityBlockRange.h.

References startLumiID_.

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

46 { return startLumiID_; }
RunNumber_t edm::LuminosityBlockRange::startRun ( ) const
inline

Member Data Documentation

LuminosityBlockID edm::LuminosityBlockRange::endLumiID_
private

Definition at line 64 of file LuminosityBlockRange.h.

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

LuminosityBlockID edm::LuminosityBlockRange::startLumiID_
private

Definition at line 63 of file LuminosityBlockRange.h.

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