CMS 3D CMS Logo

Classes | Functions
OpticalAlignMeasurementInfo.h File Reference
#include "CondFormats/Serialization/interface/Serializable.h"
#include <string>
#include <vector>
#include <iostream>
#include "CondFormats/OptAlignObjects/interface/OAQuality.h"
#include "CondFormats/OptAlignObjects/interface/OpticalAlignInfo.h"

Go to the source code of this file.

Classes

class  OpticalAlignMeasurementInfo
 

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 6 of file OpticalAlignMeasurementInfo.cc.

6  {
7  os << "Name: " << r.name_ << " Type: " << r.type_ << " ID: " << r.ID_ << std::endl;
8  int iw = os.width(); // save current width
9  int ip = os.precision(); // save current precision
10  int now = 12;
11  int nop = 5;
12 
13  std::vector<std::string>::const_iterator item;
14 
15  for (item = r.measObjectNames_.begin(); item != r.measObjectNames_.end(); item++) {
16  os << std::setw(now) << std::setprecision(nop) << "measuring object name: " << *item << std::endl;
17  }
18 
19  std::vector<OpticalAlignParam>::const_iterator iteo;
20  for (iteo = r.values_.begin(); iteo != r.values_.end(); iteo++) {
21  os << std::setw(now) << std::setprecision(nop) << "MEAS: " << *iteo;
22  }
23 
24  os << std::setprecision(ip) << std::setw(iw);
25  return os;
26 }

References B2GTnPMonitor_cfi::item, submitPVValidationJobs::now, and alignCSCRings::r.

submitPVValidationJobs.now
now
Definition: submitPVValidationJobs.py:639
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
alignCSCRings.r
r
Definition: alignCSCRings.py:93