18#ifndef BDSFIELDMAGSOLENOIDSHEET_H
19#define BDSFIELDMAGSOLENOIDSHEET_H
21#include "BDSFieldMag.hh"
23#include "G4ThreeVector.hh"
50 G4double radiusIn ,G4double toleranceIn = 0.0);
55 G4bool strengthIsCurrent,
58 G4double toleranceIn = 0.0);
62 virtual G4ThreeVector
GetField(
const G4ThreeVector& position,
63 const G4double t = 0)
const;
66 inline G4double
GetB0()
const {
return B0;}
67 inline G4double
GetI()
const {
return I;}
73 G4double
OnAxisBz(G4double zp, G4double zm)
const;
79 G4double spatialLimit;
80 G4double normalisation;
81 G4double coilTolerance;
Class that provides the magnetic field due to a cylinder of current.
G4double OnAxisBz(G4double zp, G4double zm) const
G4double GetI() const
Accessor.
virtual G4ThreeVector GetField(const G4ThreeVector &position, const G4double t=0) const
Calculate the field value.
G4double GetB0() const
Accessor.
Interface for static magnetic fields that may or may not be local.
Efficient storage of magnet strengths.