STAR Computing | Tutorials main page |
Tables in STAF | |
Offline computing tutorial | Maintained by Turner and Wenaus |
Tables are the data structures supported by STAF. They are defined via CORBA IDL and are CORBA-compliant structures analogous to C structures. Any STAF table can be represented as a C structure or a Fortran structure (VMS Fortran), and of course they are made available in these representations; this is how code accesses them. See the idl directory of any domain for examples of table definitions in IDL.
STAF organizes tables into data sets organized in a Unix-like directory tree. A standard directory structure is followed in STAF, below. It is defined in $STAR/kumacs/util/setup.kumac. To get this directory structure you must do the following 2 commands when you start STAF:
macro/global/import *
/dui/run/ -> all data associated with the run /params/detector /geant /dst /dui/event/ -> all data associated with the event /evgen - event generator tables /geant/Event - geant tables /raw_data/detector - data at the detector level /data/detector - processed data /global/dst - dst tables /dui/calib/ -> calibration data that might not be associated with particular run or event /detector