CGEM BOSS
6.6.5.f
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
Enumerations
_
e
f
g
h
i
l
m
o
p
r
s
t
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Functions
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
w
x
Files
File List
File Members
All
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
Enumerations
d
e
g
h
p
r
s
t
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
TPoint2D.cxx
Go to the documentation of this file.
1
//-----------------------------------------------------------------------------
2
// $Id: TPoint2D.cxx,v 1.4 2010/03/31 09:58:59 liucy Exp $
3
//-----------------------------------------------------------------------------
4
// Filename : TPoint2D.cc
5
// Section : Tracking
6
// Owner : Yoshi Iwasaki
7
// Email : yoshihito.iwasaki@kek.jp
8
//-----------------------------------------------------------------------------
9
// Description : A class to represent a point in 2D.
10
// See http://bsunsrv1.kek.jp/~yiwasaki/tracking/
11
//-----------------------------------------------------------------------------
12
13
#define TPOINT2D_INLINE_DEFINE_HERE
14
15
#include <iostream>
16
17
#include "TrkReco/TPoint2D.h"
18
19
TPoint2D::TPoint2D
() {
20
_p[0] = 0.;
21
_p[1] = 0.;
22
}
23
24
TPoint2D::TPoint2D
(
double
x,
double
y) {
25
_p[0] =
x
;
26
_p[1] =
y
;
27
}
28
29
TPoint2D::TPoint2D
(
const
HepPoint3D
& a) {
30
_p[0] = a.x();
31
_p[1] = a.y();
32
}
33
34
TPoint2D::TPoint2D
(
const
HepVector3D
& a) {
35
_p[0] = a.x();
36
_p[1] = a.y();
37
}
38
39
TPoint2D::~TPoint2D
() {
40
}
41
42
std::ostream &
43
operator <<
(std::ostream &
s
,
const
TPoint2D
& a) {
44
return
s
<<
"("
<< a.
x
() <<
","
<< a.
y
() <<
")"
;
45
}
s
XmlRpcServer s
Definition:
HelloServer.cpp:11
operator<<
std::ostream & operator<<(std::ostream &s, const TPoint2D &a)
Definition:
TPoint2D.cxx:43
HepGeom::Point3D< double >
HepGeom::Vector3D< double >
TPoint2D
A class to represent a point in 2D.
Definition:
InstallArea/include/TrkReco/TrkReco/TPoint2D.h:37
TPoint2D::y
double y(void) const
Definition:
InstallArea/include/TrkReco/TrkReco/TPoint2D.h:94
TPoint2D::~TPoint2D
virtual ~TPoint2D()
Destructor.
Definition:
TPoint2D.cxx:39
TPoint2D::x
double x(void) const
Definition:
InstallArea/include/TrkReco/TrkReco/TPoint2D.h:88
TPoint2D::TPoint2D
TPoint2D()
Constructors.
Definition:
TPoint2D.cxx:19
source
Reconstruction
TrkReco
TrkReco-00-08-59-patch4-slc6tag
src
TPoint2D.cxx
Generated by
1.9.6