CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 28 of file LuminosityBlockRange.cc.

28  :
29  // Special cases since 0 means maximum
32  }
static LuminosityBlockNumber_t maxLuminosityBlockNumber()
LuminosityBlockRange::LuminosityBlockRange ( RunNumber_t  startRun,
LuminosityBlockNumber_t  startLuminosityBlock,
RunNumber_t  endRun,
LuminosityBlockNumber_t  endLuminosityBlock 
)

Definition at line 34 of file LuminosityBlockRange.cc.

35  :
36  // Special cases since 0 means maximum
37  startLumiID_(startRun, startLuminosityBlock != 0 ? startLuminosityBlock : LuminosityBlockID::maxLuminosityBlockNumber()),
38  endLumiID_(endRun, endLuminosityBlock !=0 ? endLuminosityBlock : LuminosityBlockID::maxLuminosityBlockNumber()) {
39  }
static LuminosityBlockNumber_t maxLuminosityBlockNumber()
RunNumber_t startRun() const
RunNumber_t endRun() const
LuminosityBlockRange::LuminosityBlockRange ( LuminosityBlockID const &  begin,
LuminosityBlockID const &  end 
)

Definition at line 41 of file LuminosityBlockRange.cc.

41  :
43  endLumiID_(end) {
44  }
#define end
Definition: vmac.h:38
#define begin
Definition: vmac.h:31

Member Function Documentation

LuminosityBlockNumber_t edm::LuminosityBlockRange::endLumi ( ) const
inline
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().

45 {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<<().

47 {return endLumiID_.run();}
RunNumber_t run() const
LuminosityBlockNumber_t edm::LuminosityBlockRange::startLumi ( ) const
inline
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().

44 {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<<().

46 {return startLumiID_.run();}
RunNumber_t run() const

Member Data Documentation

LuminosityBlockID edm::LuminosityBlockRange::endLumiID_
private

Definition at line 62 of file LuminosityBlockRange.h.

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

LuminosityBlockID edm::LuminosityBlockRange::startLumiID_
private

Definition at line 61 of file LuminosityBlockRange.h.

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