public class SCLCavity extends RfCavity
RfCavity.Property
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
s_strType
identifies this class
|
_gaps, BLANK_BEAM_HANDLE, CAV_AMP_AVG_HANDLE, CAV_AMP_SET_HANDLE, CAV_PHASE_AVG_HANDLE, CAV_PHASE_SET_HANDLE, DELTA_TRF_END_HANDLE, DELTA_TRF_START_HANDLE, m_bucRfCavity, T_DELAY_HANDLE
_sequences, m_arrNodes, m_bucSequence, nodeTable
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 |
---|
SCLCavity(java.lang.String strID)
Constructor
|
SCLCavity(java.lang.String strID,
int arrayReserve)
Primary Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
getAvgTTF(double beta)
Deprecated.
Read the comments about being a hard coded kluge job.
|
double |
getFieldWithCavityOff(double current,
double energy,
double resErr,
double plsWdth)
Deprecated.
This is one of only two methods that uses stuff from outside, and
that stuff is the
sclcavity sub-package which is
completely hard coded for the SNS SCL. We must get rid of
sclcavity . |
double |
getFieldWithCavityOff(double current,
double energy,
double resErr,
double[] plsArry,
double sampleRate)
Deprecated.
This is one of only two methods that uses stuff from outside, and
that stuff is the
sclcavity sub-package which is
completely hard coded for the SNS SCL. We must get rid of
sclcavity . |
double |
getQLoaded() |
double |
getStructureTTF() |
java.lang.String |
getType()
Get this node's type.
|
double |
toCAFromCavAmpAvg(double value)
Convert the cavity amplitude to channel access.
|
double |
toCavAmpAvgFromCA(double rawValue)
Convert the raw channel access value to get the cavity amplitude in MV/m.
|
addBucket, getBlankBeam, getCavAmpAvg, getCavAmpSetPoint, getCavFreq, getCavPhaseAvg, getCavPhaseSetPoint, getDesignPropertyValue, getDfltAvgCavPhase, getDfltAvgCavTTF, getDfltCavAmp, getDfltCavPhase, getGaps, getGapsAsList, getLivePropertyChannels, getLivePropertyValue, getRfField, getRFLength, getSTFFit, getSTFFitEnd, getSTFPrimeFit, getSTFPrimeFitEnd, getStructureMode, getTTFFit, getTTFFitEnd, getTTFPrimeFit, getTTFPrimeFitEnd, publishAmplitude, publishPhase, setBlankBeam, setCavAmp, setCavPhase, setDfltCavAmp, setDfltCavPhase, setRfField, toAvgCavPhaseFromCavPhase, toCAFromCavPhaseAvg, toCavPhaseAvgFromCA, toCenterAvgCavPhaseFromCavPhase, update, updateDesignAmp, updateDesignPhase
addNode, 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, indexToAddNode, isLinear, orderSequences, recurNodeSearch, recurSeqSearch, removeAllNodes, removeNode, setSequence, sortNodes, sortNodesByProximity, sortNodesByRelativePosition, write, writeDeeply
channelSuite, clear, findChannel, getAccelerator, getAlign, getAndConnectChannel, getAper, getBucket, getBuckets, getChannel, getEId, getHandles, getId, 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
public static final java.lang.String s_strType
public SCLCavity(java.lang.String strID, int arrayReserve)
public SCLCavity(java.lang.String strID)
public java.lang.String getType()
public double getStructureTTF()
public double getQLoaded()
@Deprecated public double getFieldWithCavityOff(double current, double energy, double resErr, double plsWdth)
sclcavity
sub-package which is
completely hard coded for the SNS SCL. We must get rid of
sclcavity
.current
- beam current (mA)energy
- beam kinetic energy (MeV)resErr
- cavity resonance error (Hz)plsWdth
- beam pulse width (micro-sec, single number, assume beam is
square wave)@Deprecated public double getFieldWithCavityOff(double current, double energy, double resErr, double[] plsArry, double sampleRate)
sclcavity
sub-package which is
completely hard coded for the SNS SCL. We must get rid of
sclcavity
.current
- beam current (mA)energy
- beam kinetic energy (MeV)resErr
- cavity resonance error (Hz)plsArry
- beam pulse arraysampleRate
- BCM sample rate (micro-sec, single number)public double toCavAmpAvgFromCA(double rawValue)
toCavAmpAvgFromCA
in class RfCavity
rawValue
- the raw channel valuepublic double toCAFromCavAmpAvg(double value)
toCAFromCavAmpAvg
in class RfCavity
value
- the cavity amplitude@Deprecated public double getAvgTTF(double beta)