Class MatchConstraintGlobal
- java.lang.Object
-
- cern.accsoft.steering.jmad.domain.result.match.input.MatchConstraintGlobal
-
- All Implemented Interfaces:
MatchConstraint
public class MatchConstraintGlobal extends java.lang.Object implements MatchConstraint
-
-
Constructor Summary
Constructors Constructor Description MatchConstraintGlobal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.DoublegetDq1()java.lang.DoublegetDq2()java.util.List<MadxGlobalVariable>getMadxVariables()java.util.Map<java.lang.String,java.lang.Double>getParameterSettings()java.lang.DoublegetQ1()java.lang.DoublegetQ2()java.util.List<java.lang.String>getReadoutNames()java.lang.DoublegetValue(MadxGlobalVariable variable)booleanisGlobal()voidsetDq1(java.lang.Double dq1)voidsetDq2(java.lang.Double dq2)voidsetQ1(java.lang.Double q1)voidsetQ2(java.lang.Double q2)
-
-
-
Method Detail
-
getValue
public java.lang.Double getValue(MadxGlobalVariable variable)
-
getMadxVariables
public java.util.List<MadxGlobalVariable> getMadxVariables()
-
getReadoutNames
public java.util.List<java.lang.String> getReadoutNames()
- Specified by:
getReadoutNamesin interfaceMatchConstraint- Returns:
- Madx values-command names to read the resulting value of the constraints after matching...
for local matching, if a range is specified, only names for first and last element of the range are returned
-
getQ1
public java.lang.Double getQ1()
-
setQ1
public void setQ1(java.lang.Double q1)
-
getQ2
public java.lang.Double getQ2()
-
setQ2
public void setQ2(java.lang.Double q2)
-
getDq1
public java.lang.Double getDq1()
-
setDq1
public void setDq1(java.lang.Double dq1)
-
getDq2
public java.lang.Double getDq2()
-
setDq2
public void setDq2(java.lang.Double dq2)
-
isGlobal
public boolean isGlobal()
- Specified by:
isGlobalin interfaceMatchConstraint- Returns:
- true, if it is a global constraint
-
getParameterSettings
public java.util.Map<java.lang.String,java.lang.Double> getParameterSettings()
- Specified by:
getParameterSettingsin interfaceMatchConstraint- Returns:
- MadxName-Value Pairs for all defined Parameters of this constraint
-
-