CMS 3D CMS Logo

Functions
RPAlignmentCorrectionData.cc File Reference
#include "FWCore/Utilities/interface/Exception.h"
#include "DataFormats/CTPPSAlignment/interface/RPAlignmentCorrectionData.h"
#include <Math/RotationZYX.h>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 72 of file RPAlignmentCorrectionData.cc.

References alignBH_cfg::fixed, RPAlignmentCorrectionData::getRotX(), RPAlignmentCorrectionData::getRotXUnc(), RPAlignmentCorrectionData::getRotY(), RPAlignmentCorrectionData::getRotYUnc(), RPAlignmentCorrectionData::getRotZ(), RPAlignmentCorrectionData::getRotZUnc(), RPAlignmentCorrectionData::getShX(), RPAlignmentCorrectionData::getShXUnc(), RPAlignmentCorrectionData::getShY(), RPAlignmentCorrectionData::getShYUnc(), RPAlignmentCorrectionData::getShZ(), RPAlignmentCorrectionData::getShZUnc(), and alignCSCRings::s.

Referenced by RPAlignmentCorrectionData::getRotationMatrix().

73 {
74  s << fixed
75  << "shift (um) " << std::setprecision(1)
76  << "x = " << corr.getShX()*1E3 << " +- " << corr.getShXUnc()*1E3
77  << ", y = " << corr.getShY()*1E3 << " +- " << corr.getShYUnc()*1E3
78  << ", z = " << corr.getShZ()*1E3 << " +- " << corr.getShZUnc()*1E3
79  << ", rotation (mrad) " << std::setprecision(1)
80  << "x = " << corr.getRotX()*1E3 << " +- " << corr.getRotXUnc()*1E3
81  << ", y = " << corr.getRotY()*1E3 << " +- " << corr.getRotYUnc()*1E3
82  << ", z = " << corr.getRotZ()*1E3 << " +- " << corr.getRotZUnc()*1E3;
83 
84  return s;
85 }