19#ifndef BDSFIELDMAGSOLENOIDSHEET_H
20#define BDSFIELDMAGSOLENOIDSHEET_H
22#include "BDSFieldMag.hh"
24#include "G4ThreeVector.hh"
60 virtual G4ThreeVector
GetField(
const G4ThreeVector& position,
61 const G4double t = 0)
const;
64 static G4double
CEL(G4double kc,
68 G4int nIterationLimit = 1000);
73 G4double
OnAxisBz(G4double zp, G4double zm)
const;
78 G4double spatialLimit;
79 G4double normalisation;
Class that provides the magnetic field due to a cylinder of current.
G4double OnAxisBz(G4double zp, G4double zm) const
static G4double CEL(G4double kc, G4double p, G4double c, G4double s, G4int nIterationLimit=1000)
Generalised Complete Elliptical Integral.
virtual G4ThreeVector GetField(const G4ThreeVector &position, const G4double t=0) const
Calculate the field value.
Interface for static magnetic fields that may or may not be local.
Efficient storage of magnet strengths.