Analysis Software
Documentation for sPHENIX simulation software
|
Abstract Interface to magnetic fields in GENFIT. More...
#include <GenFit/blob/master/core/include/AbsBField.h>
Public Member Functions | |
AbsBField () | |
virtual | ~AbsBField () |
virtual TVector3 | get (const TVector3 &position) const =0 |
Get the magneticField [kGauss] at position. | |
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. | |
Abstract Interface to magnetic fields in GENFIT.
Definition at line 36 of file AbsBField.h.
View newest version in sPHENIX GitHub at line 36 of file AbsBField.h
|
inline |
Definition at line 39 of file AbsBField.h.
View newest version in sPHENIX GitHub at line 39 of file AbsBField.h
|
inlinevirtual |
Definition at line 40 of file AbsBField.h.
View newest version in sPHENIX GitHub at line 40 of file AbsBField.h
|
pure virtual |
Get the magneticField [kGauss] at position.
Override this in your concrete implementation. Provided for compatibility with old genfit. Use the other interface to avoid unnecessary TVector3 instantiations.
Implemented in genfit::ConstField, and genfit::Field.
Referenced by genfit::FieldManager::getFieldVal().
|
inlinevirtual |
Get the magneticField [kGauss] at position.
Override this in your concrete implementation.
Reimplemented in genfit::ConstField, and genfit::Field.
Definition at line 56 of file AbsBField.h.
View newest version in sPHENIX GitHub at line 56 of file AbsBField.h
References Acts::IntegrationTest::Bz.