19#ifndef BDSFIELDEMGLOBALPLACEMENT_H
20#define BDSFIELDEMGLOBALPLACEMENT_H
23#include "G4ThreeVector.hh"
25#include "BDSFieldEM.hh"
26#include "BDSNavigatorPlacements.hh"
55 virtual std::pair<G4ThreeVector,G4ThreeVector>
GetFieldTransformed(
const G4ThreeVector& position,
56 const G4double t)
const;
61 virtual std::pair<G4ThreeVector,G4ThreeVector>
GetField(
const G4ThreeVector& position,
62 const G4double t)
const;
A base class for electro-magnetic fields in local to be used in global coordinates.
virtual std::pair< G4ThreeVector, G4ThreeVector > GetField(const G4ThreeVector &position, const G4double t) const
virtual G4bool DoesFieldChangeEnergy() const
Necessary overload for Geant4.
virtual std::pair< G4ThreeVector, G4ThreeVector > GetFieldTransformed(const G4ThreeVector &position, const G4double t) const
BDSFieldEM * field
The field on which this is based.
Interface for BDSIM electro-magnetic fields that may or may not be local.
Extra G4Navigator to get coordinate transforms for placement world.