Interface TrackResult
-
- All Superinterfaces:
Result
- All Known Implementing Classes:
TrackResultImpl
public interface TrackResult extends Result
This interface allow to manage data contained in the output of a track task.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(MadxTrackVariable variable, java.lang.Integer particle, java.lang.Double value)Store the value associated to a variable for a particlevoidclear()clear the resultjava.util.List<java.lang.Double>get(MadxTrackVariable variable, java.lang.Integer particle)java.lang.IntegergetParticleCount()-
Methods inherited from interface cern.accsoft.steering.jmad.domain.result.Result
getResultType
-
-
-
-
Method Detail
-
getParticleCount
java.lang.Integer getParticleCount()
- Returns:
- number of particle tracked
-
add
void add(MadxTrackVariable variable, java.lang.Integer particle, java.lang.Double value)
Store the value associated to a variable for a particle- Parameters:
variable-particle- integer associated to the tracked particlevalue-
-
get
java.util.List<java.lang.Double> get(MadxTrackVariable variable, java.lang.Integer particle)
- Parameters:
variable-particle- integer associated to the tracked particle from 0 to getParticleCount()- Returns:
- values associated to a variable for a particle
-
clear
void clear()
clear the result
-
-