CMS 3D CMS Logo

Classes | Functions
CTPPSRPAlignmentCorrectionsData.h File Reference
#include "CondFormats/CTPPSReadoutObjects/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

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

Definition at line 123 of file CTPPSRPAlignmentCorrectionsData.cc.

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

123  {
124  for (const auto& p : corr.getRPMap()) {
125  s << "RP " << p.first << ": " << p.second << std::endl;
126  }
127 
128  for (const auto& p : corr.getSensorMap()) {
129  s << "sensor " << p.first << ": " << p.second << std::endl;
130  }
131 
132  return s;
133 }
const mapType & getRPMap() const
returns the map of RP alignment corrections
const mapType & getSensorMap() const
returns the map of sensor alignment corrections