|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dwvisser.nuclear.TUNL_PID
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 |
TUNL_PID.FileOpenAction
|
class |
TUNL_PID.FileQuitAction
|
Constructor Summary | |
TUNL_PID(java.lang.String name)
This code calculates PID plots for the TUNL Enge spectrograph focal plane detector. |
Method Summary | |
void |
addReaction(Nucleus target,
Nucleus projectile,
int Qprojectile)
|
void |
calculateElosses()
Calculate and tabulate energy losses in various detector segments |
void |
calculateRhoValues()
Determine possible sets of rho values for various reactions and tabulate them, based on kinematics. |
void |
initialize(Nucleus beam,
double Tbeam,
double Bfield,
double angle,
double rhoMin,
double rhoMax,
double pressure)
Sets initial values. |
static void |
main(java.lang.String[] args)
|
void |
outputPaw(java.io.File path,
java.lang.String outName)
Produces a text file in the .kumac format, which can be run by the PAW program from CernLib to produce screen graphics and postscript files. |
void |
setScintFoil()
|
void |
setupGas()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TUNL_PID(java.lang.String name)
This code calculates PID plots for the TUNL Enge spectrograph focal plane detector. The energy loss regions used for calculation are as follows:
name
- the name of the input specification fileMethod Detail |
public void initialize(Nucleus beam, double Tbeam, double Bfield, double angle, double rhoMin, double rhoMax, double pressure)
beam
- species of beamTbeam
- kinetic energy in MeVBfield
- of spectrometer in kGangle
- of spectrometer in degreesrhoMin
- lower limit of detector radiusrhoMax
- upper limit of detector radiuspressure
- gas pressure in torrpublic void setScintFoil() throws NuclearException
NuclearException
public void setupGas() throws NuclearException
NuclearException
public void addReaction(Nucleus target, Nucleus projectile, int Qprojectile) throws java.lang.Exception
java.lang.Exception
public void calculateRhoValues()
public void calculateElosses()
public void outputPaw(java.io.File path, java.lang.String outName) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args)
args
- the command line arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |