CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::EventRange Class Reference

#include <EventRange.h>

List of all members.

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.

                         :
      // Special cases since 0 means maximum
      startEventID_(0U, 0U, EventID::maxEventNumber()),
      endEventID_(0U, 0U, EventID::maxEventNumber()) {
  }
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.

                                                                                           :
      // Special cases since 0 means maximum
      startEventID_(startRun, startLumi, startEvent != 0 ? startEvent : EventID::maxEventNumber()),
      endEventID_(endRun, endLumi, endEvent != 0 ? endEvent : EventID::maxEventNumber()) {
    assert((startLumi == 0) == (endLumi == 0));
  }
edm::EventRange::EventRange ( EventID const &  begin,
EventID const &  end 
)

Definition at line 22 of file EventRange.cc.


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

{return    endEventID_.event(); }
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().

{return   endEventID_; }
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(), edm::encode(), and edm::operator<<().

{return   endEventID_.luminosityBlock(); }
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<<().

{return      endEventID_.run(); }
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<<().

{return  startEventID_.event(); }
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().

{return startEventID_; }
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<<().

{return    startEventID_.run(); }

Member Data Documentation

Definition at line 66 of file EventRange.h.

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

Definition at line 65 of file EventRange.h.

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