CMS 3D CMS Logo

Namespaces | Functions
TkRotation.cc File Reference
#include "DataFormats/GeometrySurface/interface/TkRotation.h"
#include <iostream>

Go to the source code of this file.

Namespaces

 geometryDetails
 

Functions

template<>
std::ostream & operator<< < double > (std::ostream &s, const TkRotation< double > &rtmp)
 
template<>
std::ostream & operator<< < double > (std::ostream &s, const TkRotation2D< double > &rtmp)
 
template<>
std::ostream & operator<< < float > (std::ostream &s, const TkRotation< float > &rtmp)
 
template<>
std::ostream & operator<< < float > (std::ostream &s, const TkRotation2D< float > &rtmp)
 
void geometryDetails::TkRotationErr1 ()
 
void geometryDetails::TkRotationErr2 ()
 

Function Documentation

template<>
std::ostream& operator<< < double > ( std::ostream &  s,
const TkRotation< double > &  rtmp 
)

Definition at line 12 of file TkRotation.cc.

References alignCSCRings::s.

Referenced by TkRotation2D< Scalar >::rotateBack(), and TkRotation< align::Scalar >::zz().

12  {
13  return s << " (" << rtmp.xx() << ',' << rtmp.xy() << ',' << rtmp.xz() << ")\n"
14  << " (" << rtmp.yx() << ',' << rtmp.yy() << ',' << rtmp.yz() << ")\n"
15  << " (" << rtmp.zx() << ',' << rtmp.zy() << ',' << rtmp.zz() << ") ";
16 }
T xx() const
T yx() const
T zx() const
T xy() const
T zz() const
T zy() const
T yy() const
T xz() const
T yz() const
template<>
std::ostream& operator<< < double > ( std::ostream &  s,
const TkRotation2D< double > &  rtmp 
)

Definition at line 24 of file TkRotation.cc.

References alignCSCRings::s.

24  {
25  return s << rtmp.x() << "\n" << rtmp.y();
26 }
BasicVector x() const
BasicVector y() const
template<>
std::ostream& operator<< < float > ( std::ostream &  s,
const TkRotation< float > &  rtmp 
)

Definition at line 5 of file TkRotation.cc.

References alignCSCRings::s.

Referenced by TkRotation2D< Scalar >::rotateBack(), and TkRotation< align::Scalar >::zz().

5  {
6  return s << " (" << rtmp.xx() << ',' << rtmp.xy() << ',' << rtmp.xz() << ")\n"
7  << " (" << rtmp.yx() << ',' << rtmp.yy() << ',' << rtmp.yz() << ")\n"
8  << " (" << rtmp.zx() << ',' << rtmp.zy() << ',' << rtmp.zz() << ") ";
9 }
T xx() const
T yx() const
T zx() const
T xy() const
T zz() const
T zy() const
T yy() const
T xz() const
T yz() const
template<>
std::ostream& operator<< < float > ( std::ostream &  s,
const TkRotation2D< float > &  rtmp 
)

Definition at line 19 of file TkRotation.cc.

References alignCSCRings::s.

19  {
20  return s << rtmp.x() << "\n" << rtmp.y();
21 }
BasicVector x() const
BasicVector y() const