Analysis Software
Documentation for sPHENIX simulation software
|
#include <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, ambiguity_solver_full_chain::x, y, and physmon_track_finding_ttbar::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 assert, 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().