CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/CondFormats/OptAlignObjects/interface/OpticalAlignments.h File Reference

#include "CondFormats/OptAlignObjects/interface/OpticalAlignInfo.h"
#include <vector>
#include <iostream>

Go to the source code of this file.

Classes

class  OpticalAlignments

Functions

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

Function Documentation

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

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