CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
OpticalAlignments.h File Reference
#include "CondFormats/Serialization/interface/Serializable.h"
#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 bookConverter::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 }