CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 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 }
const T & max(const T &a, const T &b)
std::vector< OpticalAlignInfo > opticalAlignments_