public final class AcceleratorSector extends AcceleratorSeq
Modifier and Type | Field and Description |
---|---|
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
|
_sequences, m_arrNodes, m_bucSequence, nodeTable, s_strType
channelSuite, m_bolIsSoft, m_bolStatus, m_bolValid, m_bucAlign, m_bucAper, m_bucTwiss, m_dblLen, m_dblPos, m_dblS, m_mapAttrs, m_objAccel, m_seqParent, m_strEId, m_strId, m_strPId
Constructor and Description |
---|
AcceleratorSector(java.lang.String strId)
Creates a new instance of AcceleratorSector
|
AcceleratorSector(java.lang.String strId,
int intReserve)
Creates a new instance of AcceleratorSector
|
Modifier and Type | Method and Description |
---|---|
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
|
addBucket, addNodeAt, addSequenceChain, addSoft, appendNodesOfClassWithQualifier, appendNodesWithQualifier, canPrecede, contains, dataLabel, filterNodesByClass, filterNodesByStatus, formsRing, getAllInclusiveNodes, getAllInclusiveNodes, getAllInclusiveNodesWithQualifier, getAllNodes, getAllNodes, getAllNodesOfType, getAllNodesWithQualifier, getAllSeqs, getDistanceBetween, getEntranceID, getIndexOfNode, getLeaves, getLength, getNodeAt, getNodeCount, getNodes, getNodes, getNodesOfClassWithQualifier, getNodesOfClassWithQualifier, getNodesOfClassWithStatus, getNodesOfType, getNodesOfType, getNodesWithQualifier, getNodesWithQualifier, getNodeWithId, getPosition, getPredecessors, getPrimaryAncestor, getRelativePosition, getRelativePosition, getSequence, getSequenceBuc, getSequences, getSequences, getShortestRelativePosition, getType, indexToAddNode, isLinear, orderSequences, recurNodeSearch, recurSeqSearch, removeAllNodes, removeNode, setSequence, sortNodes, sortNodesByProximity, sortNodesByRelativePosition, update, write, writeDeeply
channelSuite, clear, findChannel, getAccelerator, getAlign, getAndConnectChannel, getAper, getBucket, getBuckets, getChannel, getDesignPropertyValue, getEId, getHandles, getId, getLivePropertyChannels, getLivePropertyValue, getParent, getPId, getPitchAngle, getPosition, getRollAngle, getSDisplay, getSoftType, getStatus, getTwiss, getValid, getXOffset, getYawAngle, getYOffset, getZOffset, hasBucket, hasParent, isKindOf, isMagnet, lazilyGetAndConnect, removeFromParent, setAccelerator, setAlign, setAper, setLength, setParent, setPitchAngle, setPosition, setRollAngle, setSDisplay, setStatus, setTwiss, setValid, setXOffset, setYawAngle, setYOffset, setZOffset, toString
protected double m_dblBeamCharge
protected double m_dblQ2M
protected double m_dblEr
public AcceleratorSector(java.lang.String strId)
public AcceleratorSector(java.lang.String strId, int intReserve)
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 AcceleratorSeq
node
- node to be appended to Sectorpublic AcceleratorSeq concatenate(AcceleratorSector sec)