EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/offline/packages/PHGenFitPkg/GenFitExp/Field.h>
Public Member Functions | |
Field (const PHField *field) | |
~Field () override | |
TVector3 | get (const TVector3 &pos) const override |
return value at position | |
void | get (const double &posX, const double &posY, const double &posZ, double &Bx, double &By, double &Bz) const override |
Get the magneticField [kGauss] at position. | |
const PHField * | get_field () const |
void | set_field (const PHField *field) |
Public Member Functions inherited from genfit::AbsBField | |
AbsBField () | |
virtual | ~AbsBField () |
Private Attributes | |
const PHField * | field_ |
Field Wrapper.
Definition at line 24 of file Field.h.
View newest version in sPHENIX GitHub at line 24 of file Field.h
genfit::Field::Field | ( | const PHField * | field | ) |
|
inlineoverride |
|
overridevirtual |
return value at position
Implements genfit::AbsBField.
Definition at line 121 of file Field.cc.
View newest version in sPHENIX GitHub at line 121 of file Field.cc
References Acts::IntegrationTest::Bz, x, y, and z.
|
overridevirtual |
Get the magneticField [kGauss] at position.
Override this in your concrete implementation.
Reimplemented from genfit::AbsBField.
Definition at line 133 of file Field.cc.
View newest version in sPHENIX GitHub at line 133 of file Field.cc
References Acts::UnitConstants::cm, field_, and PHField::GetFieldValue().
|
inline |
|
inline |
|
private |
Definition at line 48 of file Field.h.
View newest version in sPHENIX GitHub at line 48 of file Field.h
Referenced by Field(), get(), get_field(), and set_field().