test
CMS 3D CMS Logo

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