19#ifndef BDSFIELDMAGMULTIPOLE_H
20#define BDSFIELDMAGMULTIPOLE_H
22#include "BDSFieldMag.hh"
25#include "G4ThreeVector.hh"
43 G4int
const orderIn = 12);
48 virtual G4ThreeVector
GetField(
const G4ThreeVector &position,
49 const G4double t = 0)
const;
Class that provides the magnetic strength in a quadrupole.
std::vector< G4double > normalComponents
Normal field components (normal - ie not skew) = kn * brho.
BDSFieldMagMultipole()
Private default constructor to force use of supplied constructor.
G4int order
Order up to which field components are considered.
std::vector< G4double > skewComponents
Skew field components = kns * brho.
virtual G4ThreeVector GetField(const G4ThreeVector &position, const G4double t=0) const
Access the field value.
G4int maximumNonZeroOrder
Interface for static magnetic fields that may or may not be local.
Efficient storage of magnet strengths.