CMS 3D CMS Logo

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

◆ operator<<()

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

Definition at line 3 of file OpticalAlignments.cc.

References SiStripPI::max, and alignCSCRings::r.

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