#include <MagFieldFast.h>
|
| MagFieldFast (const std::string inpFName="") |
|
| MagFieldFast (float factor, int nomField=5, const std::string inpFmt="$(O2_ROOT)/share/Common/maps/sol%dk.txt") |
|
| MagFieldFast (const MagFieldFast &src)=default |
|
| ~MagFieldFast ()=default |
|
bool | LoadData (const std::string inpFName) |
|
bool | Field (const double xyz[3], double bxyz[3]) const |
|
bool | Field (const float xyz[3], float bxyz[3]) const |
|
bool | Field (const math_utils::Point3D< float > xyz, float bxyz[3]) const |
|
bool | Field (const math_utils::Point3D< double > xyz, double bxyz[3]) const |
|
bool | GetBcomp (EDim comp, const double xyz[3], double &b) const |
|
bool | GetBcomp (EDim comp, const float xyz[3], float &b) const |
|
bool | GetBcomp (EDim comp, const math_utils::Point3D< float > xyz, double &b) const |
|
bool | GetBcomp (EDim comp, const math_utils::Point3D< float > xyz, float &b) const |
|
bool | GetBx (const double xyz[3], double &bx) const |
|
bool | GetBx (const float xyz[3], float &bx) const |
|
bool | GetBy (const double xyz[3], double &by) const |
|
bool | GetBy (const float xyz[3], float &by) const |
|
bool | GetBz (const double xyz[3], double &bz) const |
|
bool | GetBz (const float xyz[3], float &bz) const |
|
void | setFactorSol (float v=1.f) |
|
float | getFactorSol () const |
|
Definition at line 32 of file MagFieldFast.h.
◆ anonymous enum
Enumerator |
---|
kNSolRRanges | |
kNSolZRanges | |
kNQuadrants | |
kNPolCoefs | |
Definition at line 35 of file MagFieldFast.h.
◆ EDim
◆ MagFieldFast() [1/3]
MagFieldFast::MagFieldFast |
( |
const std::string |
inpFName = "" | ) |
|
◆ MagFieldFast() [2/3]
MagFieldFast::MagFieldFast |
( |
float |
factor, |
|
|
int |
nomField = 5 , |
|
|
const std::string |
inpFmt = "$(O2_ROOT)/share/Common/maps/sol%dk.txt" |
|
) |
| |
◆ MagFieldFast() [3/3]
o2::field::MagFieldFast::MagFieldFast |
( |
const MagFieldFast & |
src | ) |
|
|
default |
◆ ~MagFieldFast()
o2::field::MagFieldFast::~MagFieldFast |
( |
| ) |
|
|
default |
◆ CalcPol()
float o2::field::MagFieldFast::CalcPol |
( |
const float * |
cf, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| const |
|
inlineprotected |
calculate polynomial cf[0] + cf[1]*x + cf[2]*y + cf[3]*z + cf[4]*xx + cf[5]*xy + cf[6]*xz + cf[7]*yy + cf[8]*yz + cf[9]*zz + cf[10]*xxx + cf[11]*xxy + cf[12]*xxz + cf[13]*xyy + cf[14]*xyz + cf[15]*xzz + cf[16]*yyy + cf[17]*yyz + cf[18]*yzz + cf[19]*zzz
Definition at line 92 of file MagFieldFast.h.
◆ Field() [1/4]
bool MagFieldFast::Field |
( |
const double |
xyz[3], |
|
|
double |
bxyz[3] |
|
) |
| const |
◆ Field() [2/4]
bool MagFieldFast::Field |
( |
const float |
xyz[3], |
|
|
float |
bxyz[3] |
|
) |
| const |
◆ Field() [3/4]
◆ Field() [4/4]
◆ GetBcomp() [1/4]
bool MagFieldFast::GetBcomp |
( |
EDim |
comp, |
|
|
const double |
xyz[3], |
|
|
double & |
b |
|
) |
| const |
◆ GetBcomp() [2/4]
bool MagFieldFast::GetBcomp |
( |
EDim |
comp, |
|
|
const float |
xyz[3], |
|
|
float & |
b |
|
) |
| const |
◆ GetBcomp() [3/4]
◆ GetBcomp() [4/4]
◆ GetBx() [1/2]
bool o2::field::MagFieldFast::GetBx |
( |
const double |
xyz[3], |
|
|
double & |
bx |
|
) |
| const |
|
inline |
◆ GetBx() [2/2]
bool o2::field::MagFieldFast::GetBx |
( |
const float |
xyz[3], |
|
|
float & |
bx |
|
) |
| const |
|
inline |
◆ GetBy() [1/2]
bool o2::field::MagFieldFast::GetBy |
( |
const double |
xyz[3], |
|
|
double & |
by |
|
) |
| const |
|
inline |
◆ GetBy() [2/2]
bool o2::field::MagFieldFast::GetBy |
( |
const float |
xyz[3], |
|
|
float & |
by |
|
) |
| const |
|
inline |
◆ GetBz() [1/2]
bool o2::field::MagFieldFast::GetBz |
( |
const double |
xyz[3], |
|
|
double & |
bz |
|
) |
| const |
|
inline |
◆ GetBz() [2/2]
bool o2::field::MagFieldFast::GetBz |
( |
const float |
xyz[3], |
|
|
float & |
bz |
|
) |
| const |
|
inline |
◆ getFactorSol()
float o2::field::MagFieldFast::getFactorSol |
( |
| ) |
const |
|
inline |
◆ GetQuadrant()
int o2::field::MagFieldFast::GetQuadrant |
( |
float |
x, |
|
|
float |
y |
|
) |
| const |
|
inlineprotected |
◆ GetSegment()
bool MagFieldFast::GetSegment |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
int & |
zSeg, |
|
|
int & |
rSeg, |
|
|
int & |
quadrant |
|
) |
| const |
|
protected |
◆ LoadData()
bool MagFieldFast::LoadData |
( |
const std::string |
inpFName | ) |
|
◆ setFactorSol()
void o2::field::MagFieldFast::setFactorSol |
( |
float |
v = 1.f | ) |
|
|
inline |
◆ kSolR2Max
const float MagFieldFast::kSolR2Max |
|
staticprotected |
Initial value:= {80.f * 80.f, 250.f * 250.f, 400.f * 400.f,
423.f * 423.f, 500.f * 500.f}
Definition at line 74 of file MagFieldFast.h.
◆ kSolZMax
const float MagFieldFast::kSolZMax = 550.0f |
|
staticprotected |
The documentation for this class was generated from the following files: