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

◆ operator<<()

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

Definition at line 3 of file OpticalAlignments.cc.

References SiStripPI::max, l1tGTMenu_BTagSeeds_cff::os, 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 }