FairRoot/PandaRoot
|
Abstract Interface to magnetic fields in GENFIT. More...
#include <AbsBField.h>
Public Member Functions | |
AbsBField () | |
virtual | ~AbsBField () |
virtual TVector3 | get (const TVector3 &position) const =0 |
Get the magneticField [kGauss] at position. More... | |
virtual void | get (const double &posX, const double &posY, const double &posZ, double &Bx, double &By, double &Bz) const |
Get the magneticField [kGauss] at position. More... | |
Abstract Interface to magnetic fields in GENFIT.
Definition at line 36 of file AbsBField.h.
|
inline |
Definition at line 39 of file AbsBField.h.
|
inlinevirtual |
Definition at line 40 of file AbsBField.h.
|
pure virtual |
Get the magneticField [kGauss] at position.
Override this in your concrete implementation. Provided for compatibility with old genfit. Use the other interface to avoid unnecessary TVector3 instantiations.
Implemented in genfit::ConstField, and PndGenfitField2.
Referenced by genfit::FieldManager::getFieldVal().
|
inlinevirtual |
Get the magneticField [kGauss] at position.
Override this in your concrete implementation.
Reimplemented in genfit::ConstField, and PndGenfitField2.
Definition at line 56 of file AbsBField.h.