Belle II Software
release-08-01-10
|
Interface of the Belle II B-field with GenFit. More...
#include <GFGeant4Field.h>
Public Member Functions | |
GFGeant4Field () | |
Constructor. More... | |
TVector3 | get (const TVector3 &position) const override |
Getter for the magnetic field. 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... | |
Interface of the Belle II B-field with GenFit.
Definition at line 16 of file GFGeant4Field.h.
|
inline |
Constructor.
The same B field as in the simulation is used. If you want to use a different field in reconstruction, please run two jobs and change the used B field in the geometry data (Belle2.xml file).
Definition at line 24 of file GFGeant4Field.h.
|
inlinevirtualinherited |
Get the magneticField [kGauss] at position.
Override this in your concrete implementation.
Reimplemented in ConstField.
Definition at line 56 of file AbsBField.h.
|
inlineoverridevirtual |
Getter for the magnetic field.
As Genfit uses kGauss, but we use T in basf2, we need to apply a factor 10 in the calculation.
position | Position at which the magnetic field should be evaluated. |
Implements AbsBField.
Definition at line 31 of file GFGeant4Field.h.