CMS 3D CMS Logo

Functions
CTPPSRPAlignmentCorrectionsData.cc File Reference
#include "FWCore/Utilities/interface/typelookup.h"
#include "CondFormats/CTPPSReadoutObjects/interface/CTPPSRPAlignmentCorrectionsData.h"
#include "DataFormats/CTPPSDetId/interface/CTPPSDetId.h"
#include <set>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 141 of file CTPPSRPAlignmentCorrectionsData.cc.

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

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