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
MdcGeoWire.cxx
Go to the documentation of this file.
1
2
3
4
#include "MdcGeomSvc/MdcGeoWire.h"
5
#include "MdcGeomSvc/MdcGeomSvc.h"
6
7
8
// according to the mathematicial formula:
9
// Sg = L^2*g*rhol/8*T
10
// rhol is the linear density
11
// rhol is fixed at 9.47E-3 g/m
12
const
double
MdcGeoWire::Sag
(
void
)
const
{
13
14
if
(
MdcGeomSvc::getSagFlag
()){
15
// unit of wire length is mm
16
const
double
L = (fForward - fBackward).mag();
17
// sag unit is mm
18
return
(L*L*1.184E-6/fTension);
19
}
20
// do not consider wire sagita
21
else
return
0.;
22
}
23
24
25
// calculate the sag at length z
26
// attention, the z is not the z-coordinate of the point
27
// but the length from this point to the backward point
28
const
double
MdcGeoWire::Sagz
(
const
double
z)
const
{
29
return
z*0.;
//FIXME
30
}
31
32
33
34
MdcGeoWire::Sag
const double Sag(void) const
Definition:
MdcGeoWire.cxx:12
MdcGeoWire::Sagz
const double Sagz(const double z) const
Definition:
MdcGeoWire.cxx:28
MdcGeomSvc::getSagFlag
static bool getSagFlag(void)
Definition:
MdcGeomSvc.cxx:821
source
Mdc
MdcGeomSvc
MdcGeomSvc-00-01-37
src
MdcGeoWire.cxx
Generated by
1.9.6