LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 }
std::ostream & operator<<(std::ostream &os, EDAnalyzer::Table< T > const &t)
Definition: EDAnalyzer.h:184
bool isValid() const
Definition: SubRunID.h:96
RunID run_
Definition: SubRunID.h:63
SubRunNumber_t subRun_
Definition: SubRunID.h:64
bool isFlush() const
Definition: SubRunID.h:102