CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
edm::RunID Class Reference

#include <RunID.h>

Public Member Functions

RunID next () const
 
bool operator!= (RunID const &iRHS) const
 
bool operator< (RunID const &iRHS) const
 
bool operator<= (RunID const &iRHS) const
 
bool operator== (RunID const &iRHS) const
 
bool operator> (RunID const &iRHS) const
 
bool operator>= (RunID const &iRHS) const
 
RunID previous () const
 
RunNumber_t run () const
 
 RunID ()
 
 RunID (RunNumber_t iRun)
 

Static Public Member Functions

static RunID firstValidRun ()
 
static RunNumber_t maxRunNumber ()
 

Private Attributes

RunNumber_t run_
 

Detailed Description

Definition at line 30 of file RunID.h.

Constructor & Destructor Documentation

edm::RunID::RunID ( )
inline

Definition at line 36 of file RunID.h.

Referenced by firstValidRun(), next(), and previous().

36 : run_(0) {}
RunNumber_t run_
Definition: RunID.h:92
edm::RunID::RunID ( RunNumber_t  iRun)
inlineexplicit

Definition at line 37 of file RunID.h.

37  :
38  run_(iRun) {}
RunNumber_t run_
Definition: RunID.h:92

Member Function Documentation

static RunID edm::RunID::firstValidRun ( )
inlinestatic

Definition at line 81 of file RunID.h.

References RunID().

Referenced by edm::RootFile::overrideRunNumber().

81  {
82  return RunID(1);
83  }
RunID()
Definition: RunID.h:36
static RunNumber_t edm::RunID::maxRunNumber ( )
inlinestatic

Definition at line 77 of file RunID.h.

77  {
78  return 0xFFFFFFFFU;
79  }
RunID edm::RunID::next ( void  ) const
inline

Definition at line 46 of file RunID.h.

References run_, and RunID().

Referenced by BeautifulSoup.PageElement::_invert().

46  {
47  return RunID(run_+1);
48  }
RunNumber_t run_
Definition: RunID.h:92
RunID()
Definition: RunID.h:36
bool edm::RunID::operator!= ( RunID const &  iRHS) const
inline

Definition at line 59 of file RunID.h.

59  {
60  return !(*this == iRHS);
61  }
bool edm::RunID::operator< ( RunID const &  iRHS) const
inline

Definition at line 63 of file RunID.h.

References run_.

63  {
64  return run_ < iRHS.run_;
65  }
RunNumber_t run_
Definition: RunID.h:92
bool edm::RunID::operator<= ( RunID const &  iRHS) const
inline

Definition at line 66 of file RunID.h.

References run_.

66  {
67  return run_ <= iRHS.run_;
68  }
RunNumber_t run_
Definition: RunID.h:92
bool edm::RunID::operator== ( RunID const &  iRHS) const
inline

Definition at line 56 of file RunID.h.

References run_.

56  {
57  return iRHS.run_ == run_;
58  }
RunNumber_t run_
Definition: RunID.h:92
bool edm::RunID::operator> ( RunID const &  iRHS) const
inline

Definition at line 69 of file RunID.h.

References run_.

69  {
70  return run_ > iRHS.run_;
71  }
RunNumber_t run_
Definition: RunID.h:92
bool edm::RunID::operator>= ( RunID const &  iRHS) const
inline

Definition at line 72 of file RunID.h.

References run_.

72  {
73  return run_ >= iRHS.run_;
74  }
RunNumber_t run_
Definition: RunID.h:92
RunID edm::RunID::previous ( ) const
inline

Definition at line 49 of file RunID.h.

References run_, and RunID().

Referenced by BeautifulSoup.PageElement::_invert().

49  {
50  if(run_ != 0) {
51  return RunID(run_-1);
52  }
53  return RunID(0);
54  }
RunNumber_t run_
Definition: RunID.h:92
RunID()
Definition: RunID.h:36
RunNumber_t edm::RunID::run ( ) const
inline

Member Data Documentation

RunNumber_t edm::RunID::run_
private

Definition at line 92 of file RunID.h.

Referenced by next(), operator<(), operator<=(), operator==(), operator>(), operator>=(), previous(), and run().