CMS 3D CMS Logo

Functions
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 SiStripPI::max, and OpticalAlignments::opticalAlignments_.

4 {
5 
6  os << " There are " << r.opticalAlignments_.size() << " optical alignment objects." << std::endl;
7  size_t max = r.opticalAlignments_.size();
8  size_t oAi = 0;
9  while ( oAi < max ) {
10  os << "\t" << r.opticalAlignments_[oAi];
11  oAi++;
12  }
13  return os;
14 }
std::vector< OpticalAlignInfo > opticalAlignments_