CMS 3D CMS Logo

Classes | Functions
CTPPSRPAlignmentCorrectionsData.h File Reference
#include "CondFormats/PPSObjects/interface/CTPPSRPAlignmentCorrectionData.h"
#include <map>

Go to the source code of this file.

Classes

class  CTPPSRPAlignmentCorrectionsData
 Container for CTPPS RP alignment corrections. The corrections are stored on two levels - RP and sensor. For every level, there is a map: ID –> alignment correction. Sensors inherit the alignment corrections from the corresponding RP, see getFullSensorCorrection method. More...
 

Functions

std::ostream & operator<< (std::ostream &s, const CTPPSRPAlignmentCorrectionsData &corr)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const CTPPSRPAlignmentCorrectionsData corr 
)

Definition at line 122 of file CTPPSRPAlignmentCorrectionsData.cc.

References alignCSCRings::corr, AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::s.

122  {
123  for (const auto& p : corr.getRPMap()) {
124  s << "RP " << p.first << ": " << p.second << std::endl;
125  }
126 
127  for (const auto& p : corr.getSensorMap()) {
128  s << "sensor " << p.first << ": " << p.second << std::endl;
129  }
130 
131  return s;
132 }
dictionary corr