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

Nested Class Summary
 class FocalPlanePlot.FileOpenAction
           
 class FocalPlanePlot.FilePageSetupAction
           
 class FocalPlanePlot.FilePrintAction
           
 class FocalPlanePlot.FileQuitAction
           
 
Field Summary
 double rhoMax
           
 double rhoMin
           
 
Constructor Summary
FocalPlanePlot(java.lang.String name)
          Creates new PIDsimulation.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
           
 void addReaction(Nucleus target, Nucleus projectile, int Qprojectile)
           
 double getRhoMax()
           
 double getRhoMin()
           
 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)
           
 void setBlockerFoil(Absorber a)
           
 void setEntranceFoil(Absorber a)
           
 void setExitFoil(Absorber a)
           
 void setScintFoil(Absorber a)
           
 void setupGas()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rhoMin

public double rhoMin

rhoMax

public double rhoMax
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
pressure - 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