next up previous contents
Next: Dummying an SU Up: Eliminating the Cost Previous: Eliminating the Cost   Contents


Disconnecting an SU

To disconnect or reconnect an SU, carry out the following steps:-

  1. Edit su_call.inc and comment or uncomment the block of code containing the calls to the SU.

  2. Recompile all routines that use this include file. As all such files have names of the form *_SU_CALL, this can simply be done with:-
    $SNO_TOOLS/compile.scr *_su_call.for (
    or .f)
  3. Rebuild SNOlib:-
    $SNO_TOOLS/update_library.scr

Note: SUs that are not considered to be part of the mainstream Monte Carlo and analysis chain have their sections in su_call.inc controlled by EXTRACT selection switches of the form NO_DISCON_xxx e.g. NO_DISCON_ECA. Consequently, if the standard installation procedure is followed, such SUs will be disconnected automatically. See the Progam Notes section of su_call.inc for a full list of such EXTRACT switches. su_call.inc also contains the switch ANALYSIS_ONLY which, if invoked, disconnects any pure Monte Carlo SU. The default is to include the Monte Carlo. Installers can control the composition of SNOlib automatically by updating the variable SNO_SNOMAN_EXTRACT_SW in the file:-

get_lhost_info.scr


next up previous contents
Next: Dummying an SU Up: Eliminating the Cost Previous: Eliminating the Cost   Contents
sno Guest Acct 2009-09-09