|
SND@LHC Software
|
Field for SHiP. More...
#include <FairShipFields.h>


Public Member Functions | |
| FairShipFields () | |
| void | setField (ShipCompField *gField) |
| set field if not gMC present | |
| 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 | |
| ShipCompField * | gField_ |
Field for SHiP.
Definition at line 18 of file FairShipFields.h.
| genfit::FairShipFields::FairShipFields | ( | ) |
Default constructor
Definition at line 13 of file FairShipFields.cc.
|
virtual |
Get the magneticField [kGauss] at position.
Override this in your concrete implementation.
Reimplemented from genfit::AbsBField.
Definition at line 25 of file FairShipFields.cc.
|
virtual |
return value at position
Implements genfit::AbsBField.
Definition at line 18 of file FairShipFields.cc.
|
inline |
set field if not gMC present
Definition at line 25 of file FairShipFields.h.
|
private |
Definition at line 32 of file FairShipFields.h.