Belle II Software development
|
Interface of the Belle II B-field with GenFit. More...
#include <GFGeant4Field.h>
Public Member Functions | |
GFGeant4Field () | |
Constructor. | |
TVector3 | get (const TVector3 &position) const override |
Getter for the magnetic field. | |
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.
|
inlineoverride |
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. |
Definition at line 31 of file GFGeant4Field.h.