DataFormats
GeometrySurface
src
TkRotation.cc
Go to the documentation of this file.
1
#include "
DataFormats/GeometrySurface/interface/TkRotation.h
"
2
#include <iostream>
3
4
template
<>
5
std::ostream&
operator<<<float>
(std::ostream&
s
,
const
TkRotation<float>
& rtmp) {
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
}
10
11
template
<>
12
std::ostream&
operator<<<double>
(std::ostream&
s
,
const
TkRotation<double>
& rtmp) {
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
}
17
18
template
<>
19
std::ostream&
operator<<<float>
(std::ostream&
s
,
const
TkRotation2D<float>
& rtmp) {
20
return
s
<< rtmp.
x
() <<
"\n"
<< rtmp.
y
();
21
}
22
23
template
<>
24
std::ostream&
operator<<<double>
(std::ostream&
s
,
const
TkRotation2D<double>
& rtmp) {
25
return
s
<< rtmp.
x
() <<
"\n"
<< rtmp.
y
();
26
}
27
28
namespace
geometryDetails
{
29
void
TkRotationErr1
() {
std::cerr
<<
"TkRotation: zero axis"
<< std::endl; }
30
void
TkRotationErr2
() {
std::cerr
<<
"TkRotation::rotateAxes: bad axis vectors"
<< std::endl; }
31
32
}
// namespace geometryDetails
TkRotation< float >
TkRotation::zy
T zy() const
Definition:
extTkRotation.h:258
TkRotation2D::x
BasicVector x() const
Definition:
extTkRotation.h:330
TkRotation2D
Definition:
extTkRotation.h:14
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
geometryDetails::TkRotationErr2
void TkRotationErr2()
Definition:
TkRotation.cc:30
TkRotation::xz
T xz() const
Definition:
extTkRotation.h:253
TkRotation.h
operator<<<float >
std::ostream & operator<<<float >(std::ostream &s, const TkRotation< float > &rtmp)
Definition:
TkRotation.cc:5
TkRotation::yx
T yx() const
Definition:
extTkRotation.h:254
TkRotation::xx
T xx() const
Definition:
extTkRotation.h:251
TkRotation::xy
T xy() const
Definition:
extTkRotation.h:252
TkRotation::zz
T zz() const
Definition:
extTkRotation.h:259
geometryDetails
Definition:
extTkRotation.h:21
geometryDetails::TkRotationErr1
void TkRotationErr1()
Definition:
TkRotation.cc:29
TkRotation::yz
T yz() const
Definition:
extTkRotation.h:256
TkRotation::yy
T yy() const
Definition:
extTkRotation.h:255
operator<<<double >
std::ostream & operator<<<double >(std::ostream &s, const TkRotation< double > &rtmp)
Definition:
TkRotation.cc:12
TkRotation2D::y
BasicVector y() const
Definition:
extTkRotation.h:331
EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.cerr
cerr
Definition:
EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.py:8
TkRotation::zx
T zx() const
Definition:
extTkRotation.h:257
Generated for CMSSW Reference Manual by
1.8.16