|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.sns.xal.smf.AcceleratorNode
|
+--gov.sns.xal.smf.AcceleratorSeq
|
+--gov.sns.xal.smf.AcceleratorSector
| Field Summary | |
protected double |
m_dblBeamCharge
Charge of beam in this sequence (+-1) |
protected double |
m_dblEr
particle species rest energy |
protected double |
m_dblQ2M
particle species charge to mass ratio |
| Fields inherited from class gov.sns.xal.smf.AcceleratorSeq |
m_arrNodes, m_bucSequence, nodeTable, s_strType |
| Fields inherited from class gov.sns.xal.smf.AcceleratorNode |
channelSuite, m_bolIsSoft, m_bolStatus, m_bolValid, m_bucAlign, m_bucAper, m_bucTwiss, m_dblLen, m_dblPos, m_mapAttrs, m_objAccel, m_seqParent, m_strId |
| Constructor Summary | |
AcceleratorSector(java.lang.String strId)
Creates a new instance of AcceleratorSector |
|
AcceleratorSector(java.lang.String strId,
int intReserve)
Creates a new instance of AcceleratorSector |
|
| Method Summary | |
boolean |
addNode(AcceleratorNode node)
Adds node to the Sector at the tail. |
AcceleratorSeq |
concatenate(AcceleratorSector sec)
|
double |
getCharge2Mass()
Return the charge to mass ratio of the design particle species |
double |
getChargeSignum()
Return the signum of design particle species charge |
double |
getRestEnergy()
Return the rest energy of the design particle species |
void |
setCharge2Mass(double dblQ2M)
Set the charge to mass ratio of the design particle |
void |
setChargeSignum(double dblSgn)
Set the charge sign of the design particle @param dblSgn {-1,+1} |
void |
setRestEnergy(double dblEr)
Set the rest energy of the design particle species |
| Methods inherited from class gov.sns.xal.smf.AcceleratorSeq |
addBucket, addNodeAt, addSequenceChain, addSoft, canPrecede, contains, dataLabel, formsRing, getAllNodes, getAllNodesOfType, getAllNodesWithQualifier, getAllSeqs, getIndexOfNode, getLeaves, getLength, getNodeAt, getNodeCount, getNodes, getNodesOfType, getNodesWithQualifier, getNodesWithQualifier, getNodeWithId, getPosition, getPredecessors, getSequence, getSequenceBuc, getSequences, getType, indexToAddNode, isLinear, orderSequences, recurNodeSearch, recurSeqSearch, removeAllNodes, removeNode, setSequence, sortNodes, update, write |
| Methods inherited from class gov.sns.xal.smf.AcceleratorNode |
channelSuite, clear, getAccelerator, getAlign, getAndConnectChannel, getAper, getBucket, getBuckets, getChannel, getHandles, getId, getParent, getPosition, getStatus, getTwiss, getValid, hasBucket, hasParent, isKindOf, isMagnet, lazilyGetAndConnect, removeFromParent, setAccelerator, setAlign, setAper, setLength, setParent, setPosition, setStatus, setTwiss, setValid, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected double m_dblBeamCharge
protected double m_dblQ2M
protected double m_dblEr
| Constructor Detail |
public AcceleratorSector(java.lang.String strId)
public AcceleratorSector(java.lang.String strId,
int intReserve)
| Method Detail |
public double getChargeSignum()
public double getCharge2Mass()
public double getRestEnergy()
public void setCharge2Mass(double dblQ2M)
public void setChargeSignum(double dblSgn)
public void setRestEnergy(double dblEr)
public boolean addNode(AcceleratorNode node)
addNode in class AcceleratorSeqnode - node to be appended to Sector
public AcceleratorSeq concatenate(AcceleratorSector sec)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||