![]() |
FairShip
|
#include <ActsShipField.hpp>
Public Member Functions | |
| ActsShipField (TVirtualMagField *field) | |
| The field is not owned and must outlive this object. | |
| Cache | makeCache (const Acts::MagneticFieldContext &mctx) const override |
| Acts::Result< Acts::Vector3 > | getField (const Acts::Vector3 &position, Cache &cache) const override |
Private Attributes | |
| TVirtualMagField * | m_field |
ACTS view of a FairShip magnetic field.
Wraps the field used in the simulation (e.g. the global field of the ShipFieldMaker), so the fit sees the same field map, placement and orientation as Geant4. Positions and field values are converted between the ACTS reco frame and the SHiP frame (cm, kGauss).
Definition at line 22 of file ActsShipField.hpp.
|
explicit |
The field is not owned and must outlive this object.
Definition at line 20 of file ActsShipField.cpp.
|
override |
Definition at line 31 of file ActsShipField.cpp.
|
override |
Definition at line 26 of file ActsShipField.cpp.
|
private |
Definition at line 32 of file ActsShipField.hpp.