3 #include "Helpers/XmlHelper.h" 5 #include "CoreUtils/ServiceUtil.h" 8 namespace gar_pandora {
19 auto const *fieldService = gar::providerFrom<mag::MagneticFieldService>();
20 G4ThreeVector PosVec(positionVector.GetX(), positionVector.GetY(), positionVector.GetZ());
21 G4ThreeVector magfield = fieldService->FieldAtPoint(PosVec);
30 return pandora::STATUS_CODE_SUCCESS;
38 return pandora::STATUS_CODE_SUCCESS;
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
float GetBField(const pandora::CartesianVector &positionVector) const
pandora::StatusCode Initialize()
General GArSoft Utilities.