Main Page
Namespaces
Namespace List
Namespace 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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
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
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
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
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related 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
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
MagneticField
VolumeGeometry
src
MagVolume.cc
Go to the documentation of this file.
1
// #include "Utilities/Configuration/interface/Architecture.h"
2
3
#include "
MagneticField/VolumeGeometry/interface/MagVolume.h
"
4
#include "
MagneticField/VolumeGeometry/interface/MagneticFieldProvider.h
"
5
6
MagVolume::~MagVolume
() {
7
if
(
theProviderOwned
)
8
delete
theProvider
;
9
}
10
11
MagVolume::LocalVector
MagVolume::fieldInTesla
(
const
LocalPoint
& lp)
const
{
12
return
theProvider
->
valueInTesla
(lp) *
theScalingFactor
;
13
}
14
15
MagVolume::GlobalVector
MagVolume::fieldInTesla
(
const
GlobalPoint
&
gp
)
const
{
16
return
toGlobal
(
theProvider
->
valueInTesla
(
toLocal
(
gp
))) *
theScalingFactor
;
17
}
MagVolume.h
MagVolume::~MagVolume
~MagVolume() override
Definition:
MagVolume.cc:6
MagVolume::theProviderOwned
bool theProviderOwned
Definition:
MagVolume.h:51
MagVolume::theScalingFactor
double theScalingFactor
Definition:
MagVolume.h:52
MagVolume::GlobalPoint
GloballyPositioned< float >::GlobalPoint GlobalPoint
Definition:
MagVolume.h:18
MagVolume::theProvider
const MagneticFieldProvider< float > * theProvider
Definition:
MagVolume.h:50
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:431
MagneticFieldProvider.h
MagneticFieldProvider::valueInTesla
virtual LocalVectorType valueInTesla(const LocalPointType &p) const =0
GloballyPositioned< float >::toLocal
LocalPoint toLocal(const GlobalPoint &gp) const
Definition:
GloballyPositioned.h:98
MagVolume::LocalPoint
GloballyPositioned< float >::LocalPoint LocalPoint
Definition:
MagVolume.h:16
MagVolume::fieldInTesla
LocalVector fieldInTesla(const LocalPoint &lp) const
Definition:
MagVolume.cc:11
MagVolume::LocalVector
GloballyPositioned< float >::LocalVector LocalVector
Definition:
MagVolume.h:17
GloballyPositioned< float >::toGlobal
GlobalPoint toGlobal(const LocalPoint &lp) const
Definition:
GloballyPositioned.h:66
MagVolume::GlobalVector
GloballyPositioned< float >::GlobalVector GlobalVector
Definition:
MagVolume.h:19
Generated for CMSSW Reference Manual by
1.8.16