CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/CondFormats/OptAlignObjects/src/OpticalAlignMeasurements.cc File Reference

#include "CondFormats/OptAlignObjects/interface/OpticalAlignMeasurements.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const OpticalAlignMeasurements &r)

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const OpticalAlignMeasurements r 
)

Definition at line 3 of file OpticalAlignMeasurements.cc.

References max(), and OpticalAlignMeasurements::oaMeasurements_.

{

  os << " There are " << r.oaMeasurements_.size() << " optical alignment objects." << std::endl;
  size_t max = r.oaMeasurements_.size();
  size_t xi = 0;
  while ( xi < max ) {
    os << "\t" << r.oaMeasurements_[xi];
    xi++;
  }
  return os;
}