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::EventRange Class Reference

#include <EventRange.h>

Public Member Functions

EventNumber_t endEvent () const
 
EventID endEventID () const
 
LumiNumber_t endLumi () const
 
RunNumber_t endRun () const
 
 EventRange ()
 
 EventRange (RunNumber_t startRun, LumiNumber_t startLumi, EventNumber_t startEvent, RunNumber_t endRun, LumiNumber_t endLumi, EventNumber_t endEvent)
 
 EventRange (EventID const &begin, EventID const &end)
 
EventNumber_t startEvent () const
 
EventID startEventID () const
 
LumiNumber_t startLumi () const
 
RunNumber_t startRun () const
 

Private Attributes

EventID endEventID_
 
EventID startEventID_
 

Detailed Description

Definition at line 34 of file EventRange.h.

Constructor & Destructor Documentation

edm::EventRange::EventRange ( )

Definition at line 8 of file EventRange.cc.

8  :
9  // Special cases since 0 means maximum
12  }
EventID startEventID_
Definition: EventRange.h:65
EventID endEventID_
Definition: EventRange.h:66
static EventNumber_t maxEventNumber()
Definition: EventID.h:106
edm::EventRange::EventRange ( RunNumber_t  startRun,
LumiNumber_t  startLumi,
EventNumber_t  startEvent,
RunNumber_t  endRun,
LumiNumber_t  endLumi,
EventNumber_t  endEvent 
)

Definition at line 14 of file EventRange.cc.

15  :
16  // Special cases since 0 means maximum
19  assert((startLumi == 0) == (endLumi == 0));
20  }
LumiNumber_t startLumi() const
Definition: EventRange.h:51
EventID startEventID_
Definition: EventRange.h:65
RunNumber_t startRun() const
Definition: EventRange.h:49
EventID endEventID_
Definition: EventRange.h:66
RunNumber_t endRun() const
Definition: EventRange.h:50
EventNumber_t endEvent() const
Definition: EventRange.h:54
LumiNumber_t endLumi() const
Definition: EventRange.h:52
EventNumber_t startEvent() const
Definition: EventRange.h:53
static EventNumber_t maxEventNumber()
Definition: EventID.h:106
edm::EventRange::EventRange ( EventID const &  begin,
EventID const &  end 
)

Definition at line 22 of file EventRange.cc.

22  :
24  endEventID_(end) {
25  }
EventID startEventID_
Definition: EventRange.h:65
EventID endEventID_
Definition: EventRange.h:66
#define end
Definition: vmac.h:38
#define begin
Definition: vmac.h:31

Member Function Documentation

EventNumber_t edm::EventRange::endEvent ( ) const
inline

Definition at line 54 of file EventRange.h.

References endEventID_, and edm::EventID::event().

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

54 {return endEventID_.event(); }
EventNumber_t event() const
Definition: EventID.h:44
EventID endEventID_
Definition: EventRange.h:66
EventID edm::EventRange::endEventID ( ) const
inline

Definition at line 48 of file EventRange.h.

References endEventID_.

Referenced by edm::contains(), edm::contains_(), edm::lessThan(), and edm::lessThanSpecial().

48 {return endEventID_; }
EventID endEventID_
Definition: EventRange.h:66
LumiNumber_t edm::EventRange::endLumi ( ) const
inline

Definition at line 52 of file EventRange.h.

References endEventID_, and edm::EventID::luminosityBlock().

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

52 {return endEventID_.luminosityBlock(); }
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:43
EventID endEventID_
Definition: EventRange.h:66
RunNumber_t edm::EventRange::endRun ( ) const
inline

Definition at line 50 of file EventRange.h.

References endEventID_, and edm::EventID::run().

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

50 {return endEventID_.run(); }
RunNumber_t run() const
Definition: EventID.h:42
EventID endEventID_
Definition: EventRange.h:66
EventNumber_t edm::EventRange::startEvent ( ) const
inline

Definition at line 53 of file EventRange.h.

References edm::EventID::event(), and startEventID_.

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

53 {return startEventID_.event(); }
EventNumber_t event() const
Definition: EventID.h:44
EventID startEventID_
Definition: EventRange.h:65
EventID edm::EventRange::startEventID ( ) const
inline

Definition at line 47 of file EventRange.h.

References startEventID_.

Referenced by edm::contains(), edm::contains_(), edm::lessThan(), and edm::lessThanSpecial().

47 {return startEventID_; }
EventID startEventID_
Definition: EventRange.h:65
LumiNumber_t edm::EventRange::startLumi ( ) const
inline
RunNumber_t edm::EventRange::startRun ( ) const
inline

Definition at line 49 of file EventRange.h.

References edm::EventID::run(), and startEventID_.

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

49 {return startEventID_.run(); }
RunNumber_t run() const
Definition: EventID.h:42
EventID startEventID_
Definition: EventRange.h:65

Member Data Documentation

EventID edm::EventRange::endEventID_
private

Definition at line 66 of file EventRange.h.

Referenced by endEvent(), endEventID(), endLumi(), and endRun().

EventID edm::EventRange::startEventID_
private

Definition at line 65 of file EventRange.h.

Referenced by startEvent(), startEventID(), startLumi(), and startRun().