Class Sextupole
- java.lang.Object
-
- cern.accsoft.steering.jmad.domain.elem.impl.AbstractElement
-
- cern.accsoft.steering.jmad.domain.elem.impl.Sextupole
-
- All Implemented Interfaces:
Element
public class Sextupole extends AbstractElement
Represents in JMad an element of type SEXTUPOLE in MadX.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_K2
the normal sextupole coefficent.static java.lang.String
ATTR_K2S
the skew sextupole coefficient.static java.lang.String
ATTR_TILT
the tilt of the sextupole.-
Fields inherited from class cern.accsoft.steering.jmad.domain.elem.impl.AbstractElement
ATTR_LENGTH
-
Fields inherited from interface cern.accsoft.steering.jmad.domain.elem.Element
ATTR_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description Sextupole(MadxElementType madxElementType, java.lang.String name)
the constructor, which needs the madxElementType and the name of the element
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getK2()
double
getK2s()
double
getTilt()
void
setK2(double k2)
void
setK2s(double k2s)
void
setTilt(double tilt)
-
Methods inherited from class cern.accsoft.steering.jmad.domain.elem.impl.AbstractElement
addAttribute, addListener, getAttribute, getAttributeNames, getAttributesReader, getLength, getMadxElementType, getName, getPosition, removeListener, setAttribute, setAttributesInitialized, setAttributesReader, setLength, setListenersEnabled, setPosition, setPosition, toString
-
-
-
-
Field Detail
-
ATTR_K2
public static final java.lang.String ATTR_K2
the normal sextupole coefficent.- See Also:
- Constant Field Values
-
ATTR_K2S
public static final java.lang.String ATTR_K2S
the skew sextupole coefficient.- See Also:
- Constant Field Values
-
ATTR_TILT
public static final java.lang.String ATTR_TILT
the tilt of the sextupole.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Sextupole
public Sextupole(MadxElementType madxElementType, java.lang.String name)
the constructor, which needs the madxElementType and the name of the element- Parameters:
madxElementType
- the type which represents this specific element in MadXname
- the name of the Sextupole
-
-