Belle II Software
release-08-01-10
|
Abstract Interface to magnetic fields in GENFIT. More...
#include <AbsBField.h>
Public Member Functions | |
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.
|
inlinevirtual |
Get the magneticField [kGauss] at position.
Override this in your concrete implementation.
Reimplemented in ConstField.
Definition at line 56 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 GFGeant4Field, and ConstField.