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
Definition: APVGainStruct.h:7
~OAEParametrizedMagneticField() override
Destructor.
bool isDefined(const GlobalPoint &gp) const override
True if the point is within the region where the concrete field.
GlobalVector inTeslaUnchecked(const GlobalPoint &gp) const override
GlobalVector inTesla(const GlobalPoint &gp) const override
Field value ad specified global point, in Tesla.
OAEParametrizedMagneticField(float B)
Constructor, pass value for nominal field.
HLT enums.
long double T