Welcome to the Phobos Multiplicity Reconstruction Package status page
! 30-Dec-98: Changes at BNL that are supposed to strengthen security.
This informal note contains changing information focussed on users of the Multiplicity reconstruction package. The official and authoritative guide to Phat is here. If you need to know how to run the package, look here for Multiplicity guides and here for general Phobos information.
Because there is not now, and probably never will be, a Phobos standard for locations [directory paths] of needed files, you'll need to define the required environment variables PHATHOME and ROOTSYS differently for every site, as listed below.
If you're going to analyze data, you can define the optional variable PHATDATA and derived variables like mdc0 below to simplify entering dataset names.
If you're going to make a version of Phat that includes phatpmc, you'll need to define CERNLIB.
After defining these, you'll need to define the following derived variables:
setenv PATH ${PATH}:${ROOTSYS}/bin:$PHATHOME/bin/`uname`
setenv PHATLIB ${PHATHOME}/lib/`uname`
setenv LD_LIBRARY_PATH ${ROOTSYS}/lib:${PHATLIB}
These definitions can most easily be made in a setup file, say setphat; to activate them in most Unix systems, do source setphat. If you're sure you'll always want them, you can also put them in a login file such as ~/.cshrc .
In this document, the term "work" means that the multiplicity reconstruction package runs and produces sensible plots. More precise benchmarks will be established later. Check individual sites for local peculiarities.
What's where: the sites covered here are BNL, MIT (Abacus), MIT (ppcln), and Rochester. You can also visit the Phobos site for the official list of data files, or return to the top of this document..
Security restrictions make BNL more difficult to work on than other sites. You must first telnet or ssh to rcf.rhic.bnl.gov or rsgi05.rhic.lbnl.gov; these are the only allowed entry points from off-site. The old name rlnx03.rhic.bnl.gov now [30-Dec-98] sometimes works and sometimes doesn't, but it is certain to disappear. You cannot ssh to the CVS server nighthawk.chm.bnl.gov from rlnx03; you must first go back to rcf or rsgi05. You cannot ftp files to or from BNL, and you can only scp to or from rcf and rsgi05. If you want to plot or edit in an X-window, and if you used telnet, you should setenv DISPLAY to your workstation IP address at this point, for example, setenv DISPLAY vbush.lns.mit.edu:0; you should not do that if you used ssh. Now ssh to rlnx03. Do not setenv DISPLAY; let the system set it. For the public version,
setenv PHATHOME /phobos/u/phobos/Phat.13Dec1998
For a privately-maintained version,
setenv PHATHOME /phobos/u/verdier/Phat/CurrentVersion
For both versions,
setenv ROOTSYS /phobos/common/ROOT9/{`uname`}/root
setenv PHATDATA /phobos/u/phobos/PHOBOS_data/pre-mdc2/root/full
setenv CERNLIB /cern/pro/lib
29-Dec-98: there are new datafiles on the CVS server, including the 100-central-event file
/home/phobos/PHOBOS_data/pre-mdc2-2/root/full/hijing_c.root
but they are not mounted on rcf or rlnx03 and, because of the security restrictions noted above, they have not been tested using the multiplicity package.
The following optional definitions simplify entering dataset names:
setenv mdc0 ${PHATDATA}/cv0_all_containers.root
setenv mdcr ${PHATDATA}/cvr_all_containers.root
setenv mdi0 ${PHATDATA}/iv0_all_containers.root
These are Linux versions. On 23-Dec-1998, the private version worked; on 15-Dec-1998, the public version worked. I am working on a way to maintain parallel Linux and SunOS versions.
Use the same environment variables as for the private version on rlnx03.rhic.bnl.gov. If you plan to make a new version on this platform, you'll need to add '/opt/SUNWspro/bin' to your PATH in order to have CC defined, and you must use 'gmake' instead of 'make'.
On 23-Dec-1998, this private SunOS version worked.
setenv PHATHOME /home/verdier/Phat/CurrentVersion
setenv ROOTSYS /home/Root/root
setenv PHATDATA /data04/phobos/olszewsk/exports/pre-mdc2
setenv CERNLIB /cern/pro/lib
setenv mdc0 ${PHATDATA}/cv0_all_containers.root
setenv mdcr ${PHATDATA}/cvr_all_containers.root
setenv mdi0 ${PHATDATA}/iv0_all_containers.root
setenv mdc0x /data02/sim/sim42/cv0_00000.apx
On 22-Dec-1998, this DEC Unix version works.
setenv PHATHOME ~verdier/Phat/NewVersion
setenv ROOTSYS ~manly/root/root
setenv PHATDATA ~verdier/dat
setenv CERNLIB /cern/pro/lib
setenv mdc0 ${PHATDATA}/cv0_all_containers.root
setenv mdcu ${PHATDATA}/cv0_10.root
On 22-Dec-1998, this SunOS version works.
setenv PHATHOME /home/verdier/Phat/CurrentVersion
setenv ROOTSYS /home/Root/root
setenv PHATDATA /mnt/data04/phobos/olszewsk/exports/pre-mdc2
setenv CERNLIB /cern/pro/lib
setenv mdc0 ${PHATDATA}/cv0_all_containers.root
setenv mdcr ${PHATDATA}/cvr_all_containers.root
setenv mdi0 ${PHATDATA}/iv0_all_containers.root
setenv mdc0x /mnt/data02/sim/sim42/cv0_00000.apx
setenv mdcu ~verdier/cv0_10.root
On 22-Dec-1998, this Linux version works.
24-Dec-98: The phat loop crashes getting an event when the multiplicity package is included. This is believed to happen because the Mul component of the phat loop was not updated for two successive changes in the [hardcoded!] names of the HitArrays between August and October 1998; it should be corrected following the current runmul.C script as a guide.
The SunOS C++ compiler produces copious warnings about legal variable and method hiding that don't bother the DEC and Linux compilers. Phobos policy is to try to make code that produces no warnings, and the multiplicity package will gradually be changed to conform.
The 3 top projects as of 24-Dec-98 are:
Improve the quality of the ROOT plots to at least minimally acceptable for publication, including date-stamping and labels, which requires significant changes to the TPhPadMap and TPhMulDisp classes;
Modify the runmul.C script to accept a struct specifying a list of data files to be processed, including data, standard, and Monte Carlo; and
Complete the TPhPadMap streamer functions to speed data readin for tuning energy deposit and secondary fraction parameters.
23-Dec-98: The multiplicity reconstruction package is working at all Phobos development sites, including Krakow.
30-Oct-1998: Problem with hit iterators corrected; tuned for new geometry..
30-Dec-1997: The multiplicity package produces sensible distributions.
Last edited: Wednesday, December 30, 1998 05:26:11 PM by Robin Verdier