CMS 3D CMS Logo

OAEParametrizedMagneticField.h
Go to the documentation of this file.
1 #ifndef ParametrizedEngine_OAEParametrizedMagneticField_h
2 #define ParametrizedEngine_OAEParametrizedMagneticField_h
3 
16 #include "TkBfield.h"
17 
18 namespace edm {
19  class ParameterSet;
20 }
21 namespace magfieldparam {
22  class TkBfield;
23 }
24 
26 public:
28  explicit OAEParametrizedMagneticField(float B);
29 
31  explicit OAEParametrizedMagneticField(std::string T = "3_8T");
32 
35 
38 
39  GlobalVector inTesla(const GlobalPoint& gp) const override;
40 
41  GlobalVector inTeslaUnchecked(const GlobalPoint& gp) const override;
42 
43  bool isDefined(const GlobalPoint& gp) const override;
44 
45 private:
47 };
48 #endif
Vector3DBase
Definition: Vector3DBase.h:8
OAEParametrizedMagneticField
Definition: OAEParametrizedMagneticField.h:25
OAEParametrizedMagneticField::isDefined
bool isDefined(const GlobalPoint &gp) const override
True if the point is within the region where the concrete field.
Definition: OAEParametrizedMagneticField.cc:45
BeamSpotPI::parameters
parameters
Definition: BeamSpotPayloadInspectorHelper.h:29
OAEParametrizedMagneticField::inTeslaUnchecked
GlobalVector inTeslaUnchecked(const GlobalPoint &gp) const override
Definition: OAEParametrizedMagneticField.cc:38
OAEParametrizedMagneticField::OAEParametrizedMagneticField
OAEParametrizedMagneticField(float B)
Constructor, pass value for nominal field.
Definition: OAEParametrizedMagneticField.cc:15
edm
HLT enums.
Definition: AlignableModifier.h:19
magfieldparam::TkBfield
Definition: TkBfield.h:24
TkBfield.h
OAEParametrizedMagneticField::~OAEParametrizedMagneticField
~OAEParametrizedMagneticField() override
Destructor.
Definition: OAEParametrizedMagneticField.cc:22
OAEParametrizedMagneticField::theParam
magfieldparam::TkBfield theParam
Definition: OAEParametrizedMagneticField.h:46
Point3DBase< float, GlobalTag >
magfieldparam
Definition: BCyl.h:23
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
runTauDisplay.gp
gp
Definition: runTauDisplay.py:431
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
MagneticField.h
TtFullHadDaughter::B
static const std::string B
Definition: TtFullHadronicEvent.h:9
T
long double T
Definition: Basic3DVectorLD.h:48
OAEParametrizedMagneticField::inTesla
GlobalVector inTesla(const GlobalPoint &gp) const override
Field value ad specified global point, in Tesla.
Definition: OAEParametrizedMagneticField.cc:24
MagneticField
Definition: MagneticField.h:19