#include <TkBfield.h>
Public Member Functions | |
void | getBrfz (double const *__restrict__ x, double *__restrict__ Brfz) const |
B out in cylindrical. More... | |
void | getBxyz (double const *__restrict__ x, double *__restrict__ Bxyz) const |
B out in cartesian. More... | |
TkBfield (std::string T="3_8T") | |
~TkBfield () | |
Private Member Functions | |
void | Bcyl (double r, double z, double *__restrict__ Bw) const |
Private Attributes | |
double | ainv |
double | ap2 |
double | coeff |
double | hb0 |
double | hlova |
double | prm [9] |
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 = "3_8T" | ) |
Definition at line 13 of file TkBfield.cc.
References ainv, ap2, coeff, edm::hlt::Exception, hb0, hlova, i, p1, p2, p3, p4, prm, and mathSSE::sqrt().
|
inline |
Definition at line 30 of file TkBfield.h.
|
private |
void TkBfield::getBrfz | ( | double const *__restrict__ | x, |
double *__restrict__ | Brfz | ||
) | const |
B out in cylindrical.
Definition at line 116 of file TkBfield.cc.
References Bcyl(), and mathSSE::sqrt().
void TkBfield::getBxyz | ( | double const *__restrict__ | x, |
double *__restrict__ | Bxyz | ||
) | const |
B out in cartesian.
Definition at line 120 of file TkBfield.cc.
References Bcyl(), csvReporter::r, and mathSSE::sqrt().
Referenced by OAEParametrizedMagneticField::inTeslaUnchecked().
|
private |
Definition at line 39 of file TkBfield.h.
Referenced by Bcyl(), and TkBfield().
|
private |
Definition at line 39 of file TkBfield.h.
Referenced by TkBfield().
|
private |
Definition at line 39 of file TkBfield.h.
Referenced by Bcyl(), and TkBfield().
|
private |
Definition at line 39 of file TkBfield.h.
Referenced by Bcyl(), and TkBfield().
|
private |
Definition at line 39 of file TkBfield.h.
Referenced by Bcyl(), and TkBfield().
|
private |
Definition at line 38 of file TkBfield.h.
Referenced by Bcyl(), and TkBfield().