gov.sns.xal.model.source
Interface RfGapDataSource

All Superinterfaces:
IModelDataSource
All Known Implementing Classes:
RfGap

public interface RfGapDataSource
extends IModelDataSource

Specifies interface for sources used to construct RfGap elements.


Method Summary
 double getGapLength()
          the gap cell length (m)
 double getGapOffset()
          returns the offset of the gap center from the cell center (m) these may be different e.g.
 UnivariateRealPolynomial getSFit()
          returns a polynomial fit of the S factor vs.
 UnivariateRealPolynomial getSPrimeFit()
          returns a polynomial fit of the S-prime vs.
 double getStructureMode()
          returns 0 if the gap is part of a 0 mode cavity structure (e.g.
 UnivariateRealPolynomial getTTFFit()
          returns a polynomial fit of the TTF vs.
 UnivariateRealPolynomial getTTFPrimeFit()
          returns a polynomial fit of the TTF-prime vs.
 boolean isFirstGap()
          returns true if this is the first gap in a multi cell cavity
 

Method Detail

isFirstGap

public boolean isFirstGap()
returns true if this is the first gap in a multi cell cavity


getGapLength

public double getGapLength()
the gap cell length (m)


getGapOffset

public double getGapOffset()
returns the offset of the gap center from the cell center (m) these may be different e.g. for a DTL cavity


getTTFFit

public UnivariateRealPolynomial getTTFFit()
returns a polynomial fit of the TTF vs. beta


getTTFPrimeFit

public UnivariateRealPolynomial getTTFPrimeFit()
returns a polynomial fit of the TTF-prime vs. beta


getSFit

public UnivariateRealPolynomial getSFit()
returns a polynomial fit of the S factor vs. beta


getSPrimeFit

public UnivariateRealPolynomial getSPrimeFit()
returns a polynomial fit of the S-prime vs. beta


getStructureMode

public double getStructureMode()
returns 0 if the gap is part of a 0 mode cavity structure (e.g. DTL) returns 1 if the gap is part of a pi mode cavity (e.g. CCL, Superconducting)