Package xal.model.elem
Class IdealMagDipoleFace
java.lang.Object
xal.model.elem.Element
xal.model.elem.ThinElement
xal.model.elem.ThinElectromagnet
xal.model.elem.IdealMagDipoleFace
- All Implemented Interfaces:
IElectromagnet
,IComponent
,IElement
Deprecated.
Represents the action of a rotated dipole face as a thin lens effect. Note
that there is always an associated dipole magnet for any
IdealMagDipoleFace
. The two objects should provide the same
values for the IElectromagnet
interface. Note that a dipole face
rotation has the same effect both on beam entering the dipole or exiting the
dipole. The model for the pole face effect is taken from D.C. Carey's book.- Author:
- Christopher K. Allen
- See Also:
-
- "D.C. Carey, The Optics of Charged Particle Beams (Harwood, 1987)"
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Deprecated.static final String
Deprecated.Parameters for XAL MODEL LATTICE dtdstatic final String
Deprecated.static final String
Deprecated.the string type identifier for all IdealMagSteeringDipole'sFields inherited from class xal.model.elem.ThinElectromagnet
dblField, enmOrient
Fields inherited from class xal.model.elem.Element
dblNodeLen, dblNodePos
Fields inherited from interface xal.model.elem.sync.IElectromagnet
ORIENT_HOR, ORIENT_NONE, ORIENT_VER
Fields inherited from interface xal.model.IElement
LIGHT_SPEED, PERMEABILITY, PERMITTIVITY, UNIT_CHARGE
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Default constructor - creates a new uninitialized instance of IdealMagSectorDipole.IdealMagDipoleFace
(String strId) Deprecated.Constructor providing the instance identifier for the element. -
Method Summary
Modifier and TypeMethodDescriptiondouble
elapsedTime
(IProbe probe) Deprecated.Returns the time taken for the probe to propagate through element.double
energyGain
(IProbe probe) Deprecated.Return the energy gain for this Element.double
Deprecated.double
Deprecated.double
Deprecated.Set the second-order moment integral of the dipole fringe field as described by D.C.double
Deprecated.Return distance between dipole magnet poles.double
Deprecated.double
Deprecated.Return the angle between the pole face normal vector and the design trajectory.void
setBendAngle
(double ba) Deprecated.void
setFieldPathFlag
(double ba) Deprecated.void
setFringeIntegral
(double dblFrngMmt) Deprecated.Set the second-order moment integral of the dipole fringe field as described by D.C.void
setGapHeight
(double dblGap) Deprecated.Set the gap height between the magnet poles.void
setPathLength
(double pl) Deprecated.void
setPoleFaceAngle
(double dblAngPole) Deprecated.Set the angle between the pole face normal vector and the design trajectory.protected PhaseMap
transferMap
(IProbe probe) Deprecated.Compute the transfer matrix of this element.Methods inherited from class xal.model.elem.ThinElectromagnet
getMagField, getOrientation, initializeFrom, setMagField, setOrientation
Methods inherited from class xal.model.elem.ThinElement
applyErrors, elapsedTime, energyGain, getLength, longitudinalPhaseAdvance, longitudinalPhaseAdvance, transferMap
Methods inherited from class xal.model.elem.Element
addCloseElements, backPropagate, backPropagate, compDriftingTime, compProbeLocation, getAlignX, getAlignY, getAlignZ, getCloseElements, getHardwareNodeId, getId, getLatticePosition, getNodeLen, getNodePos, getParent, getPhiX, getPhiY, getPhiZ, getPosition, getType, getUID, print, propagate, propagate, setAlign, setAlignX, setAlignY, setAlignZ, setHardwareNodeId, setId, setParent, setPhiX, setPhiY, setPhiZ, setPosition, toString
-
Field Details
-
TYPE
Deprecated.the string type identifier for all IdealMagSteeringDipole's- See Also:
-
PARAM_LEN_EFF
Deprecated.Parameters for XAL MODEL LATTICE dtd- See Also:
-
PARAM_ORIENT
Deprecated.- See Also:
-
PARAM_FIELD
Deprecated.- See Also:
-
-
Constructor Details
-
IdealMagDipoleFace
public IdealMagDipoleFace()Deprecated.Default constructor - creates a new uninitialized instance of IdealMagSectorDipole. This is the constructor called in automatic lattice generation. Thus, all element properties are set following construction. -
IdealMagDipoleFace
Deprecated.Constructor providing the instance identifier for the element.- Parameters:
strId
- string identifier for element
-
-
Method Details
-
setPoleFaceAngle
public void setPoleFaceAngle(double dblAngPole) Deprecated.Set the angle between the pole face normal vector and the design trajectory. This can be either at the magnet entrance or exit, the effect is the same.- Parameters:
dblAngPole
- pole face angle in radians
-
setGapHeight
public void setGapHeight(double dblGap) Deprecated.Set the gap height between the magnet poles.- Parameters:
dblGap
- gap size in meters
-
setFringeIntegral
public void setFringeIntegral(double dblFrngMmt) Deprecated.Set the second-order moment integral of the dipole fringe field as described by D.C. Carey. The integral determines the amount of defocusing caused by the fringe field. Denoting the integral I2 it has the definition I2 := Integral{ B(z)[B0 - B(z)]/(g B0^2) }dz where g is the gap height, B0 is the hard edge value for the magnetic field, and B(z) is the true magnetic field along the design trajectory with path length parameter z. The integral taken from a location z0 within the magnet where B(z0)=B0 out to z = infinity. Some examples values are the following: I2 = 0.1666 linear drop off I2 = 0.4 clamped Rogowski coil I2 = 0.7 unclamped Rogoski coil- Parameters:
dblFrngMmt
- field moment I2 (dimensionless)
-
setPathLength
public void setPathLength(double pl) Deprecated. -
setBendAngle
public void setBendAngle(double ba) Deprecated. -
setFieldPathFlag
public void setFieldPathFlag(double ba) Deprecated. -
getPathLength
public double getPathLength()Deprecated. -
getBendAngle
public double getBendAngle()Deprecated. -
getFieldPathFlag
public double getFieldPathFlag()Deprecated. -
getGapHeight
public double getGapHeight()Deprecated.Return distance between dipole magnet poles.- Returns:
- gap height in meters
-
getPoleFaceAngle
public double getPoleFaceAngle()Deprecated.Return the angle between the pole face normal vector and the design trajectory. This can be either at the magnet entrance or exit, the effect is the same.- Returns:
- pole face angle in radians
-
getFringeIntegral
public double getFringeIntegral()Deprecated.Set the second-order moment integral of the dipole fringe field as described by D.C. Carey. The integral determines the amount of defocusing caused by the fringe field.- Returns:
- second-order integral of fringe field (dimensionless)
- See Also:
-
elapsedTime
Deprecated.Returns the time taken for the probe to propagate through element.- Specified by:
elapsedTime
in classThinElement
- Parameters:
probe
- propagating probe- Returns:
- value of zero
-
energyGain
Deprecated.Return the energy gain for this Element.- Specified by:
energyGain
in classThinElement
- Parameters:
probe
- propagating probe- Returns:
- value of zero
-
transferMap
Deprecated.Description copied from class:ThinElement
Compute the transfer matrix of this element.- Specified by:
transferMap
in classThinElement
- Parameters:
probe
-- Returns:
- Throws:
ModelException
- See Also:
-
IdealMagDipoleFace2