19#ifndef BDSFIELDMAGMULTIPOLEOUTEROLD_H
20#define BDSFIELDMAGMULTIPOLEOUTEROLD_H
22#include "BDSFieldMag.hh"
25#include "G4RotationMatrix.hh"
26#include "G4ThreeVector.hh"
27#include "G4TwoVector.hh"
62 G4double arbitraryScaling = 1.0);
67 virtual G4ThreeVector
GetField(
const G4ThreeVector& position,
68 const double t = 0)
const;
A simple paramaterisation of N-Pole outer yoke magnetic field.
G4bool positiveField
Sign of magnetic field.
G4double poleTipRadius
Radius of transition between inner and outer fields.
virtual G4ThreeVector GetField(const G4ThreeVector &position, const double t=0) const
Access the field value.
std::vector< G4TwoVector > currents
Locations of inifite wire current sources.
G4double normalisation
Storage of the overal normalisation factor.
const G4int order
N-poles / 2.
Interface for static magnetic fields that may or may not be local.
Efficient storage of magnet strengths.