19#ifndef BDSFIELDMAGMULTIPOLEOUTERDUAL_H
20#define BDSFIELDMAGMULTIPOLEOUTERDUAL_H
21#include "BDSFieldMag.hh"
23#include "G4ThreeVector.hh"
39 G4double poleTipRadius,
44 G4bool secondFieldOnLeft =
true,
45 G4bool secondFieldInverted =
true,
46 G4double arbitraryScaling = 1.0);
51 virtual G4ThreeVector
GetField(
const G4ThreeVector& position,
52 const double t = 0)
const;
57 G4bool invertSecondField;
Sum of two multipole fields spaced by a distance in x.
virtual G4ThreeVector GetField(const G4ThreeVector &position, const double t=0) const
Access the field value.
A simple parameterisation of N-Pole outer yoke magnetic field.
Interface for static magnetic fields that may or may not be local.
Efficient storage of magnet strengths.