#include <BFieldPlugin.h>
Definition at line 11 of file BFieldPlugin.h.
gar::gar_pandora::BFieldPlugin::BFieldPlugin |
( |
| ) |
|
float gar::gar_pandora::BFieldPlugin::GetBField |
( |
const pandora::CartesianVector & |
positionVector | ) |
const |
Definition at line 17 of file BFieldPlugin.cxx.
19 auto const *fieldService = gar::providerFrom<mag::MagneticFieldService>();
20 G4ThreeVector PosVec(positionVector.GetX(), positionVector.GetY(), positionVector.GetZ());
21 G4ThreeVector magfield = fieldService->FieldAtPoint(PosVec);
pandora::StatusCode gar::gar_pandora::BFieldPlugin::Initialize |
( |
| ) |
|
|
private |
pandora::StatusCode gar::gar_pandora::BFieldPlugin::ReadSettings |
( |
const pandora::TiXmlHandle |
xmlHandle | ) |
|
|
private |
The documentation for this class was generated from the following files: