CMS 3D CMS Logo

Namespaces | Functions

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DataFormats/GeometrySurface/src/TkRotation.cc File Reference

#include "DataFormats/GeometrySurface/interface/TkRotation.h"
#include <iostream>

Go to the source code of this file.

Namespaces

namespace  geometryDetails

Functions

template<>
std::ostream & operator<< < double > (std::ostream &s, const TkRotation< double > &rtmp)
template<>
std::ostream & operator<< < float > (std::ostream &s, const TkRotation< 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 TkRotation< T >::xx(), TkRotation< T >::xy(), TkRotation< T >::xz(), TkRotation< T >::yx(), TkRotation< T >::yy(), TkRotation< T >::yz(), TkRotation< T >::zx(), TkRotation< T >::zy(), and TkRotation< T >::zz().

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

Definition at line 5 of file TkRotation.cc.

References TkRotation< T >::xx(), TkRotation< T >::xy(), TkRotation< T >::xz(), TkRotation< T >::yx(), TkRotation< T >::yy(), TkRotation< T >::yz(), TkRotation< T >::zx(), TkRotation< T >::zy(), and TkRotation< T >::zz().

                                                                               {
  return s << " (" << rtmp.xx() << ',' << rtmp.xy() << ',' << rtmp.xz() << ")\n"
           << " (" << rtmp.yx() << ',' << rtmp.yy() << ',' << rtmp.yz() << ")\n"
           << " (" << rtmp.zx() << ',' << rtmp.zy() << ',' << rtmp.zz() << ") ";
}