1 #ifndef canvas_Persistency_Provenance_EventID_h 2 #define canvas_Persistency_Provenance_EventID_h 17 std::ostream&
operator<<(std::ostream& os, EventID
const& iID);
59 bool operator<(EventID
const& other)
const;
60 bool operator>(EventID
const& other)
const;
64 friend std::ostream&
operator<<(std::ostream& os, EventID
const& iID);
139 <<
"Cannot increment invalid event number.\n";
164 <<
"cannot decrement invalid event number.";
249 return !(*
this ==
other);
268 return (other < *
this);
274 return (*
this < other) || (*
this ==
other);
280 return !(*
this <
other);
305 <<
"Attempt to construct an EventID with an invalid number.\n" 306 <<
"Maybe you want EventID::flushEvent()?\n";
std::ostream & operator<<(std::ostream &os, EDAnalyzer::Table< T > const &t)
RunID const & runID() const
SubRunID const & subRunID() const
static constexpr EventID invalidEvent()
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
static constexpr EventID flushEvent()
bool operator!=(EventID const &other) const
RunID const & runID() const
IDNumber_t< Level::SubRun > SubRunNumber_t
EventID nextSubRun(EventNumber_t first=IDNumber< Level::Event >::first()) const
static SubRunID firstSubRun()
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
bool operator==(EventID const &other) const
SubRunID previous() const
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()
friend std::ostream & operator<<(std::ostream &os, EventID const &iID)
SubRunNumber_t subRun() const
IDNumber_t< Level::Run > RunNumber_t