SND@LHC Software
|
Constant Magnetic field. More...
#include <GoliathField.h>
Public Member Functions | |
GoliathField (double b1, double b2, double b3) | |
define the constant field in this ctor | |
GoliathField (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. | |
void | getpos (TString vol, TVector3 &bot, TVector3 &top) const |
void | setup () |
![]() | |
AbsBField () | |
virtual | ~AbsBField () |
Public Attributes | |
Float_t | coords [13][6] |
Private Attributes | |
TVector3 | field_ |
Constant Magnetic field.
Definition at line 37 of file GoliathField.h.
|
inline |
define the constant field in this ctor
Definition at line 40 of file GoliathField.h.
|
inline |
Definition at line 44 of file GoliathField.h.
|
virtual |
Get the magneticField [kGauss] at position.
Override this in your concrete implementation.
Reimplemented from genfit::AbsBField.
Definition at line 47 of file GoliathField.cc.
|
virtual |
return value at position
Implements genfit::AbsBField.
Definition at line 43 of file GoliathField.cc.
void genfit::GoliathField::getpos | ( | TString | vol, |
TVector3 & | bot, | ||
TVector3 & | top | ||
) | const |
Definition at line 67 of file GoliathField.cc.
void genfit::GoliathField::setup | ( | ) |
Definition at line 85 of file GoliathField.cc.
Float_t genfit::GoliathField::coords[13][6] |
Definition at line 47 of file GoliathField.h.
|
private |
Definition at line 57 of file GoliathField.h.