Class DynapTask
- java.lang.Object
-
- cern.accsoft.steering.jmad.kernel.AbstractJMadExecutable
-
- cern.accsoft.steering.jmad.kernel.task.AbstractTask
-
- cern.accsoft.steering.jmad.kernel.task.track.DynapTask
-
- All Implemented Interfaces:
JMadExecutable
public class DynapTask extends AbstractTask
Execute a Dynap task and if an outputFile is define write the result to it. Note : if dynapResultRequest.isFastTune() only the tunes of the particles are written
-
-
Constructor Summary
Constructors Constructor Description DynapTask(TrackInitialCondition init, DynapResultRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<Command>
getCommands()
has to be implemented in subclass in order to retrieve the commandsDynapResultRequest
getDynapResultRequest()
ResultType
getResultType()
TheResultType
which is produced by this command.TrackInitialCondition
getTrackInitialCondition()
-
Methods inherited from class cern.accsoft.steering.jmad.kernel.task.AbstractTask
compose
-
Methods inherited from class cern.accsoft.steering.jmad.kernel.AbstractJMadExecutable
getOutputFile, setOutputFile
-
-
-
-
Constructor Detail
-
DynapTask
public DynapTask(TrackInitialCondition init, DynapResultRequest request)
-
-
Method Detail
-
getCommands
protected java.util.List<Command> getCommands()
Description copied from class:AbstractTask
has to be implemented in subclass in order to retrieve the commands- Specified by:
getCommands
in classAbstractTask
- Returns:
- the ArrayList of commands
-
getDynapResultRequest
public DynapResultRequest getDynapResultRequest()
-
getTrackInitialCondition
public TrackInitialCondition getTrackInitialCondition()
-
getResultType
public ResultType getResultType()
Description copied from class:AbstractJMadExecutable
TheResultType
which is produced by this command. This value is then used by the kernel, in order to determine which parser to use to determine the type of parser to use for parsing the madx-output.Shall be overridden by subclass, if it provides a result.
- Specified by:
getResultType
in interfaceJMadExecutable
- Overrides:
getResultType
in classAbstractJMadExecutable
- Returns:
- the result type for this executable
-
-