Belle II Software
release-08-01-10
|
Constant Magnetic field. More...
#include <ConstField.h>
Public Member Functions | |
ConstField (double b1, double b2, double b3) | |
define the constant field in this ctor | |
ConstField (const TVector3 &field) | |
TVector3 | get (const TVector3 &pos) const |
return value at position | |
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... | |
Private Attributes | |
TVector3 | field_ |
Constant Magnetic field.
Definition at line 37 of file ConstField.h.
|
virtual |
Get the magneticField [kGauss] at position.
Override this in your concrete implementation.
Reimplemented from AbsBField.
Definition at line 27 of file ConstField.cc.