org.jscience.physics.nuclear.kinematics.nuclear
Class FocalPlanePlot

java.lang.Object
  extended by org.jscience.physics.nuclear.kinematics.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.


Nested Class Summary
 class FocalPlanePlot.FileOpenAction
          DOCUMENT ME!
 class FocalPlanePlot.FilePageSetupAction
          DOCUMENT ME!
 class FocalPlanePlot.FilePrintAction
          DOCUMENT ME!
 class FocalPlanePlot.FileQuitAction
          DOCUMENT ME!
 
Field Summary
 double rhoMax
          DOCUMENT ME!
 double rhoMin
          DOCUMENT ME!
 
Constructor Summary
FocalPlanePlot(java.lang.String name)
          Creates new PIDsimulation.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
          DOCUMENT ME!
 void addReaction(Nucleus target, Nucleus projectile, int Qprojectile)
          DOCUMENT ME!
 double getRhoMax()
          DOCUMENT ME!
 double getRhoMin()
          DOCUMENT ME!
 void initialize(Nucleus beam, double Tbeam, double Bfield, double angle, double rMin, double rMax, double pressure)
          Sets initial values.
static void main(java.lang.String[] args)
          DOCUMENT ME!
 void setBlockerFoil(Absorber a)
          DOCUMENT ME!
 void setEntranceFoil(Absorber a)
          DOCUMENT ME!
 void setExitFoil(Absorber a)
          DOCUMENT ME!
 void setScintFoil(Absorber a)
          DOCUMENT ME!
 void setupGas()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rhoMin

public double rhoMin
DOCUMENT ME!


rhoMax

public double rhoMax
DOCUMENT ME!

Constructor Detail

FocalPlanePlot

public FocalPlanePlot(java.lang.String name)
Creates new PIDsimulation.

Method Detail

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 beam
Tbeam - kinetic energy in MeV
Bfield - of spectrometer in kG
angle - of spectrometer in degrees
rMin - lower limit of detector radius
rMax - upper limit of detector radius
pressure - gas pressure in torr

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
DOCUMENT ME!

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
ae - DOCUMENT ME!

setEntranceFoil

public void setEntranceFoil(Absorber a)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!

setBlockerFoil

public void setBlockerFoil(Absorber a)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!

setExitFoil

public void setExitFoil(Absorber a)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!

setScintFoil

public void setScintFoil(Absorber a)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!

setupGas

public void setupGas()
              throws NuclearException
DOCUMENT ME!

Throws:
NuclearException - DOCUMENT ME!

addReaction

public void addReaction(Nucleus target,
                        Nucleus projectile,
                        int Qprojectile)
                 throws NuclearException
DOCUMENT ME!

Parameters:
target - DOCUMENT ME!
projectile - DOCUMENT ME!
Qprojectile - DOCUMENT ME!
Throws:
NuclearException - DOCUMENT ME!

getRhoMin

public double getRhoMin()
DOCUMENT ME!

Specified by:
getRhoMin in interface RadiusRange
Returns:
DOCUMENT ME!

getRhoMax

public double getRhoMax()
DOCUMENT ME!

Specified by:
getRhoMax in interface RadiusRange
Returns:
DOCUMENT ME!

main

public static void main(java.lang.String[] args)
DOCUMENT ME!

Parameters:
args - the command line arguments