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 commandsDynapResultRequestgetDynapResultRequest()ResultTypegetResultType()TheResultTypewhich is produced by this command.TrackInitialConditiongetTrackInitialCondition()-
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:AbstractTaskhas to be implemented in subclass in order to retrieve the commands- Specified by:
getCommandsin classAbstractTask- Returns:
- the ArrayList of commands
-
getDynapResultRequest
public DynapResultRequest getDynapResultRequest()
-
getTrackInitialCondition
public TrackInitialCondition getTrackInitialCondition()
-
getResultType
public ResultType getResultType()
Description copied from class:AbstractJMadExecutableTheResultTypewhich 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:
getResultTypein interfaceJMadExecutable- Overrides:
getResultTypein classAbstractJMadExecutable- Returns:
- the result type for this executable
-
-