LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
SubRunID.cc
Go to the documentation of this file.
2 
3 #include <ostream>
4 
5 std::ostream&
6 art::operator<<(std::ostream& os, SubRunID const& iID)
7 {
8  os << iID.run_ << " subRun: ";
9  if (iID.isFlush()) {
10  os << "FLUSH";
11  } else if (iID.isValid()) {
12  os << iID.subRun_;
13  } else {
14  os << "INVALID";
15  }
16  return os;
17 }
bool isValid() const
Definition: SubRunID.h:97
std::ostream & operator<<(std::ostream &os, const GroupSelector &gs)
RunID run_
Definition: SubRunID.h:64
SubRunNumber_t subRun_
Definition: SubRunID.h:65
bool isFlush() const
Definition: SubRunID.h:103