November 18, 1997
BNC
Version 1.0
Scott Pratt
National Superconducting Cyclotron Laboratory
Michigan State University, East Lansing, MI 48824
pratt@nscl.msu.edu (517) 333-6438
BNC stands for "burn and crash". This is a thermal model that
adds the effects of scattering. Only hadronic particles are modeled. The list can be found
in the directory 'resonance_info'.
To run BNC, edit the file parameters.h, then type "bnc.com NEVENTS", where
NEVENTS is the number of events to run. One hundred is usually sufficient.
The file 'bnc.com' compiles and runs the program. The source files are in the
'source_codes' directory. They are all written in standard C. You may need to edit the
makefile to correspond to your system's compiler.
For a description of the code, and some of the results, you can view the manuscript
'bnc.ps'.
Unfortunately, I have not had time to restructure the code into a more modular form, and
fully comment it. The 'input_parameters' directory includes parameter sets used to model
Pb+Pb collisions at CERN.
'bnc.com' performs the following actions:
1. It compiles codes and cleans directories.
2. It runs the thermal model, which generates the origin of particles.
3. It runs the cascade portion which also decays the particles.
(Steps 2 and 3 are repeated NEVENTS times)
4. It bins spectra and writes results in the directory 'results'. The
file 'phasespace.dat' in the results directory is in OSCAR format and
can be fed into the correlation routines, CRAB 3.0.
These files are only meant to run under a UNIX shell, and have not been modified to work
under other platforms. They were developed under Windows NT, but through using the BASH
shell (www.cygnus.com/misc/gnu-win32). Interestingly, the speed of the code varied by a
factor of 3 using 3 compilers, (bcc32i, gcc, bcc32). 'bcc32i' was the fastest, and 'bcc32'
was theslowest. These are both compilers that come with Borland C++.
Hopefully, 1998 should see the opportunity to make this set of codes more user friendly.
Files:
version1.tar.gz
bnc.ps, bnc.ps.gz