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 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