public class IdealMagSkewQuad extends IdealMagQuad
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
s_strType
string type identifier for all IdealMagSkewQuad objects
|
s_strParamField, s_strParamOrient
dblField, enmOrient
ORIENT_HOR, ORIENT_NONE, ORIENT_VER
LightSpeed, Permeability, Permittivity, UnitCharge
Constructor and Description |
---|
IdealMagSkewQuad(java.lang.String strId,
int enmOrient,
double dblFld,
double dblLen,
double dblAng)
Creates a new instance of IdealMagSkewQuad
|
Modifier and Type | Method and Description |
---|---|
double |
getSkewAngle()
Get the rotation angle of the electromagnet.
|
void |
print(java.io.PrintWriter os)
Dump current state and content to output stream.
|
void |
setSkewAngle(double dblAngle)
Set the rotation angle of the electromagnet.
|
PhaseMap |
transferMap(IProbe probe,
double length)
Compute the partial transfer map of an ideal skew quadrupole for the particular probe.
|
elapsedTime, energyGain, getBRhoScaling, getFieldPathFlag, getFringeIntegral1Entr, getFringeIntegral1Exit, getFringeIntegral2Entr, getFringeIntegral2Exit, getK1, getNominalKineEnergy, getRadIn, getRadOut, setBRhoScaling, setFieldPathFlag, setFringeIntegral1Entr, setFringeIntegral1Exit, setFringeIntegral2Entr, setFringeIntegral2Exit, setK1, setNominalKineEnergy, setRadIn, setRadOut
getMagField, getOrientation, initializeFrom, setMagField, setOrientation
getLength, setLength
addCloseElements, applyAlignError, backPropagate, backPropagate, compDriftingTime, compProbeLocation, getAlignX, getAlignY, getAlignZ, getCloseElements, getHardwareNodeId, getId, getPosition, getType, getUID, propagate, propagate, setAlign, setAlignX, setAlignY, setAlignZ, setHardwareNodeId, setId, setPosition, toString
public static final java.lang.String s_strType
public IdealMagSkewQuad(java.lang.String strId, int enmOrient, double dblFld, double dblLen, double dblAng)
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 4public double getSkewAngle()
public void setSkewAngle(double dblAngle)
dblAngle
- rotation angle (in public PhaseMap transferMap(IProbe probe, double length)
dblLen
meters in length.transferMap
in interface IElement
transferMap
in class IdealMagQuad
probe
- supplies the charge, rest and kinetic energy parameterslength
- compute transfer matrix for section of this lengthIElement.transferMap(IProbe,double)
public void print(java.io.PrintWriter os)
print
in class IdealMagQuad
os
- output stream object