CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
CTPPSRPAlignmentCorrectionData.h File Reference
#include "CondFormats/Serialization/interface/Serializable.h"
#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  CTPPSRPAlignmentCorrectionData
 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 CTPPSRPAlignmentCorrectionData &corr)
 

Function Documentation

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

Definition at line 85 of file CTPPSRPAlignmentCorrectionData.cc.

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

85  {
86  s << fixed << "shift (um) " << std::setprecision(1) << "x = " << corr.getShX() * 1E3 << " +- "
87  << corr.getShXUnc() * 1E3 << ", y = " << corr.getShY() * 1E3 << " +- " << corr.getShYUnc() * 1E3
88  << ", z = " << corr.getShZ() * 1E3 << " +- " << corr.getShZUnc() * 1E3 << ", rotation (mrad) "
89  << std::setprecision(1) << "x = " << corr.getRotX() * 1E3 << " +- " << corr.getRotXUnc() * 1E3
90  << ", y = " << corr.getRotY() * 1E3 << " +- " << corr.getRotYUnc() * 1E3 << ", z = " << corr.getRotZ() * 1E3
91  << " +- " << corr.getRotZUnc() * 1E3;
92 
93  return s;
94 }