The current Makefiles will remove the temporary files
[lib/[arch]/*.f files before executing gbrahms.bld. Note this kind of
files only exists in the directory in case of a failed compilation
Internal organization of code.
Materials and tracking media
All tracking materials and tracking media are referred to internally using symbolic names, defined via fortran parameter statements. Thus the author of a detector
need not be concerned with the actual numbering. As an example Aluminum is defined by the name med_al. To see what names already have been defined one must examine the files umate.f and umedia.f in the directory src/user and the include files
umate.inc and umedia.inc in the directory inc.
These are the only files which should be modified if a new material is needed.
To see interactively what materials are already defined use the command
CONT/PRINT TMED 0.
Detector code
The code used to define a given detector is in most cases located in a few files only. The detector is found under one of the catagories
- mids : Mid rapidity spectrometer
- fms1 : Front Forward spectrometer
- fms2 : Back Forward spectrometer
- global : Global detectors
For each detector global variables are defined in geo_[detector].inc, the
variables are set to default values ie. initialised in bd_[detector].F
and the geometry layout in eg_[detector].F
Code depositories
The code is now maintained using the CVS code manager.The master CVS
repository is on the RHIC /afs directory. In order to checkout the
code and work on it you must
- Have an account on the RHIC cluster.
- be registered with an afs account.
- be a member of the rhbrahms group.
- be a member of the bramhsoft afs-group (see McBreen, FV) .
This should only be done if you want to modify the existing code. If
the purpose is to run GBRAHMS the released version on the afs disks
should be accessed. Those directories do also have complete listings.