previous next Up Title Contents Index

Constant file.CST

F This file is required ONLY if the user intends to write one of the user routines.
The intention of the constant file is to group together all parameters used in any user routine, such as particle masses, geometric dimensions, calibration parameters, etc. This allows the user to quickly modify any of these parameters while a run is in progress ([Q] cst). If the user wants to add a new parameter name to the constant list, he must recompile (QFALL) the user routines to install the change, and then relink SusiQ to generate a new image file. This procedure is described in Compilation & Linking procedures. This file has also been used for lookup table declarations for chamber channel unscrambling. These tables can be accessed by any user routine if the constant include file is present. The names of the 4 available tables are : LOOKUP(x,128), where x goes from 1 to 4. Each table can have a maximum of 128 elements. Each table should be separated from the next one by a star '*' or by an equal sign '=' for the last declared table. The constant listing will then follow after the equal sign '=' with one constant declaration per line as : <parameter_value> <parameter_name>.This array can also be used by the user as common memory space within SusiQ between the different user routines. Be aware, however, that every time the command [Q] CST is performed, file.CST will be reread and will overwrite the contents of the array.



previous next Up Title Contents Index