test
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

Description: Holds run number

Usage: <usage>

Definition at line 28 of file RunID.h.

Constructor & Destructor Documentation

edm::RunID::RunID ( )
inline

Definition at line 32 of file RunID.h.

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

RunNumber_t run_
Definition: RunID.h:88
RunNumber_t const invalidRunNumber
edm::RunID::RunID ( RunNumber_t  iRun)
inlineexplicit

Definition at line 33 of file RunID.h.

33  :
34  run_(iRun) {}
RunNumber_t run_
Definition: RunID.h:88

Member Function Documentation

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

Definition at line 77 of file RunID.h.

References RunID().

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

77  {
78  return RunID(1);
79  }
RunID()
Definition: RunID.h:32
static RunNumber_t edm::RunID::maxRunNumber ( )
inlinestatic

Definition at line 73 of file RunID.h.

73  {
74  return 0xFFFFFFFFU;
75  }
RunID edm::RunID::next ( void  ) const
inline

Definition at line 42 of file RunID.h.

References run_, and RunID().

Referenced by BeautifulSoup.PageElement::_invert().

42  {
43  return RunID(run_+1);
44  }
RunNumber_t run_
Definition: RunID.h:88
RunID()
Definition: RunID.h:32
bool edm::RunID::operator!= ( RunID const &  iRHS) const
inline

Definition at line 55 of file RunID.h.

55  {
56  return !(*this == iRHS);
57  }
bool edm::RunID::operator< ( RunID const &  iRHS) const
inline

Definition at line 59 of file RunID.h.

References run_.

59  {
60  return run_ < iRHS.run_;
61  }
RunNumber_t run_
Definition: RunID.h:88
bool edm::RunID::operator<= ( RunID const &  iRHS) const
inline

Definition at line 62 of file RunID.h.

References run_.

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

Definition at line 52 of file RunID.h.

References run_.

52  {
53  return iRHS.run_ == run_;
54  }
RunNumber_t run_
Definition: RunID.h:88
bool edm::RunID::operator> ( RunID const &  iRHS) const
inline

Definition at line 65 of file RunID.h.

References run_.

65  {
66  return run_ > iRHS.run_;
67  }
RunNumber_t run_
Definition: RunID.h:88
bool edm::RunID::operator>= ( RunID const &  iRHS) const
inline

Definition at line 68 of file RunID.h.

References run_.

68  {
69  return run_ >= iRHS.run_;
70  }
RunNumber_t run_
Definition: RunID.h:88
RunID edm::RunID::previous ( ) const
inline

Definition at line 45 of file RunID.h.

References run_, and RunID().

Referenced by BeautifulSoup.PageElement::_invert().

45  {
46  if(run_ != 0) {
47  return RunID(run_-1);
48  }
49  return RunID(0);
50  }
RunNumber_t run_
Definition: RunID.h:88
RunID()
Definition: RunID.h:32
RunNumber_t edm::RunID::run ( ) const
inline

Member Data Documentation

RunNumber_t edm::RunID::run_
private

Definition at line 88 of file RunID.h.

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