CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/CondFormats/OptAlignObjects/src/OpticalAlignments.cc File Reference

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 3 of file OpticalAlignments.cc.

References max(), and OpticalAlignments::opticalAlignments_.

{

  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;
}