BOSS
7.0.4
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
b
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
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
z
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
BesAngle.cxx
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Description:
4
// Class BesAngle
5
//
6
//------------------------------------------------------------------------
7
#include "MdcGeom/BesAngle.h"
8
9
//-------------------------------
10
// Collaborating Class Headers --
11
//-------------------------------
12
#include "MdcGeom/Constants.h"
13
14
//-----------------------------------------------------------------------
15
// Local Macros, Typedefs, Structures, Unions and Forward Declarations --
16
//-----------------------------------------------------------------------
17
18
const
double
BesAngle::pi
=
Constants::pi
;
19
const
double
BesAngle::twoPi
=
Constants::twoPi
;
20
const
double
BesAngle::toDegrees
=
Constants::radToDegrees
;
21
/* hxt
22
// The followings characters are used in DegString()
23
// for printout in degrees
24
#ifdef HPUX
25
const HepString BesAngle::degChar = "�";
26
#else
27
const HepString BesAngle::degChar = "^";
28
#endif
29
30
const HepString BesAngle::deg1Char = "'";
31
const HepString BesAngle::deg2Char = "\"";
32
33
// ----------------------------------------
34
// -- Public Function Member Definitions --
35
// ----------------------------------------
36
37
HepString BesAngle::degString() const
38
{
39
float tmp;
40
int deg, deg_, deg__;
41
HepString sign = "";
42
43
if ((tmp = this->deg()) < 0)
44
{ sign = "-"; tmp = -tmp; };
45
deg = int(tmp);
46
deg_ = int(tmp = 60*(tmp - deg));
47
deg__ = int(60*(tmp - deg_));
48
49
return
50
(
51
sign +
52
HepString(deg)+degChar+
53
HepString(deg_)+deg1Char+
54
HepString(deg__)+deg2Char
55
);
56
}
57
58
hxt */
BesAngle::pi
static const double pi
used instead.
Definition:
InstallArea/include/MdcGeom/MdcGeom/BesAngle.h:74
BesAngle::twoPi
static const double twoPi
Definition:
InstallArea/include/MdcGeom/MdcGeom/BesAngle.h:75
BesAngle::toDegrees
static const double toDegrees
Definition:
InstallArea/include/MdcGeom/MdcGeom/BesAngle.h:89
Constants::pi
static const double pi
Definition:
InstallArea/include/MdcGeom/MdcGeom/Constants.h:38
Constants::twoPi
static const double twoPi
Definition:
InstallArea/include/MdcGeom/MdcGeom/Constants.h:39
Constants::radToDegrees
static const double radToDegrees
Definition:
InstallArea/include/MdcGeom/MdcGeom/Constants.h:41
source
Reconstruction
MdcPatRec
MdcGeom
MdcGeom-00-01-17
src
BesAngle.cxx
Generated by
1.9.6