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/MagneticField/MagneticField/IMagneticFieldSvc.h
Go to the documentation of this file.
1
// $Header: /bes/bes/BossCvs/MagneticField/MagneticField/IMagneticFieldSvc.h,v 1.4 2008/09/18 00:46:38 caogf Exp $
2
#ifndef GAUDIKERNEL_IMAGNETICFIELDSVC_H
3
#define GAUDIKERNEL_IMAGNETICFIELDSVC_H
4
5
6
// Include files
7
#include "GaudiKernel/IService.h"
8
#include "GaudiKernel/StatusCode.h"
9
10
11
// Forward declarations
12
template
<
class
TYPE>
class
SvcFactory
;
13
namespace
HepGeom
{
14
template
<
class
T>
class
Vector3D
;
15
template
<
class
T>
class
Point3D
;
16
}
17
18
19
// Declaration of the interface ID ( interface id, major version, minor version)
20
static
const
InterfaceID IID_IMagneticFieldSvc(80, 1 , 0);
21
22
23
/** @class IMagneticFieldSvc IMagneticFieldSvc.h GaudiKernel/IMagneticFieldSvc.h
24
25
The interface to the MagneticFieldSvc
26
27
@author Iain Last
28
*/
29
class
IMagneticFieldSvc
:
virtual
public
IService {
30
31
public
:
32
/// Retrieve interface ID
33
static
const
InterfaceID&
interfaceID
() {
return
IID_IMagneticFieldSvc; }
34
35
// Get the magnetic field vector at a given point in space.
36
// Input: Point3D - Point at which magnetic field vector is to be given.
37
// Output: Vector3D - Magnectic field vector.
38
// Return: StatusCode SUCCESS if calculation was performed.
39
virtual
StatusCode
fieldVector
(
const
HepGeom::Point3D<double>
& xyz,
HepGeom::Vector3D<double>
& fvec )
const
= 0;
40
virtual
StatusCode
uniFieldVector
(
const
HepGeom::Point3D<double>
& xyz,
HepGeom::Vector3D<double>
& fvec )
const
= 0;
41
virtual
double
getReferField
() = 0;
42
virtual
bool
ifRealField
()
const
= 0;
43
44
};
45
46
#endif
// GAUDIKERNEL_IMAGNETICFIELDSVC_H
HepGeom::Point3D
Definition:
InstallArea/include/MagneticField/MagneticField/IMagneticFieldSvc.h:15
HepGeom::Vector3D
Definition:
InstallArea/include/MagneticField/MagneticField/IMagneticFieldSvc.h:14
IMagneticFieldSvc
Definition:
InstallArea/include/MagneticField/MagneticField/IMagneticFieldSvc.h:29
IMagneticFieldSvc::uniFieldVector
virtual StatusCode uniFieldVector(const HepGeom::Point3D< double > &xyz, HepGeom::Vector3D< double > &fvec) const =0
IMagneticFieldSvc::fieldVector
virtual StatusCode fieldVector(const HepGeom::Point3D< double > &xyz, HepGeom::Vector3D< double > &fvec) const =0
IMagneticFieldSvc::interfaceID
static const InterfaceID & interfaceID()
Retrieve interface ID.
Definition:
InstallArea/include/MagneticField/MagneticField/IMagneticFieldSvc.h:33
IMagneticFieldSvc::getReferField
virtual double getReferField()=0
IMagneticFieldSvc::ifRealField
virtual bool ifRealField() const =0
SvcFactory
Forward and external declarations.
Definition:
Calibration/CalibSvc/CalibDataSvc/CalibDataSvc-00-01-04/CalibDataSvc/CalibDataSvc.h:35
HepGeom
Definition:
InstallArea/include/MagneticField/MagneticField/IMagneticFieldSvc.h:13
source
InstallArea
include
MagneticField
MagneticField
IMagneticFieldSvc.h
Generated by
1.9.6