MagneticField
ParametrizedEngine
src
ParabolicParametrizedMagneticField.h
Go to the documentation of this file.
1
#ifndef ParametrizedEngine_ParabolicParametrizedMagneticField_h
2
#define ParametrizedEngine_ParabolicParametrizedMagneticField_h
3
12
#include "
MagneticField/Engine/interface/MagneticField.h
"
13
#include <vector>
14
15
namespace
edm
{
16
class
ParameterSet
;
17
}
18
19
class
ParabolicParametrizedMagneticField
:
public
MagneticField
{
20
public
:
22
explicit
ParabolicParametrizedMagneticField
();
23
25
explicit
ParabolicParametrizedMagneticField
(
const
std::vector<double>&
parameters
);
26
28
~ParabolicParametrizedMagneticField
()
override
;
29
30
GlobalVector
inTesla
(
const
GlobalPoint
&
gp
)
const override
;
31
32
GlobalVector
inTeslaUnchecked
(
const
GlobalPoint
&
gp
)
const override
;
33
34
inline
float
B0Z
(
const
float
a
)
const
;
35
36
inline
float
Kr
(
const
float
R2)
const
;
37
38
inline
bool
isDefined
(
const
GlobalPoint
&
gp
)
const override
;
39
40
private
:
41
float
c1
;
42
float
b0
;
43
float
b1
;
44
float
a
;
45
};
46
#endif
Vector3DBase
Definition:
Vector3DBase.h:8
BeamSpotPI::parameters
parameters
Definition:
BeamSpotPayloadInspectorHelper.h:30
edm
HLT enums.
Definition:
AlignableModifier.h:19
ParabolicParametrizedMagneticField::a
float a
Definition:
ParabolicParametrizedMagneticField.h:44
ParabolicParametrizedMagneticField
Definition:
ParabolicParametrizedMagneticField.h:19
ParabolicParametrizedMagneticField::Kr
float Kr(const float R2) const
Definition:
ParabolicParametrizedMagneticField.cc:37
ParabolicParametrizedMagneticField::~ParabolicParametrizedMagneticField
~ParabolicParametrizedMagneticField() override
Destructor.
Definition:
ParabolicParametrizedMagneticField.cc:19
ParabolicParametrizedMagneticField::c1
float c1
Definition:
ParabolicParametrizedMagneticField.h:41
Point3DBase< float, GlobalTag >
ParabolicParametrizedMagneticField::ParabolicParametrizedMagneticField
ParabolicParametrizedMagneticField()
Default constructor, use default values for 3.8T map.
Definition:
ParabolicParametrizedMagneticField.cc:13
ParabolicParametrizedMagneticField::b0
float b0
Definition:
ParabolicParametrizedMagneticField.h:42
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:431
ParameterSet
Definition:
Functions.h:16
ParabolicParametrizedMagneticField::B0Z
float B0Z(const float a) const
Definition:
ParabolicParametrizedMagneticField.cc:35
ParabolicParametrizedMagneticField::isDefined
bool isDefined(const GlobalPoint &gp) const override
True if the point is within the region where the concrete field.
Definition:
ParabolicParametrizedMagneticField.cc:39
ParabolicParametrizedMagneticField::b1
float b1
Definition:
ParabolicParametrizedMagneticField.h:43
MagneticField.h
ParabolicParametrizedMagneticField::inTesla
GlobalVector inTesla(const GlobalPoint &gp) const override
Field value ad specified global point, in Tesla.
Definition:
ParabolicParametrizedMagneticField.cc:21
ParabolicParametrizedMagneticField::inTeslaUnchecked
GlobalVector inTeslaUnchecked(const GlobalPoint &gp) const override
Definition:
ParabolicParametrizedMagneticField.cc:31
MagneticField
Definition:
MagneticField.h:19
Generated for CMSSW Reference Manual by
1.8.16