public class IdealMagFringeQuadFace extends ThinElectromagnet
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.Carey, The Optics of Charged Particle Beams (Harwood, 1987)
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
s_strParamField |
static java.lang.String |
s_strParamLenEff
Parameters for XAL MODEL LATTICE dtd
|
static java.lang.String |
s_strParamOrient |
static java.lang.String |
s_strType
the string type identifier for all IdealMagSteeringDipole's
|
dblField, enmOrient
ORIENT_HOR, ORIENT_NONE, ORIENT_VER
LightSpeed, Permeability, Permittivity, UnitCharge
Constructor and Description |
---|
IdealMagFringeQuadFace()
Default constructor - creates a new unitialized instance of
IdealMagSectorDipole.
|
IdealMagFringeQuadFace(java.lang.String strId)
Constructor providing the instance identifier for the element.
|
Modifier and Type | Method and Description |
---|---|
double |
elapsedTime(IProbe probe)
Returns the time taken for the probe to propagate through element.
|
double |
energyGain(IProbe probe)
Return the energy gain for this Element.
|
double |
getBRhoScaling() |
boolean |
getEntr() |
double |
getFieldPathFlag()
Return the field path flag.
|
double |
getFringeIntegral1()
Set the second-order moment integral of the dipole fringe field
as described by H.
|
double |
getFringeIntegral2() |
double |
getK1()
K1 (T/m)
|
double |
getNominalKineEnergy() |
void |
setBRhoScaling(double d) |
void |
setEntrFlag(boolean entr) |
void |
setFieldPathFlag(double ba)
sako to set field path flag
|
void |
setFringeIntegral1(double dblFringeInt)
Set the first-order moment integral of the dipole fringe field
as described by H.
|
void |
setFringeIntegral2(double dblFringeInt)
Set the first-order moment integral of the dipole fringe field
as described by H.
|
void |
setK1(double dbl)
K1 (T/m)
|
void |
setNominalKineEnergy(double ba) |
protected PhaseMap |
transferMap(IProbe probe)
Compute and return the transfer map for this dipole magnet
pole face element.
|
getMagField, getOrientation, initializeFrom, setMagField, setOrientation
elapsedTime, energyGain, getLength, transferMap
addCloseElements, applyAlignError, backPropagate, backPropagate, compDriftingTime, compProbeLocation, getAlignX, getAlignY, getAlignZ, getCloseElements, getHardwareNodeId, getId, getPosition, getType, getUID, print, propagate, propagate, setAlign, setAlignX, setAlignY, setAlignZ, setHardwareNodeId, setId, setPosition, toString
public static final java.lang.String s_strType
public static final java.lang.String s_strParamLenEff
public static final java.lang.String s_strParamOrient
public static final java.lang.String s_strParamField
public IdealMagFringeQuadFace()
public IdealMagFringeQuadFace(java.lang.String strId)
strId
- string identifier for elementpublic void setEntrFlag(boolean entr)
public double getBRhoScaling()
public void setBRhoScaling(double d)
public void setNominalKineEnergy(double ba)
public double getNominalKineEnergy()
public double getK1()
public void setK1(double dbl)
public void setFringeIntegral1(double dblFringeInt)
dblFringeInt
- field moment f1 (dimensionless)public void setFringeIntegral2(double dblFringeInt)
dblFringeInt
- field moment f1 (dimensionless)public void setFieldPathFlag(double ba)
ba
- public double getFringeIntegral1()
IdealMagFringeQuadFace#setFringeIntegral(double)
public double getFringeIntegral2()
public boolean getEntr()
public double getFieldPathFlag()
public double elapsedTime(IProbe probe)
elapsedTime
in class ThinElement
probe
- propagating probepublic double energyGain(IProbe probe)
energyGain
in class ThinElement
probe
- propagating probeprotected PhaseMap transferMap(IProbe probe) throws ModelException
transferMap
in class ThinElement
probe
- ModelException
xal.sim.slg.sns.xal.model.elem.ThinElement#transferMap(gov.sns.xal.model.IProbe)