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
InstallArea/include/VertexFit/VertexFit/BField.h
Go to the documentation of this file.
1
#ifndef VertexFit_BField_H
2
#define VertexFit_BField_H
3
4
//
5
// Read field from MagneticField Service in Gaudi framework
6
// Author: Min Xu data: 4/16/2008, created
7
8
#include "CLHEP/Geometry/Point3D.h"
9
#include "CLHEP/Matrix/Vector.h"
10
#ifndef ENABLE_BACKWARDS_COMPATIBILITY
11
typedef
HepGeom::Point3D<double>
HepPoint3D
;
12
#endif
13
14
#ifndef BEAN
15
#include "MagneticField/IMagneticFieldSvc.h"
16
#else
17
#include "MagneticField/MagneticFieldSvc.h"
18
#endif
19
20
using
CLHEP::HepVector;
21
22
class
VertexFitBField
{
23
public :
24
static
VertexFitBField
*
instance
() {
25
if
(s_bfield == 0) {
26
s_bfield =
new
VertexFitBField
();
27
}
28
return
s_bfield;
29
}
30
// constructor & deconstructor
31
~VertexFitBField
() {}
32
33
double
getBFieldZ
(
const
HepPoint3D
& vtx);
34
double
getBFieldZRef
();
35
// get B*c = B*-0.00299792458
36
double
getCBz
(
const
HepVector& vtx,
const
HepVector& trackPosition);
37
38
private
:
39
VertexFitBField
();
40
41
#ifndef BEAN
42
IMagneticFieldSvc
* m_pIMF;
43
#else
44
MagneticFieldSvc
* m_pIMF;
45
#endif
46
47
static
VertexFitBField
* s_bfield;
48
static
const
double
alpha;
49
};
50
#endif
private
#define private
Definition:
Event/RootEventData/RootEventData-00-03-80/RootEventData/RootEventData_rootcint.cxx:11
HepPoint3D
HepGeom::Point3D< double > HepPoint3D
Definition:
InstallArea/include/VertexFit/VertexFit/BField.h:11
HepGeom::Point3D
Definition:
InstallArea/include/MagneticField/MagneticField/IMagneticFieldSvc.h:15
IMagneticFieldSvc
Definition:
InstallArea/include/MagneticField/MagneticField/IMagneticFieldSvc.h:29
MagneticFieldSvc
Definition:
InstallArea/include/MagneticField/MagneticField/MagneticFieldSvc.h:43
VertexFitBField
Definition:
Analysis/VertexFit/VertexFit-00-02-82/VertexFit/BField.h:22
VertexFitBField::getBFieldZRef
double getBFieldZRef()
VertexFitBField::getCBz
double getCBz(const HepVector &vtx, const HepVector &trackPosition)
VertexFitBField::~VertexFitBField
~VertexFitBField()
Definition:
InstallArea/include/VertexFit/VertexFit/BField.h:31
VertexFitBField::instance
static VertexFitBField * instance()
Definition:
InstallArea/include/VertexFit/VertexFit/BField.h:24
VertexFitBField::getBFieldZ
double getBFieldZ(const HepPoint3D &vtx)
source
InstallArea
include
VertexFit
VertexFit
BField.h
Generated by
1.9.6