19#ifndef BDSFIELDMAGOCTUPOLE_H
20#define BDSFIELDMAGOCTUPOLE_H
22#include "BDSFieldMag.hh"
25#include "G4ThreeVector.hh"
45 virtual G4ThreeVector
GetField(
const G4ThreeVector &position,
46 const G4double t = 0)
const;
Class that provides the magnetic strength in an octupole.
BDSFieldMagOctupole()
Private default constructor to force use of supplied constructor.
G4double bTPNormed
bTriplePrime / 3! cached for simplicity
G4double bTriplePrime
3rd derivative of the magnetic field
virtual G4ThreeVector GetField(const G4ThreeVector &position, const G4double t=0) const
Access the field value.
Interface for static magnetic fields that may or may not be local.
Efficient storage of magnet strengths.