CMS 3D CMS Logo

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

◆ EventRange() [1/3]

edm::EventRange::EventRange ( )

Definition at line 8 of file EventRange.cc.

9  : // Special cases since 0 means maximum
EventID startEventID_
Definition: EventRange.h:63
EventID endEventID_
Definition: EventRange.h:64
static EventNumber_t maxEventNumber()
Definition: EventID.h:96

◆ EventRange() [2/3]

edm::EventRange::EventRange ( RunNumber_t  startRun,
LuminosityBlockNumber_t  startLumi,
EventNumber_t  startEvent,
RunNumber_t  endRun,
LuminosityBlockNumber_t  endLumi,
EventNumber_t  endEvent 
)

Definition at line 13 of file EventRange.cc.

References cms::cuda::assert(), endLumi(), and startLumi().

19  : // Special cases since 0 means maximum
22  assert((startLumi == 0) == (endLumi == 0));
23  }
EventID startEventID_
Definition: EventRange.h:63
EventNumber_t startEvent() const
Definition: EventRange.h:52
RunNumber_t startRun() const
Definition: EventRange.h:48
assert(be >=bs)
EventID endEventID_
Definition: EventRange.h:64
LuminosityBlockNumber_t endLumi() const
Definition: EventRange.h:51
RunNumber_t endRun() const
Definition: EventRange.h:49
LuminosityBlockNumber_t startLumi() const
Definition: EventRange.h:50
static EventNumber_t maxEventNumber()
Definition: EventID.h:96
EventNumber_t endEvent() const
Definition: EventRange.h:53

◆ EventRange() [3/3]

edm::EventRange::EventRange ( EventID const &  begin,
EventID const &  end 
)

Definition at line 25 of file EventRange.cc.

25 : startEventID_(begin), endEventID_(end) {}
EventID startEventID_
Definition: EventRange.h:63
EventID endEventID_
Definition: EventRange.h:64

Member Function Documentation

◆ endEvent()

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

Definition at line 53 of file EventRange.h.

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

Referenced by edm::encode(), and PYBIND11_MODULE().

53 { return endEventID_.event(); }
EventID endEventID_
Definition: EventRange.h:64
EventNumber_t event() const
Definition: EventID.h:40

◆ endEventID()

EventID edm::EventRange::endEventID ( ) const
inline

◆ endLumi()

LuminosityBlockNumber_t edm::EventRange::endLumi ( ) const
inline

Definition at line 51 of file EventRange.h.

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

Referenced by Types.EventRange::cppID(), edm::encode(), EventRange(), and PYBIND11_MODULE().

51 { return endEventID_.luminosityBlock(); }
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:39
EventID endEventID_
Definition: EventRange.h:64

◆ endRun()

RunNumber_t edm::EventRange::endRun ( ) const
inline

Definition at line 49 of file EventRange.h.

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

Referenced by edm::encode(), and PYBIND11_MODULE().

49 { return endEventID_.run(); }
EventID endEventID_
Definition: EventRange.h:64
RunNumber_t run() const
Definition: EventID.h:38

◆ startEvent()

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

Definition at line 52 of file EventRange.h.

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

Referenced by edm::encode(), and PYBIND11_MODULE().

52 { return startEventID_.event(); }
EventID startEventID_
Definition: EventRange.h:63
EventNumber_t event() const
Definition: EventID.h:40

◆ startEventID()

EventID edm::EventRange::startEventID ( ) const
inline

◆ startLumi()

LuminosityBlockNumber_t edm::EventRange::startLumi ( ) const
inline

◆ startRun()

RunNumber_t edm::EventRange::startRun ( ) const
inline

Definition at line 48 of file EventRange.h.

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

Referenced by edm::encode(), and PYBIND11_MODULE().

48 { return startEventID_.run(); }
EventID startEventID_
Definition: EventRange.h:63
RunNumber_t run() const
Definition: EventID.h:38

Member Data Documentation

◆ endEventID_

EventID edm::EventRange::endEventID_
private

Definition at line 64 of file EventRange.h.

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

◆ startEventID_

EventID edm::EventRange::startEventID_
private

Definition at line 63 of file EventRange.h.

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