crange-1.6.2
|
Thank you for choosing the Berkeley Range-Energy Calculator.
crange should run on any POSIX-based system that has the appropriate libraries installed (see Prerequisites).
The GNU Scientific Library (http://www.gnu.org/s/gsl/) is required. This code was most recently tested with version 1.15, though any version with full complex variable support should work.
The iniParser Library (http://ndevilla.free.fr/iniparser/), version 3.0 or later is strongly recommended. The code will still compile if it is not installed, but the resulting binary will not be able to read optional target or switch information, so only compiled-in defaults will be available.
See the INSTALL file.
Type crange -h to get the list of command-line options.
The crange program executes a list of tasks from a file. Here's an example:
r 1200 0 92 238 Al e 0 9.2 79 197 CR-39 e 10600 9.2 79 197 CR-39 d 10600 0 79 197 Air d 10600 300 79 197 Air j 10600 0 79 197 Air
The first line tells the calculator to compute the range (in g cm-2) of uranium (Z=92,A=238) at a kinetic energy of 1200 MeV per nucleon, in an aluminum target. The second line tells the calculator to compute the initial kinetic energy (in A MeV) of gold (Z=79,A=197) whose range in the plastic track-etch detector CR-39 was 9.2 g cm-2. The third line asks for the final kinetic energy after passing through 9.2 g cm-2 of CR-39, given an initial energy of 10.6 A GeV. The fourth line tells the calculator to compute dE/dx (in A MeV g-1 cm2) for gold with kinetic energy 10.6 A GeV in air. The fifth line computes REL instead of dE/dx with the REL cutoff set to 300 eV. The sixth line computes primary ionization. Arguments which are zero (0) are dummies which are necessary for place-holding.
The list of tasks may be of any length in any combination of ranges, energies or dE/dx. The order of the output will be the same as the order of the input.
The switch.ini file included with the source distribution shows the effects that may be turned on or off by the user. The values in the switch.ini file are the default values that are compiled into the program. The user may supply a modified switch.ini file on the command line. There are additional details in the file itself.
The target.ini file included with the source distribution lists the targets that are compiled in to the program by default. Most of the target data is taken from Sternheimer, Berger & Seltzer, [22]. The definitions of the material properties are in the target.ini file. The user may add additional targets or override existing target values by supplying a different target.ini file (with the same format!) on the command line.
Visit http://sdss.physics.nyu.edu/~bw55/dedx/ .