CMS 3D CMS Logo

Functions
CTPPSRPAlignmentCorrectionData.cc File Reference
#include "FWCore/Utilities/interface/Exception.h"
#include "CondFormats/PPSObjects/interface/CTPPSRPAlignmentCorrectionData.h"
#include <Math/RotationZYX.h>

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 84 of file CTPPSRPAlignmentCorrectionData.cc.

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;

References alignCSCRings::corr, alignBH_cfg::fixed, and alignCSCRings::s.

alignBH_cfg.fixed
fixed
Definition: alignBH_cfg.py:54
alignCSCRings.s
s
Definition: alignCSCRings.py:92
alignCSCRings.corr
dictionary corr
Definition: alignCSCRings.py:124