Class SBending
java.lang.Object
org.scictrl.mp.orbitcorrect.model.optics.AbstractDataBushElement
org.scictrl.mp.orbitcorrect.model.optics.AbstractOpticalElement
org.scictrl.mp.orbitcorrect.model.optics.AbstractTransferElement
org.scictrl.mp.orbitcorrect.model.optics.AbstractMagnetElement
org.scictrl.mp.orbitcorrect.model.optics.AbstractCalibratedMagnet
org.scictrl.mp.orbitcorrect.model.optics.AbstractBending
org.scictrl.mp.orbitcorrect.model.optics.SBending
- All Implemented Interfaces:
Cloneable,ISimpleElement,AbstractUpdateableElement,IApplyableElement
This type represent sector dipole magnet. Face of this magnet is always rectangular to particle beam.
- Author:
- igor@scictrl.com
-
Field Summary
Fields inherited from class org.scictrl.mp.orbitcorrect.model.optics.AbstractBending
PR_DFIELD, PR_ENERGY, PR_QUADRUPOLE_STRENGTH, PR_RADIUS, quadrupoleStrength, radiusFields inherited from class org.scictrl.mp.orbitcorrect.model.optics.AbstractCalibratedMagnet
calibrationEntry, current, dataInvalidated, PR_CALIBRATION_ENTRYFields inherited from class org.scictrl.mp.orbitcorrect.model.optics.AbstractMagnetElement
PR_POWER_SUPPLY, psHFields inherited from class org.scictrl.mp.orbitcorrect.model.optics.AbstractTransferElement
length, matrices, matrix, PR_LENGTHFields inherited from class org.scictrl.mp.orbitcorrect.model.optics.AbstractOpticalElement
PR_POSITION, PR_REL_FROM, PR_REL_POSITIONFields inherited from class org.scictrl.mp.orbitcorrect.model.optics.AbstractDataBushElement
lastActionResult, owner, PR_ELEMENT_NAME, PR_VIRTUAL -
Constructor Summary
ConstructorsConstructorDescriptionConstructsSBendingwith specified name and default parameter's values.SBending(String name, boolean virtual, double position, double relpos, String relFrom, double length, String ps, String calibrationEntry, double quadrupoleStrength, double radius, double dipoleField, double energy) Constructs theSBendingwith specified parameters. -
Method Summary
Methods inherited from class org.scictrl.mp.orbitcorrect.model.optics.AbstractBending
applyField, clone, getCalculator, getDipoleField, getEnergy, getMaxEnergy, getMinEnergy, getQuadrupoleStrength, getRadius, newMatrix, newMatrix, setCurrent, setDipoleField, setEnergy, setQuadrupoleStrength, setRadius, setWith, updateMethods inherited from class org.scictrl.mp.orbitcorrect.model.optics.AbstractCalibratedMagnet
getCalibrationEntry, getCurrent, invalidateData, isDataInvalidated, updateMatricesMethods inherited from class org.scictrl.mp.orbitcorrect.model.optics.AbstractMagnetElement
getPowerSupply, getPSMethods inherited from class org.scictrl.mp.orbitcorrect.model.optics.AbstractTransferElement
getAlpha1, getAlpha2, getBeta1, getBeta2, getDispersion1, getDispersion2, getLength, getMatrix, getQ1, getQ2, setLengthMethods inherited from class org.scictrl.mp.orbitcorrect.model.optics.AbstractOpticalElement
getAlpha, getBeta, getDispersion, getIndex, getPosition, getQ, getRelFrom, getRelPosition, setPosition, setRelFrom, setRelPositionMethods inherited from class org.scictrl.mp.orbitcorrect.model.optics.AbstractDataBushElement
equals, getLastActionResult, getName, getOwner, getVirtual, hashCode, isInitialized, isVirtual, setVirtual, throwISE
-
Constructor Details
-
SBending
ConstructsSBendingwith specified name and default parameter's values.- Parameters:
name- aStringname of abstract bending
-
SBending
public SBending(String name, boolean virtual, double position, double relpos, String relFrom, double length, String ps, String calibrationEntry, double quadrupoleStrength, double radius, double dipoleField, double energy) Constructs theSBendingwith specified parameters.
-
-
Method Details
-
descriptor
Returns the descriptor object for this element.DBElementDescriptorhelps manipulating DataBush elements dynamically.descriptor.
- Specified by:
descriptorin classAbstractDataBushElement- Returns:
- the descriptor object for this element.
- See Also:
-
elType
public int elType()Returns the code of element's type.elType.
- Specified by:
elTypein classAbstractDataBushElement- Returns:
- the code of element's type.
- See Also:
-
toString
Returns the string representation of this element. Returns string describing this element. String is formated in input-file code. Returns a String that represents the value of this object.toString.
toString.
toString.
toString.
Returns a String that represents the value of this object.- Specified by:
toStringin interfaceISimpleElement- Overrides:
toStringin classAbstractBending- See Also:
-