RunID.cc
Go to the documentation of this file.
2 
3 #include <ostream>
4 
5 std::ostream&
6 art::operator<<(std::ostream& os, art::RunID const& iID)
7 {
8  os << "run: ";
9  if (iID.isFlush()) {
10  os << "FLUSH";
11  } else if (iID.isValid()) {
12  os << iID.run_;
13  } else {
14  os << "INVALID";
15  }
16  return os;
17 }
bool isFlush() const
Definition: RunID.h:76
std::ostream & operator<<(std::ostream &os, const GroupSelector &gs)
RunNumber_t run_
Definition: RunID.h:54
bool isValid() const
Definition: RunID.h:70