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
n
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
c
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
src
MagneticField
UniformEngine
interface
UniformMagneticField.h
Go to the documentation of this file.
1
#ifndef MagneticField_UniformMagneticField_h
2
#define MagneticField_UniformMagneticField_h
3
11
#include "
MagneticField/Engine/interface/MagneticField.h
"
12
13
class
UniformMagneticField
final :
public
MagneticField
{
14
public
:
16
UniformMagneticField
(
float
value
) :
theField
(0.
f
, 0.
f
,
value
) {
setNominalValue
(); }
17
18
UniformMagneticField
(
GlobalVector
value
) :
theField
(
value
) {
setNominalValue
(); }
19
20
void
set
(
GlobalVector
value
) {
theField
=
value
; }
21
void
set
(
float
value
) {
set
(
GlobalVector
(0.
f
, 0.
f
,
value
)); }
22
23
~UniformMagneticField
()
override
{}
24
25
GlobalVector
inTesla
(
const
GlobalPoint
&)
const override
{
return
theField
; }
26
27
GlobalVector
inTeslaUnchecked
(
const
GlobalPoint
&
gp
)
const override
{
return
theField
; }
28
29
bool
isDefined
(
const
GlobalPoint
&
gp
)
const override
{
return
true
; }
30
31
private
:
32
GlobalVector
theField
;
33
};
34
35
#endif
Vector3DBase
Definition:
Vector3DBase.h:8
MagneticField
Definition:
MagneticField.h:19
UniformMagneticField::theField
GlobalVector theField
Definition:
UniformMagneticField.h:32
UniformMagneticField::isDefined
bool isDefined(const GlobalPoint &gp) const override
True if the point is within the region where the concrete field.
Definition:
UniformMagneticField.h:29
UniformMagneticField::UniformMagneticField
UniformMagneticField(float value)
Construct passing the Z field component in Tesla.
Definition:
UniformMagneticField.h:16
MagneticField.h
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:431
UniformMagneticField::UniformMagneticField
UniformMagneticField(GlobalVector value)
Definition:
UniformMagneticField.h:18
f
double f[11][100]
Definition:
MuScleFitUtils.cc:78
value
Definition:
value.py:1
relativeConstraints.value
value
Definition:
relativeConstraints.py:53
UniformMagneticField::inTeslaUnchecked
GlobalVector inTeslaUnchecked(const GlobalPoint &gp) const override
Definition:
UniformMagneticField.h:27
UniformMagneticField
Definition:
UniformMagneticField.h:13
UniformMagneticField::inTesla
GlobalVector inTesla(const GlobalPoint &) const override
Field value ad specified global point, in Tesla.
Definition:
UniformMagneticField.h:25
Point3DBase< float, GlobalTag >
MagneticField::setNominalValue
void setNominalValue()
Definition:
MagneticField.cc:14
UniformMagneticField::~UniformMagneticField
~UniformMagneticField() override
Definition:
UniformMagneticField.h:23
GlobalVector
Global3DVector GlobalVector
Definition:
GlobalVector.h:10
Generated for CMSSW Reference Manual by
1.8.14