LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
EventID.cc
Go to the documentation of this file.
3 
4 #include <ostream>
5 
6 std::ostream&
7 art::operator<<(std::ostream& os, EventID const& iID)
8 {
9  os << iID.subRun_ << " event: ";
10  if (iID.isFlush()) {
11  os << "FLUSH";
12  } else if (iID.isValid()) {
13  os << iID.event_;
14  } else {
15  os << "INVALID";
16  }
17  return os;
18 }
bool isValid() const
Definition: EventID.h:123
std::ostream & operator<<(std::ostream &os, EDAnalyzer::Table< T > const &t)
Definition: EDAnalyzer.h:184
bool isFlush() const
Definition: EventID.h:129
SubRunID subRun_
Definition: EventID.h:76
EventNumber_t event_
Definition: EventID.h:77