CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PolyFit2DParametrizedMagneticField.h
Go to the documentation of this file.
1 #ifndef PolyFit2DParametrizedMagneticField_h
2 #define PolyFit2DParametrizedMagneticField_h
3 
13 
14 namespace edm {
15  class ParameterSet;
16 }
17 namespace magfieldparam {
18  class BFit;
19 }
20 
22 public:
25  PolyFit2DParametrizedMagneticField(double bVal = 3.8114);
26 
29 
32 
33  GlobalVector inTesla(const GlobalPoint& gp) const override;
34 
35  GlobalVector inTeslaUnchecked(const GlobalPoint& gp) const override;
36 
37  bool isDefined(const GlobalPoint& gp) const override;
38 
39 private:
41 };
42 #endif
bool isDefined(const GlobalPoint &gp) const override
True if the point is within the region where the concrete field.
GlobalVector inTesla(const GlobalPoint &gp) const override
Field value ad specified global point, in Tesla.
GlobalVector inTeslaUnchecked(const GlobalPoint &gp) const override