artdaq_core  v1_06_00
 All Classes Namespaces Functions
RawEvent.cc
1 #include "artdaq-core/Data/RawEvent.hh"
2 #include <ostream>
3 
4 namespace artdaq {
5 
6  void RawEvent::print(std::ostream & os) const
7  {
8  os << "Run " << runID()
9  << ", Subrun " << subrunID()
10  << ", Event " << sequenceID()
11  << ", FragCount " << numFragments()
12  << ", WordCount " << wordCount()
13  << ", Complete? " << isComplete()
14  << '\n';
15  for (auto const & frag : fragments_) { os << *frag << '\n'; }
16  }
17 
18 }