CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Functions
newTkRotation.h File Reference
#include "DataFormats/GeometryVector/interface/Basic2DVector.h"
#include "DataFormats/GeometryVector/interface/Basic3DVector.h"
#include "DataFormats/GeometryVector/interface/GlobalVector.h"
#include "DataFormats/Math/interface/SSERot.h"
#include <iosfwd>

Go to the source code of this file.

Classes

class  TkRotation< T >
 
class  TkRotation< T >
 
class  TkRotation2D< T >
 
class  TkRotation2D< T >
 

Namespaces

 geometryDetails
 

Functions

template<class T , class U >
Basic3DVector< U > operator* (const TkRotation< T > &r, const Basic3DVector< U > &v)
 
template<class T , class U >
TkRotation< typename
PreciseFloatType< T, U >::Type > 
operator* (const TkRotation< T > &a, const TkRotation< U > &b)
 
template<class T >
std::ostream & operator<< (std::ostream &s, const TkRotation< T > &r)
 
template<class T >
std::ostream & operator<< (std::ostream &s, const TkRotation2D< T > &r)
 
template<>
std::ostream & operator<< < double > (std::ostream &s, const TkRotation< double > &r)
 
template<>
std::ostream & operator<< < double > (std::ostream &s, const TkRotation2D< double > &r)
 
template<>
std::ostream & operator<< < float > (std::ostream &s, const TkRotation< float > &r)
 
template<>
std::ostream & operator<< < float > (std::ostream &s, const TkRotation2D< float > &r)
 
void geometryDetails::TkRotationErr1 ()
 
void geometryDetails::TkRotationErr2 ()
 

Function Documentation

template<class T , class U >
Basic3DVector<U> operator* ( const TkRotation< T > &  r,
const Basic3DVector< U > &  v 
)
inline

Definition at line 276 of file newTkRotation.h.

template<class T , class U >
TkRotation<typename PreciseFloatType<T,U>::Type> operator* ( const TkRotation< T > &  a,
const TkRotation< U > &  b 
)
inline

Definition at line 284 of file newTkRotation.h.

template<class T >
std::ostream& operator<< ( std::ostream &  s,
const TkRotation< T > &  r 
)
template<class T >
std::ostream& operator<< ( std::ostream &  s,
const TkRotation2D< T > &  r 
)
template<>
std::ostream& operator<< < double > ( std::ostream &  s,
const TkRotation< double > &  r 
)

Definition at line 12 of file TkRotation.cc.

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 }
template<>
std::ostream& operator<< < double > ( std::ostream &  s,
const TkRotation2D< double > &  r 
)

Definition at line 24 of file TkRotation.cc.

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

Definition at line 5 of file TkRotation.cc.

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 }
template<>
std::ostream& operator<< < float > ( std::ostream &  s,
const TkRotation2D< float > &  r 
)

Definition at line 19 of file TkRotation.cc.

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