Package xal.smf.attr
Class DipoleCorrBucket
java.lang.Object
xal.smf.attr.AttributeBucket
xal.smf.attr.MagnetBucket
xal.smf.attr.DipoleBucket
xal.smf.attr.DipoleCorrBucket
- All Implemented Interfaces:
Serializable
,DataListener
- Direct Known Subclasses:
DipoleCorrBucket
- Author:
- Juan F. Esteban Müller <JuanF.EstebanMuller@ess.eu>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class xal.smf.attr.AttributeBucket
AttributeBucket.MissingAttributeException
-
Field Summary
Fields inherited from class xal.smf.attr.DipoleBucket
attBendAngle, attDipoleEntrRotAngle, attDipoleExitRotAngle, attDipoleQuadComponent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
return the number of slices in which thin correctors are splitdouble[]
return array with each slice weightgetType()
Override virtual to provide type signaturevoid
setSlices
(int intVal) set the number of slices in which thin correctors are splitvoid
setSlicesEffLength
(double[] arrVal) set the number of slices in which thin correctors are splitMethods inherited from class xal.smf.attr.DipoleBucket
getBendAngle, getDipoleEntrRotAngle, getDipoleExitRotAngle, getDipoleQuadComponent, getPathLength, setBendAngle, setDipoleEntrRotAngle, setDipoleExitRotAngle, setDipoleQuadComponent, setPathLength
Methods inherited from class xal.smf.attr.MagnetBucket
getConversionFactor, getDfltField, getEffLength, getNormField, getPolarity, getTangField, getUseCurrentFlag, setConversionFactor, setDfltField, setEffLength, setNormField, setPolarity, setTangField, setUseCurrentFlag
Methods inherited from class xal.smf.attr.AttributeBucket
checkAttribute, dataLabel, getAttr, getAttrDescription, getAttrNames, parseAttrValue, registerAttribute, registerAttribute, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, update, write
-
Constructor Details
-
DipoleCorrBucket
public DipoleCorrBucket()
-
-
Method Details
-
getType
Override virtual to provide type signature- Overrides:
getType
in classDipoleBucket
-
getSlices
public int getSlices()return the number of slices in which thin correctors are split -
getSlicesEffLength
public double[] getSlicesEffLength()return array with each slice weight -
setSlices
public void setSlices(int intVal) set the number of slices in which thin correctors are split- Parameters:
intVal
- number of slices
-
setSlicesEffLength
public void setSlicesEffLength(double[] arrVal) set the number of slices in which thin correctors are split- Parameters:
arrVal
- array with weight of slices
-