dwvisser.nuclear
Class FocalPlanePlot
java.lang.Object
|
+--dwvisser.nuclear.FocalPlanePlot
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, RadiusRange
- public class FocalPlanePlot
- extends java.lang.Object
- implements RadiusRange, java.awt.event.ActionListener
This class will execute a process to simulate the focal plane detector.
It is based on the code written by Kazim Yildiz for the Vax machines,
which are now dying. It was too difficult and time-consuming to figure
out why Kazim's code wouldn't run properly on the Solaris machines.
- Version:
- 1.0
- Author:
- Dale W Visser
Constructor Summary |
FocalPlanePlot(java.lang.String name)
Creates new PIDsimulation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rhoMin
public double rhoMin
rhoMax
public double rhoMax
FocalPlanePlot
public FocalPlanePlot(java.lang.String name)
- Creates new PIDsimulation.
initialize
public void initialize(Nucleus beam,
double Tbeam,
double Bfield,
double angle,
double rMin,
double rMax,
double pressure)
- Sets initial values. Assumes isobutane gas in the detector.
- Parameters:
beam
- species of beamTbeam
- kinetic energy in MeVBfield
- of spectrometer in kGangle
- of spectrometer in degreespressure
- gas pressure in torr
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ae)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
setEntranceFoil
public void setEntranceFoil(Absorber a)
setBlockerFoil
public void setBlockerFoil(Absorber a)
setExitFoil
public void setExitFoil(Absorber a)
setScintFoil
public void setScintFoil(Absorber a)
setupGas
public void setupGas()
throws NuclearException
NuclearException
addReaction
public void addReaction(Nucleus target,
Nucleus projectile,
int Qprojectile)
throws NuclearException
NuclearException
getRhoMin
public double getRhoMin()
- Specified by:
getRhoMin
in interface RadiusRange
getRhoMax
public double getRhoMax()
- Specified by:
getRhoMax
in interface RadiusRange
main
public static void main(java.lang.String[] args)
- Parameters:
args
- the command line arguments