The common blocks described above use the C language naming conventions. For accessing these blocks from Fortran, it is necessary to use a completely different set of names.
The Fortran name for the common blocks described above are as follows:
C Fortran SFPARAM fgsfparam FIBER fgfib IIT_PIXEL fgiitp IIT_CLUSTER fgiitc FIBER_CLUSTER fgfibc IIC_FUNCS fgiicfuncs FCFUNCS fgfcfuncs FIBER_OVERALL fgfiboa FIBER_TRACK fgfibt
The variables in each of these common blocks takes the form <common block name>_<C name>. For example, the variable ixy in the C common block FIBER becomes fgfib_ixy in Fortran.
Unfortunately, this tends to make some Fortran variable names very long, so, in some cases a shortened form of the C name is used. For example, the FIBER_OVERALL variable num_pixel_hits in C is referred to as fgfiboa_nph in Fortran.
A complete list of the correspondence between C and Fortran naming conventions is available in the file sfdata.ch. This file contains the C names at the top of the file, with the corresponding fortran names listed below.