CMS 3D CMS Logo

Namespaces | Functions | Variables
RPAlignmentCorrectionsData.cc File Reference
#include "DataFormats/CTPPSAlignment/interface/RPAlignmentCorrectionsData.h"
#include "FWCore/Utilities/interface/typelookup.h"
#include "DataFormats/CTPPSDetId/interface/CTPPSDetId.h"
#include <set>

Go to the source code of this file.

Namespaces

 edm
 HLT enums.
 
 edm::typelookup
 

Functions

template<>
const char * edm::typelookup::className< RPAlignmentCorrectionsData > ()
 
template<>
const std::type_info & edm::typelookup::classTypeInfo< RPAlignmentCorrectionsData > ()
 
std::ostream & operator<< (std::ostream &s, const RPAlignmentCorrectionsData &corr)
 

Variables

static const edm::typelookup::NameRegistrar s_register__LINE__ (edm::typelookup::className< RPAlignmentCorrectionsData >(), typeid(RPAlignmentCorrectionsData))
 

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

Variable Documentation