CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TkBfield.h
Go to the documentation of this file.
1 #ifndef ParametrizedEngine_TkBfield_h
2 #define ParametrizedEngine_TkBfield_h
3 
21 #include "BCyl.h"
22 #include <string>
23 
24 
25 namespace magfieldparam {
26  class TkBfield {
27  public:
28 
29  TkBfield (std::string T="3_8T");
30 
31 
33  void getBxyz(float const * __restrict__ x, float * __restrict__ Bxyz) const;
35  void getBrfz(float const * __restrict__ x, float * __restrict__ Brfz) const;
36 
37  private:
38 
40 
41  };
42 }
43 
44 #endif
void getBxyz(float const *__restrict__ x, float *__restrict__ Bxyz) const
B out in cartesian.
Definition: TkBfield.cc:46
void getBrfz(float const *__restrict__ x, float *__restrict__ Brfz) const
B out in cylindrical.
Definition: TkBfield.cc:40
BCycl< float > bcyl
Definition: TkBfield.h:39
TkBfield(std::string T="3_8T")
Definition: TkBfield.cc:34
Definition: DDAxes.h:10
long double T