CMS 3D CMS Logo

Classes | Functions
RPAlignmentCorrectionData.h File Reference
#include "DataFormats/Math/interface/Vector3D.h"
#include <Math/Rotation3D.h>
#include <Math/RotationZYX.h>
#include <vector>

Go to the source code of this file.

Classes

class  RPAlignmentCorrectionData
 Alignment correction for an element of the CT-PPS detector. Within the geometry description, every sensor (more generally every element) is given its translation and rotation. These two quantities shall be understood in local-to-global coordinate transform. That is, if r_l is a point in local coordinate system and x_g in global, then it holds. More...
 

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 }