1 #ifndef canvas_Persistency_Provenance_EventID_h 2 #define canvas_Persistency_Provenance_EventID_h 17 std::ostream&
operator<<(std::ostream& os, EventID
const& iID);
138 <<
"Cannot increment invalid event number.\n";
163 <<
"cannot decrement invalid event number.";
248 return !(*
this ==
other);
267 return (other < *
this);
273 return (*
this < other) || (*
this ==
other);
279 return !(*
this <
other);
304 <<
"Attempt to construct an EventID with an invalid number.\n" 305 <<
"Maybe you want EventID::flushEvent()?\n";
RunID const & runID() const
static constexpr EventID flushEvent() noexcept
SubRunID const & subRunID() const
bool operator<(EventID const &other) const
static EventID maxEvent()
bool operator>=(EventID const &other) const
EventNumber_t inRangeOrInvalid(EventNumber_t e)
SubRunID previousRun() const
EventID previousRun() const
bool operator>(EventID const &other) const
bool operator!=(EventID const &other) const
RunID const & runID() const
std::ostream & operator<<(std::ostream &os, const GroupSelector &gs)
IDNumber_t< Level::SubRun > SubRunNumber_t
EventID nextSubRun(EventNumber_t first=IDNumber< Level::Event >::first()) const
static SubRunID firstSubRun()
constexpr EventID() noexcept
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
bool operator==(EventID const &other) const
SubRunID previous() const
static constexpr EventID invalidEvent() noexcept
static SubRunID invalidSubRun(RunID const &rID)
IDNumber_t< Level::Event > EventNumber_t
EventNumber_t event() const
bool operator<=(EventID const &other) const
SubRunNumber_t subRun() const
static SubRunID maxSubRun()
EventID previousSubRun() const
static EventID firstEvent()
static constexpr double sr
friend std::ostream & operator<<(std::ostream &os, EventID const &iID)
SubRunNumber_t subRun() const
IDNumber_t< Level::Run > RunNumber_t