19#ifndef BDSFIELDMAGSEXTUPOLE_H
20#define BDSFIELDMAGSEXTUPOLE_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 a sextupole.
BDSFieldMagSextupole()
Private default constructor to avoid usage.
G4double bDoublePrime
B'' - second derivative of the magnetic field.
virtual G4ThreeVector GetField(const G4ThreeVector &position, const G4double t=0) const
Access the field value.
G4double halfBDoublePrime
bDoublePrime / 2! cached
Interface for static magnetic fields that may or may not be local.
Efficient storage of magnet strengths.