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
 
LuminosityBlockNumber_t endLumi () const
 
RunNumber_t endRun () const
 
 EventRange ()
 
 EventRange (RunNumber_t startRun, LuminosityBlockNumber_t startLumi, EventNumber_t startEvent, RunNumber_t endRun, LuminosityBlockNumber_t endLumi, EventNumber_t endEvent)
 
 EventRange (EventID const &begin, EventID const &end)
 
EventNumber_t startEvent () const
 
EventID startEventID () const
 
LuminosityBlockNumber_t startLumi () const
 
RunNumber_t startRun () const
 

Private Attributes

EventID endEventID_
 
EventID startEventID_
 

Detailed Description

Definition at line 31 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:62
EventID endEventID_
Definition: EventRange.h:63
static EventNumber_t maxEventNumber()
Definition: EventID.h:111
edm::EventRange::EventRange ( RunNumber_t  startRun,
LuminosityBlockNumber_t  startLumi,
EventNumber_t  startEvent,
RunNumber_t  endRun,
LuminosityBlockNumber_t  endLumi,
EventNumber_t  endEvent 
)

Definition at line 14 of file EventRange.cc.

References assert().

15  :
16  // Special cases since 0 means maximum
19  assert((startLumi == 0) == (endLumi == 0));
20  }
EventID startEventID_
Definition: EventRange.h:62
assert(m_qm.get())
RunNumber_t startRun() const
Definition: EventRange.h:46
EventID endEventID_
Definition: EventRange.h:63
RunNumber_t endRun() const
Definition: EventRange.h:47
EventNumber_t endEvent() const
Definition: EventRange.h:51
LuminosityBlockNumber_t endLumi() const
Definition: EventRange.h:49
EventNumber_t startEvent() const
Definition: EventRange.h:50
static EventNumber_t maxEventNumber()
Definition: EventID.h:111
LuminosityBlockNumber_t startLumi() const
Definition: EventRange.h:48
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:62
EventID endEventID_
Definition: EventRange.h:63
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30

Member Function Documentation

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

Definition at line 51 of file EventRange.h.

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

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

51 {return endEventID_.event(); }
EventNumber_t event() const
Definition: EventID.h:41
EventID endEventID_
Definition: EventRange.h:63
EventID edm::EventRange::endEventID ( ) const
inline

Definition at line 45 of file EventRange.h.

References endEventID_.

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

45 {return endEventID_; }
EventID endEventID_
Definition: EventRange.h:63
LuminosityBlockNumber_t edm::EventRange::endLumi ( ) const
inline

Definition at line 49 of file EventRange.h.

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

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

49 {return endEventID_.luminosityBlock(); }
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:40
EventID endEventID_
Definition: EventRange.h:63
RunNumber_t edm::EventRange::endRun ( ) const
inline

Definition at line 47 of file EventRange.h.

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

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

47 {return endEventID_.run(); }
RunNumber_t run() const
Definition: EventID.h:39
EventID endEventID_
Definition: EventRange.h:63
EventNumber_t edm::EventRange::startEvent ( ) const
inline

Definition at line 50 of file EventRange.h.

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

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

50 {return startEventID_.event(); }
EventNumber_t event() const
Definition: EventID.h:41
EventID startEventID_
Definition: EventRange.h:62
EventID edm::EventRange::startEventID ( ) const
inline

Definition at line 44 of file EventRange.h.

References startEventID_.

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

44 {return startEventID_; }
EventID startEventID_
Definition: EventRange.h:62
LuminosityBlockNumber_t edm::EventRange::startLumi ( ) const
inline
RunNumber_t edm::EventRange::startRun ( ) const
inline

Definition at line 46 of file EventRange.h.

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

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

46 {return startEventID_.run(); }
RunNumber_t run() const
Definition: EventID.h:39
EventID startEventID_
Definition: EventRange.h:62

Member Data Documentation

EventID edm::EventRange::endEventID_
private

Definition at line 63 of file EventRange.h.

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

EventID edm::EventRange::startEventID_
private

Definition at line 62 of file EventRange.h.

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