CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 { class ParameterSet; }
19 namespace magfieldparam { class TkBfield; }
20 
22  public:
24  explicit OAEParametrizedMagneticField(float B);
25 
28 
31 
34 
35  GlobalVector inTesla (const GlobalPoint& gp) const;
36 
37  GlobalVector inTeslaUnchecked (const GlobalPoint& gp) const;
38 
39  bool isDefined(const GlobalPoint& gp) const;
40 
41  private:
43 };
44 #endif
dictionary parameters
Definition: Parameters.py:2
virtual ~OAEParametrizedMagneticField()
Destructor.
GlobalVector inTesla(const GlobalPoint &gp) const
Field value ad specified global point, in Tesla.
OAEParametrizedMagneticField(float B)
Constructor, pass value for nominal field.
long double T
GlobalVector inTeslaUnchecked(const GlobalPoint &gp) const
bool isDefined(const GlobalPoint &gp) const
True if the point is within the region where the concrete field.