|
SND@LHC Software
|
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. | |
Public Member Functions inherited from genfit::AbsBField | |
| AbsBField () | |
| virtual | ~AbsBField () |
Private Attributes | |
| TVector3 | field_ |
Constant Magnetic field.
Definition at line 37 of file ConstField.h.
|
inline |
define the constant field in this ctor
Definition at line 40 of file ConstField.h.
|
inline |
Definition at line 44 of file ConstField.h.
|
virtual |
Get the magneticField [kGauss] at position.
Override this in your concrete implementation.
Reimplemented from genfit::AbsBField.
Definition at line 27 of file ConstField.cc.
|
virtual |
|
private |
Definition at line 53 of file ConstField.h.