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.Double
getDq1()
java.lang.Double
getDq2()
java.util.List<MadxGlobalVariable>
getMadxVariables()
java.util.Map<java.lang.String,java.lang.Double>
getParameterSettings()
java.lang.Double
getQ1()
java.lang.Double
getQ2()
java.util.List<java.lang.String>
getReadoutNames()
java.lang.Double
getValue(MadxGlobalVariable variable)
boolean
isGlobal()
void
setDq1(java.lang.Double dq1)
void
setDq2(java.lang.Double dq2)
void
setQ1(java.lang.Double q1)
void
setQ2(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:
getReadoutNames
in 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:
isGlobal
in interfaceMatchConstraint
- Returns:
- true, if it is a global constraint
-
getParameterSettings
public java.util.Map<java.lang.String,java.lang.Double> getParameterSettings()
- Specified by:
getParameterSettings
in interfaceMatchConstraint
- Returns:
- MadxName-Value Pairs for all defined Parameters of this constraint
-
-