22#include "BDSFieldMag.hh"
25#include "G4RotationMatrix.hh"
26#include "G4ThreeVector.hh"
50 virtual G4ThreeVector
GetField(
const G4ThreeVector &position,
51 const G4double t = 0)
const;
A wrapper class for BDSFieldMag that rotates it.
G4RotationMatrix * rotation
The rotation matrix used to rotate the coordinates.
G4RotationMatrix * antiRotation
The opposite rotation matrix used to transform the resultant field vector.
BDSFieldMagSkew()=delete
Private default constructor to force use of supplied ones.
virtual G4ThreeVector GetField(const G4ThreeVector &position, const G4double t=0) const
Get the field - local coordinates, and rotated.
Interface for static magnetic fields that may or may not be local.