Package xal.model.elem
Class IdealMagSkewQuad
java.lang.Object
xal.model.elem.Element
xal.model.elem.ThickElement
xal.model.elem.ThickElectromagnet
xal.model.elem.IdealMagQuad
xal.model.elem.IdealMagSkewQuad
- All Implemented Interfaces:
IElectromagnet
,IComponent
,IElement
Deprecated.
Represents an ideal magnetic skew quadrupole magnet for a beam
transport/accelerator system.
- Author:
- Jeff Holmes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Deprecated.string type identifier for all IdealMagSkewQuad objectsFields inherited from class xal.model.elem.IdealMagQuad
PARAM_FIELD, PARAM_ORIENT
Fields inherited from class xal.model.elem.ThickElectromagnet
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
ConstructorsConstructorDescriptionIdealMagSkewQuad
(String strId, int enmOrient, double dblFld, double dblLen, double dblAng) Deprecated.Creates a new instance of IdealMagSkewQuad -
Method Summary
Modifier and TypeMethodDescriptiondouble
Deprecated.Get the rotation angle of the electromagnet.void
print
(PrintWriter os) Deprecated.Dump current state and content to output stream.void
setSkewAngle
(double dblAngle) Deprecated.Set the rotation angle of the electromagnet.transferMap
(IProbe probe, double length) Deprecated.Compute the partial transfer map of an ideal skew quadrupole for the particular probe.Methods inherited from class xal.model.elem.IdealMagQuad
elapsedTime, energyGain, getBRhoScaling, getFieldPathFlag, getFringeIntegral1Entr, getFringeIntegral1Exit, getFringeIntegral2Entr, getFringeIntegral2Exit, getK1, getNominalKineEnergy, getRadIn, getRadOut, setBRhoScaling, setFieldPathFlag, setFringeIntegral1Entr, setFringeIntegral1Exit, setFringeIntegral2Entr, setFringeIntegral2Exit, setK1, setNominalKineEnergy, setRadIn, setRadOut, toString
Methods inherited from class xal.model.elem.ThickElectromagnet
getMagField, getOrientation, initializeFrom, setMagField, setOrientation
Methods inherited from class xal.model.elem.ThickElement
applyErrors, getLength, isFirstSubslice, isLastSubslice, longitudinalPhaseAdvance, setLength
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, propagate, propagate, setAlign, setAlignX, setAlignY, setAlignZ, setHardwareNodeId, setId, setParent, setPhiX, setPhiY, setPhiZ, setPosition
-
Field Details
-
TYPE
Deprecated.string type identifier for all IdealMagSkewQuad objects- See Also:
-
-
Constructor Details
-
IdealMagSkewQuad
Deprecated.Creates a new instance of IdealMagSkewQuad- Parameters:
strId
- identifier for this IdealMagSkewQuad objectenmOrient
- enumeration specifying the skew quadrupole orientation (13 focuses in quadrants 1 and 3 and 24 focuses in quadrants 2 and 4)dblFld
- field gradient strength (in Tesla/meter)dblLen
- length of the skew quadrupoledblAng
- angle of the skew quadrupole: dblAng > 0 -> focuses in quadrants 1 and 3 dblAng < 0 -> focuses in quadrants 2 and 4
-
-
Method Details
-
getSkewAngle
public double getSkewAngle()Deprecated.Get the rotation angle of the electromagnet.- Returns:
- rotation angle (in degrees).
-
setSkewAngle
public void setSkewAngle(double dblAngle) Deprecated.Set the rotation angle of the electromagnet.- Parameters:
dblAngle
- rotation angle (in degrees).
-
transferMap
Deprecated.Compute the partial transfer map of an ideal skew quadrupole for the particular probe. Computes transfer map for a section of skew quadrupoledblLen
meters in length.- Specified by:
transferMap
in interfaceIElement
- Overrides:
transferMap
in classIdealMagQuad
- Parameters:
probe
- supplies the charge, rest and kinetic energy parameterslength
- compute transfer matrix for section of this length- Returns:
- transfer map of ideal skew quadrupole for particular probe
- See Also:
-
print
Deprecated.Dump current state and content to output stream.- Overrides:
print
in classIdealMagQuad
- Parameters:
os
- output stream object
-
IdealMagSkewQuad3