19#ifndef BDSFIELDMAGUNDULATOR_H
20#define BDSFIELDMAGUNDULATOR_H
22#include "BDSFieldMag.hh"
25#include "G4ThreeVector.hh"
40 G4double beamPipeRadiusIn);
45 virtual G4ThreeVector
GetField(
const G4ThreeVector &position,
46 const G4double t = 0)
const;
Class that provides the magnetic strength in a quadrupole.
G4double wavenumber
The undulator wavenumber.
BDSFieldMagUndulator()
Private default constructor to force use of supplied constructor.
G4double beamPipeRadius
Cache of beam pipe radius to know maximum valid extent of field.
virtual G4ThreeVector GetField(const G4ThreeVector &position, const G4double t=0) const
Access the field value.
G4double B
The peak field.
Interface for static magnetic fields that may or may not be local.
Efficient storage of magnet strengths.