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  // Deprecated ctor, nominal field value specified with a string, eg. "3_8T"
31 
32  // Ctor
33  TkBfield (float fld=3.8);
34 
36  void getBxyz(float const * __restrict__ x, float * __restrict__ Bxyz) const;
38  void getBrfz(float const * __restrict__ x, float * __restrict__ Brfz) const;
39 
40  private:
41 
43 
44  };
45 }
46 
47 #endif
void getBxyz(float const *__restrict__ x, float *__restrict__ Bxyz) const
B out in cartesian.
Definition: TkBfield.cc:59
void getBrfz(float const *__restrict__ x, float *__restrict__ Brfz) const
B out in cylindrical.
Definition: TkBfield.cc:53
T x() const
Cartesian x coordinate.
BCycl< float > bcyl
Definition: TkBfield.h:42
TkBfield(std::string T)
Definition: TkBfield.cc:48
long double T