CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TkBfield.h
Go to the documentation of this file.
1 #ifndef ParametrizedEngine_TkBfield_h
2 #define ParametrizedEngine_TkBfield_h
3 
20 #include "BCyl.h"
21 #include <string>
22 
23 namespace magfieldparam {
24  class TkBfield {
25  public:
26  // Deprecated ctor, nominal field value specified with a string, eg. "3_8T"
28 
29  // Ctor
30  TkBfield(float fld = 3.8);
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:
39  };
40 } // namespace magfieldparam
41 
42 #endif
void getBxyz(float const *__restrict__ x, float *__restrict__ Bxyz) const
B out in cartesian.
Definition: TkBfield.cc:61
void getBrfz(float const *__restrict__ x, float *__restrict__ Brfz) const
B out in cylindrical.
Definition: TkBfield.cc:51
BCycl< float > bcyl
Definition: TkBfield.h:38
TkBfield(std::string T)
Definition: TkBfield.cc:49
long double T