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

◆ 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.

19  : // Special cases since 0 means maximum
22  assert((startLumi == 0) == (endLumi == 0));
23  }

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

◆ EventRange() [3/3]

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

Definition at line 25 of file EventRange.cc.

Member Function Documentation

◆ endEvent()

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

Definition at line 53 of file EventRange.h.

53 { return endEventID_.event(); }

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

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

◆ endEventID()

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

Definition at line 47 of file EventRange.h.

47 { return endEventID_; }

References endEventID_.

Referenced by edm::contains(), and CTPPSLHCInfoESSource::setIntervalFor().

◆ endLumi()

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

◆ endRun()

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

Definition at line 49 of file EventRange.h.

49 { return endEventID_.run(); }

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

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

◆ startEvent()

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

Definition at line 52 of file EventRange.h.

52 { return startEventID_.event(); }

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

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

◆ startEventID()

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

Definition at line 46 of file EventRange.h.

46 { return startEventID_; }

References startEventID_.

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

◆ startLumi()

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

◆ startRun()

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

Definition at line 48 of file EventRange.h.

48 { return startEventID_.run(); }

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

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

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

edm::EventRange::startEvent
EventNumber_t startEvent() const
Definition: EventRange.h:52
edm::EventRange::startEventID_
EventID startEventID_
Definition: EventRange.h:63
cms::cuda::assert
assert(be >=bs)
edm::EventID::luminosityBlock
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:39
edm::EventRange::endEventID_
EventID endEventID_
Definition: EventRange.h:64
end
#define end
Definition: vmac.h:39
edm::EventRange::startRun
RunNumber_t startRun() const
Definition: EventRange.h:48
edm::EventID::run
RunNumber_t run() const
Definition: EventID.h:38
edm::EventID::maxEventNumber
static EventNumber_t maxEventNumber()
Definition: EventID.h:96
mitigatedMETSequence_cff.U
U
Definition: mitigatedMETSequence_cff.py:36
edm::EventRange::startLumi
LuminosityBlockNumber_t startLumi() const
Definition: EventRange.h:50
edm::EventRange::endRun
RunNumber_t endRun() const
Definition: EventRange.h:49
edm::EventID::event
EventNumber_t event() const
Definition: EventID.h:40
edm::EventRange::endLumi
LuminosityBlockNumber_t endLumi() const
Definition: EventRange.h:51
edm::EventRange::endEvent
EventNumber_t endEvent() const
Definition: EventRange.h:53
begin
#define begin
Definition: vmac.h:32