Class Quadrupole
- java.lang.Object
-
- cern.accsoft.steering.jmad.domain.elem.impl.AbstractElement
-
- cern.accsoft.steering.jmad.domain.elem.impl.Quadrupole
-
- All Implemented Interfaces:
Element
public class Quadrupole extends AbstractElement
Represents in JMad an element of type QUADRUPOLE in MadX.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_K1
the normal quadrupole coefficent.static java.lang.String
ATTR_K1S
the skew quadrupole coefficient.static java.lang.String
ATTR_TILT
the tilt of the quadrupole.-
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 Quadrupole(MadxElementType madxElementType, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getK1()
double
getK1s()
double
getTilt()
void
setK1(double k1)
void
setK1s(double k1s)
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_K1
public static final java.lang.String ATTR_K1
the normal quadrupole coefficent.- See Also:
- Constant Field Values
-
ATTR_K1S
public static final java.lang.String ATTR_K1S
the skew quadrupole coefficient.- See Also:
- Constant Field Values
-
ATTR_TILT
public static final java.lang.String ATTR_TILT
the tilt of the quadrupole.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Quadrupole
public Quadrupole(MadxElementType madxElementType, java.lang.String name)
-
-