DataFormats
Math
src
ExtVec.cc
Go to the documentation of this file.
1
#if (defined(__GNUC__) || defined(__clang__)) && !defined(__INTEL_COMPILER)
2
#include "
DataFormats/Math/interface/ExtVec.h
"
3
4
#include <ostream>
5
std::ostream&
operator<<
(std::ostream&
out
,
Vec4F
const
&
v
) {
6
return
out
<<
'('
<<
v
[0] <<
", "
<<
v
[1] <<
", "
<<
v
[2] <<
", "
<<
v
[3] <<
')'
;
7
}
8
std::ostream&
operator<<
(std::ostream&
out
,
Vec4D
const
&
v
) {
9
return
out
<<
'('
<<
v
[0] <<
", "
<<
v
[1] <<
", "
<<
v
[2] <<
", "
<<
v
[3] <<
')'
;
10
}
11
std::ostream&
operator<<
(std::ostream&
out
,
Vec2F
const
&
v
) {
return
out
<<
'('
<<
v
[0] <<
", "
<<
v
[1] <<
')'
; }
12
std::ostream&
operator<<
(std::ostream&
out
,
Vec2D
const
&
v
) {
return
out
<<
'('
<<
v
[0] <<
", "
<<
v
[1] <<
')'
; }
13
14
std::ostream&
operator<<
(std::ostream&
out
, ::
As3D<Vec4F>
const
&
v
) {
15
return
out
<<
'('
<<
v
.v[0] <<
", "
<<
v
.v[1] <<
", "
<<
v
.v[2] <<
')'
;
16
}
17
18
std::ostream&
operator<<
(std::ostream&
out
, ::
As3D<Vec4D>
const
&
v
) {
19
return
out
<<
'('
<<
v
.v[0] <<
", "
<<
v
.v[1] <<
", "
<<
v
.v[2] <<
')'
;
20
}
21
22
std::ostream&
operator<<
(std::ostream&
out
,
Rot3F
const
&
r
) {
23
return
out
<<
as3D
(
r
.axis[0]) <<
'\n'
<<
as3D
(
r
.axis[1]) <<
'\n'
<<
as3D
(
r
.axis[2]);
24
}
25
26
std::ostream&
operator<<
(std::ostream&
out
,
Rot3D
const
&
r
) {
27
return
out
<<
as3D
(
r
.axis[0]) <<
'\n'
<<
as3D
(
r
.axis[1]) <<
'\n'
<<
as3D
(
r
.axis[2]);
28
}
29
30
std::ostream&
operator<<
(std::ostream&
out
,
Rot2F
const
&
r
) {
return
out
<<
r
.axis[0] <<
'\n'
<<
r
.axis[1]; }
31
32
std::ostream&
operator<<
(std::ostream&
out
,
Rot2D
const
&
r
) {
return
out
<<
r
.axis[0] <<
'\n'
<<
r
.axis[1]; }
33
#endif
Vec4D
Vec4< double > Vec4D
Definition:
ExtVec.h:156
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
Vec4F
Vec4< float > Vec4F
Definition:
ExtVec.h:152
As3D
Definition:
ExtVec.h:169
ExtVec.h
Vec2F
Vec2< float > Vec2F
Definition:
ExtVec.h:151
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:167
alignCSCRings.r
r
Definition:
alignCSCRings.py:93
as3D
As3D< V > as3D(V const &v)
Definition:
ExtVec.h:174
Rot3< float >
Vec2D
Vec2< double > Vec2D
Definition:
ExtVec.h:154
Rot2
Definition:
ExtVec.h:227
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
Generated for CMSSW Reference Manual by
1.8.16