MagneticField
ParametrizedEngine
src
PolyFit2DParametrizedMagneticField.h
Go to the documentation of this file.
1
#ifndef PolyFit2DParametrizedMagneticField_h
2
#define PolyFit2DParametrizedMagneticField_h
3
12
#include "
MagneticField/Engine/interface/MagneticField.h
"
13
14
namespace
edm
{
15
class
ParameterSet
;
16
}
17
namespace
magfieldparam
{
18
class
BFit;
19
}
20
21
class
PolyFit2DParametrizedMagneticField
:
public
MagneticField
{
22
public
:
25
PolyFit2DParametrizedMagneticField
(
double
bVal = 3.8114);
26
28
PolyFit2DParametrizedMagneticField
(
const
edm::ParameterSet
&
parameters
);
29
31
~PolyFit2DParametrizedMagneticField
()
override
;
32
33
GlobalVector
inTesla
(
const
GlobalPoint
&
gp
)
const override
;
34
35
GlobalVector
inTeslaUnchecked
(
const
GlobalPoint
&
gp
)
const override
;
36
37
bool
isDefined
(
const
GlobalPoint
&
gp
)
const override
;
38
39
private
:
40
magfieldparam::BFit
*
theParam
;
41
};
42
#endif
Vector3DBase
Definition:
Vector3DBase.h:8
BeamSpotPI::parameters
parameters
Definition:
BeamSpotPayloadInspectorHelper.h:30
PolyFit2DParametrizedMagneticField::theParam
magfieldparam::BFit * theParam
Definition:
PolyFit2DParametrizedMagneticField.h:40
magfieldparam::BFit
Definition:
BFit.h:15
edm
HLT enums.
Definition:
AlignableModifier.h:19
PolyFit2DParametrizedMagneticField::inTeslaUnchecked
GlobalVector inTeslaUnchecked(const GlobalPoint &gp) const override
Definition:
PolyFit2DParametrizedMagneticField.cc:36
PolyFit2DParametrizedMagneticField::isDefined
bool isDefined(const GlobalPoint &gp) const override
True if the point is within the region where the concrete field.
Definition:
PolyFit2DParametrizedMagneticField.cc:46
PolyFit2DParametrizedMagneticField
Definition:
PolyFit2DParametrizedMagneticField.h:21
Point3DBase< float, GlobalTag >
magfieldparam
Definition:
BCyl.h:23
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:431
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
PolyFit2DParametrizedMagneticField::PolyFit2DParametrizedMagneticField
PolyFit2DParametrizedMagneticField(double bVal=3.8114)
Definition:
PolyFit2DParametrizedMagneticField.cc:15
MagneticField.h
PolyFit2DParametrizedMagneticField::inTesla
GlobalVector inTesla(const GlobalPoint &gp) const override
Field value ad specified global point, in Tesla.
Definition:
PolyFit2DParametrizedMagneticField.cc:26
MagneticField
Definition:
MagneticField.h:19
PolyFit2DParametrizedMagneticField::~PolyFit2DParametrizedMagneticField
~PolyFit2DParametrizedMagneticField() override
Destructor.
Definition:
PolyFit2DParametrizedMagneticField.cc:24
Generated for CMSSW Reference Manual by
1.8.16