CMS 3D CMS Logo

Classes | Functions
RPAlignmentCorrectionsData.h File Reference
#include "DataFormats/CTPPSAlignment/interface/RPAlignmentCorrectionData.h"
#include <map>

Go to the source code of this file.

Classes

class  RPAlignmentCorrectionsData
 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 RPAlignmentCorrectionsData &corr)
 

Function Documentation

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

Definition at line 143 of file RPAlignmentCorrectionsData.cc.

References RPAlignmentCorrectionsData::getRPMap(), RPAlignmentCorrectionsData::getSensorMap(), AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::s.

Referenced by RPAlignmentCorrectionsData::getSensorMap().

144 {
145  for (const auto &p : corr.getRPMap())
146  {
147  s << "RP " << p.first << ": " << p.second << std::endl;
148  }
149 
150  for (const auto &p : corr.getSensorMap())
151  {
152  s << "sensor " << p.first << ": " << p.second << std::endl;
153  }
154 
155  return s;
156 }
const mapType & getRPMap() const
returns the map of RP alignment corrections
const mapType & getSensorMap() const
returns the map of sensor alignment corrections