Line Code
1 2 3 4 5 6 7 8 9 10 11 12
#include "CondFormats/OptAlignObjects/interface/OpticalAlignments.h"

std::ostream& operator<<(std::ostream& os, const OpticalAlignments& r) {
  os << " There are " << r.opticalAlignments_.size() << " optical alignment objects." << std::endl;
  size_t max = r.opticalAlignments_.size();
  size_t oAi = 0;
  while (oAi < max) {
    os << "\t" << r.opticalAlignments_[oAi];
    oAi++;
  }
  return os;
}