CMS 3D CMS Logo

ParabolicParametrizedMagneticField.h
Go to the documentation of this file.
1 #ifndef ParametrizedEngine_ParabolicParametrizedMagneticField_h
2 #define ParametrizedEngine_ParabolicParametrizedMagneticField_h
3 
13 #include <vector>
14 
15 namespace edm { class ParameterSet; }
16 
18  public:
21 
23  explicit ParabolicParametrizedMagneticField(const std::vector<double>& 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  float c1;
40  float b0;
41  float b1;
42  float a;
43 };
44 #endif
HLT enums.
double a
Definition: hdecay.h:121