|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.sns.xal.smf.attr.AttributeBucket
|
+--gov.sns.xal.smf.attr.MagnetBucket
Attribute set for magnet information
len - is the effective magnetic length [m]
dfltMagField is the default field value (T for dipole, T/m for quad, etc.)
polarity - is the polarity flag. 1 means positive current = positive field.
-1 means positive current = negative field
multFieldNorm - is an array of the normal direction multipole components
element n is the n'th pole field level over the primary field
where n= 0 for dipole, n=1 for quad, ...
multFieldSkew - is the same as multFieldNorm, but is for the skew direction
| Nested Class Summary |
| Nested classes inherited from class gov.sns.xal.smf.attr.AttributeBucket |
AttributeBucket.MissingAttributeException |
| Constructor Summary | |
MagnetBucket()
|
|
| Method Summary | |
java.lang.String[] |
getAttrNames()
|
double |
getBendAngle()
return the dipole bend angle (in degrees) |
double |
getDfltField()
return the design magnetic field strength (in Tesla) |
double |
getDipoleEntrRotAngle()
return the dipole rotation angle for entrance pole face (in degrees) |
double |
getDipoleExitRotAngle()
return the dipole rotation angle for exit pole face (in degrees) |
double |
getDipoleQuadComponent()
return the quadrupole component for bend dipole |
double |
getEffLength()
return the magnetic length (in m) |
double[] |
getNormField()
|
double |
getPathLength()
return the design path length (in m) |
double |
getPolarity()
return the magnet polarity ( 1 or -1) |
double[] |
getTangField()
|
java.lang.String |
getType()
Override virtual to provide type signature |
void |
setBendAngle(double dblVal)
set the dipole bend angle (in degrees) |
void |
setDfltField(double dblVal)
|
void |
setDipoleEntrRotAngle(double dblVal)
set the dipole rotation angle for entrance pole face (in degrees) |
void |
setDipoleExitRotAngle(double dblVal)
set the dipole rotation angle for exit pole face (in degrees) |
void |
setDipoleQuadComponent(double dblVal)
set the quadrupole component for bend dipole |
void |
setEffLength(double dblVal)
set the magnetic length (in m) |
void |
setNormField(double[] arrVal)
|
void |
setPathLength(double dblVal)
set the dipole path length (in m) |
void |
setPolarity(double dblVal)
set the magnet polarity |
void |
setTangField(double[] arrVal)
|
| Methods inherited from class gov.sns.xal.smf.attr.AttributeBucket |
checkAttribute, dataLabel, getAttr, parseAttrValue, registerAttribute, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, setAttrValue, update, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MagnetBucket()
| Method Detail |
public java.lang.String getType()
getType in class AttributeBucketpublic java.lang.String[] getAttrNames()
getAttrNames in class AttributeBucketpublic double getEffLength()
public double getDfltField()
public double getPolarity()
public double getBendAngle()
public double[] getNormField()
public double[] getTangField()
public double getPathLength()
public double getDipoleEntrRotAngle()
public double getDipoleExitRotAngle()
public double getDipoleQuadComponent()
public void setEffLength(double dblVal)
dblVal - magnetic length in meterspublic void setPolarity(double dblVal)
dblVal - magnet polarity (1 or -1)public void setBendAngle(double dblVal)
dblVal - dipole bend angle in degreespublic void setNormField(double[] arrVal)
public void setTangField(double[] arrVal)
public void setDfltField(double dblVal)
public void setPathLength(double dblVal)
dblVal - path length in meterspublic void setDipoleEntrRotAngle(double dblVal)
dblVal - dipole rotation angle for entrance pole face in degreespublic void setDipoleExitRotAngle(double dblVal)
dblVal - dipole rotation angle for exit pole face in degreespublic void setDipoleQuadComponent(double dblVal)
dblVal - quadrupole component for bend dipole
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||