CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
~OAEParametrizedMagneticField() override
Destructor.
bool isDefined(const GlobalPoint &gp) const override
True if the point is within the region where the concrete field.
static const std::string B
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.
long double T