SSPFragment.cc
Go to the documentation of this file.
2 
3 #include "cetlib_except/exception.h"
4 
5 namespace {
6 
7  // JCF, 9/29/14
8 
9  // pop_count() is currently unused; under the new compiler (gcc
10  // 4.9.1 as opposed to 4.8.2) this registers as an error
11  // (-Werror=unused-function) so I've commented it out for now
12 
13 
14  // unsigned int pop_count (unsigned int n) {
15  // unsigned int c;
16  // for (c = 0; n; c++) n &= n - 1;
17  // return c;
18  // }
19 }
20 
21 std::ostream & dune::operator << (std::ostream & os, SSPFragment const & f) {
22  os << "SSPFragment event size: "
23  << f.hdr_event_size()
24  << ", run number: "
25  << f.hdr_run_number()
26  << "\n";
27 
28  return os;
29 }
30 
std::ostream & operator<<(std::ostream &out, CTBFragment const &f)
Definition: CTBFragment.cc:6
Header::run_number_t hdr_run_number() const
Definition: SSPFragment.hh:88
Header::event_size_t hdr_event_size() const
Definition: SSPFragment.hh:87