#include <TkBfield.h>
Public Member Functions | |
void | getBrfz (float const *__restrict__ x, float *__restrict__ Brfz) const |
B out in cylindrical. More... | |
void | getBxyz (float const *__restrict__ x, float *__restrict__ Bxyz) const |
B out in cartesian. More... | |
TkBfield (std::string T) | |
TkBfield (float fld=3.8) | |
Private Attributes | |
BCycl< float > | bcyl |
B-field in Tracker volume - based on the TOSCA computation version 1103l (tuned on MTCC measured field (fall 2006))
In: x[3]: coordinates (m) Out: B[3]: Bx,By,Bz (T) (getBxyz) Out: B[3]: Br,Bf,Bz (T) (getBrfz)
Valid for r<1.15m and |z|<2.80m
Definition at line 24 of file TkBfield.h.
TkBfield::TkBfield | ( | std::string | T | ) |
Definition at line 49 of file TkBfield.cc.
TkBfield::TkBfield | ( | float | fld = 3.8 | ) |
Definition at line 47 of file TkBfield.cc.
void TkBfield::getBrfz | ( | float const *__restrict__ | x, |
float *__restrict__ | Brfz | ||
) | const |
B out in cylindrical.
Definition at line 51 of file TkBfield.cc.
References bcyl, beamvalidation::br, diffTwoXMLs::r2, and mathSSE::sqrt().
void TkBfield::getBxyz | ( | float const *__restrict__ | x, |
float *__restrict__ | Bxyz | ||
) | const |
B out in cartesian.
Definition at line 61 of file TkBfield.cc.
References bcyl, beamvalidation::br, and diffTwoXMLs::r2.
Referenced by OAEParametrizedMagneticField::inTeslaUnchecked().
|
private |
Definition at line 38 of file TkBfield.h.