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(std::string T="3_8T");
25 
28 
31 
32  GlobalVector inTesla (const GlobalPoint& gp) const;
33 
34  GlobalVector inTeslaUnchecked (const GlobalPoint& gp) const;
35 
36  bool isDefined(const GlobalPoint& gp) const;
37 
38  private:
40 };
41 #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(std::string T="3_8T")
Constructor.
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.