ATLAS Offline Software
|
#include <BFieldCache.h>
Public Member Functions | |
BFieldCache ()=default | |
void | invalidate () |
void | setRange (double zmin, double zmax, double rmin, double rmax, double phimin, double phimax) |
void | setField (const CxxUtils::vec< double, 8 > &field1, const CxxUtils::vec< double, 8 > &field2, const CxxUtils::vec< double, 8 > &field3) |
void | setBscale (double bscale) |
float | bscale () const |
bool | inside (double z, double r, double phi) const |
void | getB (const double *ATH_RESTRICT xyz, double r, double phi, double *ATH_RESTRICT B, double *ATH_RESTRICT deriv=nullptr) const |
Private Attributes | |
double | m_zmin = 0.0 |
double | m_zmax = 0.0 |
double | m_rmin = 0.0 |
double | m_rmax = 0.0 |
double | m_phimin = 0.0 |
double | m_phimax = -1.0 |
double | m_invz = 0.0 |
double | m_invr = 0.0 |
double | m_invphi = 0.0 |
double | m_scale = 0.0 |
double | m_field [3][8] |
Cache of one bin of the magnetic field map. Defined by ranges in z, r, phi, and the B vectors at the 8 corners of the "bin".
Masahiro Morii, Harvard University
AthenaMT : RD Schaffer , Christos Anastopoulos
Definition at line 24 of file BFieldCache.h.
|
default |
float BFieldCache::bscale | ( | ) | const |
void BFieldCache::getB | ( | const double *ATH_RESTRICT | xyz, |
double | r, | ||
double | phi, | ||
double *ATH_RESTRICT | B, | ||
double *ATH_RESTRICT | deriv = nullptr |
||
) | const |
Definition at line 99 of file BFieldCache.cxx.
bool BFieldCache::inside | ( | double | z, |
double | r, | ||
double | phi | ||
) | const |
void BFieldCache::invalidate | ( | ) |
void BFieldCache::setBscale | ( | double | bscale | ) |
void BFieldCache::setField | ( | const CxxUtils::vec< double, 8 > & | field1, |
const CxxUtils::vec< double, 8 > & | field2, | ||
const CxxUtils::vec< double, 8 > & | field3 | ||
) |
void BFieldCache::setRange | ( | double | zmin, |
double | zmax, | ||
double | rmin, | ||
double | rmax, | ||
double | phimin, | ||
double | phimax | ||
) |
|
private |
Definition at line 74 of file BFieldCache.h.
|
private |
Definition at line 72 of file BFieldCache.h.
|
private |
Definition at line 71 of file BFieldCache.h.
|
private |
Definition at line 70 of file BFieldCache.h.
|
private |
Definition at line 68 of file BFieldCache.h.
|
private |
Definition at line 67 of file BFieldCache.h.
|
private |
Definition at line 65 of file BFieldCache.h.
|
private |
Definition at line 64 of file BFieldCache.h.
|
private |
Definition at line 73 of file BFieldCache.h.
|
private |
Definition at line 62 of file BFieldCache.h.
|
private |
Definition at line 61 of file BFieldCache.h.