Interface TrackInitialCondition
-
- All Known Implementing Classes:
TrackInitialConditionImpl
public interface TrackInitialCondition
Defines initial values to enter tracking module. All values have default
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getDeltaP()
boolean
isCheckAperture()
boolean
isCreateLossParticleFile()
boolean
isOnePass()
boolean
isOneTable()
boolean
isQuantumExcited()
boolean
isSynchrotronDamped()
boolean
isWriteAtEachTurn()
void
setCheckAperture(boolean aperture)
void
setCreateLossParticleFile(boolean recloss)
void
setDeltaP(double deltap)
void
setOnePass(boolean onePass)
void
setOneTable(boolean onetable)
void
setQuantumExcited(boolean quantum)
void
setSynchrotronDamped(boolean damp)
void
setWriteAtEachTurn(boolean dump)
-
-
-
Method Detail
-
setOnePass
void setOnePass(boolean onePass)
- Parameters:
onePass
- if true, no stability test, ie. no closed-orbit search (default false);
-
isOnePass
boolean isOnePass()
- Returns:
- if true, no stability test, ie. no closed-orbit search
-
setWriteAtEachTurn
void setWriteAtEachTurn(boolean dump)
- Parameters:
dump
- If true, write the particle coordinates in files (default false)
-
isWriteAtEachTurn
boolean isWriteAtEachTurn()
- Returns:
- If true, write the particle coordinates in files
-
setDeltaP
void setDeltaP(double deltap)
- Parameters:
deltap
- relative momentum offset for reference closed orbit (default 0.0)
-
getDeltaP
double getDeltaP()
- Returns:
- relative momentum offset for reference closed orbit
-
setSynchrotronDamped
void setSynchrotronDamped(boolean damp)
- Parameters:
damp
- I true, introduce synchrotron damping (default false)
-
isSynchrotronDamped
boolean isSynchrotronDamped()
- Returns:
- I true, introduce synchrotron damping
-
setQuantumExcited
void setQuantumExcited(boolean quantum)
- Parameters:
quantum
- If true, introduce quantum excitation (default false)
-
isQuantumExcited
boolean isQuantumExcited()
- Returns:
- If true, introduce quantum excitation
-
setCheckAperture
void setCheckAperture(boolean aperture)
- Parameters:
aperture
- If true, particles are lost if their trajectories are outside the aperture of the current element (default false)
-
isCheckAperture
boolean isCheckAperture()
- Returns:
- If true, particles are lost if their trajectories are outside the aperture of the current element
-
setOneTable
void setOneTable(boolean onetable)
- Parameters:
onetable
- write all particle coordinates in a single file (default true)
-
isOneTable
boolean isOneTable()
- Returns:
- write all particle coordinates in a single file
-
setCreateLossParticleFile
void setCreateLossParticleFile(boolean recloss)
- Parameters:
recloss
- If true, creates a file with coordinates of lost particles (default false)
-
isCreateLossParticleFile
boolean isCreateLossParticleFile()
- Returns:
- If true, creates a file with coordinates of lost particles
-
-