CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::LuminosityBlockRange Class Reference

#include <LuminosityBlockRange.h>

List of all members.

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 28 of file LuminosityBlockRange.cc.

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

Definition at line 34 of file LuminosityBlockRange.cc.

                                                                                                               :
    // Special cases since 0 means maximum
    startLumiID_(startRun, startLuminosityBlock != 0 ? startLuminosityBlock : LuminosityBlockID::maxLuminosityBlockNumber()),
    endLumiID_(endRun, endLuminosityBlock !=0 ? endLuminosityBlock : LuminosityBlockID::maxLuminosityBlockNumber()) {
  }
LuminosityBlockRange::LuminosityBlockRange ( LuminosityBlockID const &  begin,
LuminosityBlockID const &  end 
)

Definition at line 41 of file LuminosityBlockRange.cc.


Member Function Documentation

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

Definition at line 49 of file LuminosityBlockRange.h.

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

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

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

Definition at line 45 of file LuminosityBlockRange.h.

References endLumiID_.

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

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

Definition at line 47 of file LuminosityBlockRange.h.

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

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

{return endLumiID_.run();}
LuminosityBlockNumber_t edm::LuminosityBlockRange::startLumi ( ) const [inline]

Definition at line 48 of file LuminosityBlockRange.h.

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

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

{return startLumiID_.luminosityBlock();}
LuminosityBlockID edm::LuminosityBlockRange::startLumiID ( ) const [inline]

Definition at line 44 of file LuminosityBlockRange.h.

References startLumiID_.

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

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

Definition at line 46 of file LuminosityBlockRange.h.

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

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

{return startLumiID_.run();}

Member Data Documentation

Definition at line 62 of file LuminosityBlockRange.h.

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

Definition at line 61 of file LuminosityBlockRange.h.

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