CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ParabolicParametrizedMagneticField.h
Go to the documentation of this file.
1 #ifndef ParametrizedEngine_ParabolicParametrizedMagneticField_h
2 #define ParametrizedEngine_ParabolicParametrizedMagneticField_h
3 
13 
14 namespace edm { class ParameterSet; }
15 namespace magfieldparam { class TkBfield; }
16 
18  public:
21 
23  //explicit ParabolicParametrizedMagneticField(const edm::ParameterSet& parameters);
24 
27 
28  GlobalVector inTesla (const GlobalPoint& gp) const;
29 
30  GlobalVector inTeslaUnchecked (const GlobalPoint& gp) const;
31 
32  inline float B0Z(const float a) const;
33 
34  inline float Kr(const float R2) const;
35 
36  inline bool isDefined(const GlobalPoint& gp) const;
37 
38  private:
39  const float b0 = -3.94991e-06;
40  const float b1 = 7.53701e-06;
41  const float c1 = 3.8114;
42  const float a = 2.43878e-11;
43 };
44 #endif
bool isDefined(const GlobalPoint &gp) const
True if the point is within the region where the concrete field.
virtual ~ParabolicParametrizedMagneticField()
Constructor. Parameters taken from a PSet.
GlobalVector inTeslaUnchecked(const GlobalPoint &gp) const
GlobalVector inTesla(const GlobalPoint &gp) const
Field value ad specified global point, in Tesla.