next up previous contents
Next: Detector Elements Up: Software Rules Previous: Software Rules   Contents

Interface

The core geometry, which cannot be disabled, consists of:-

D2O
ACRV
H2O
PMT_H2O
PAN_ZONE
PMT_*
OUT_DARK

see:-

Companion/Id Codes/Regions
All other regions are optional and can be disabled and so must be tested. There are two possibilities:-
  1. Caller checks if region enable before calling it.
  2. Called region does null return if disabled.

1) is better as, if region is disabled, it avoids an unnecessary call. So if calling a region that can be disabled the caller MUST check before calling. For example to see if the belly plates are enabled:-

  include 'ge_mnemonics.inc'
  include 'ge_titles.inc'
.
.
.
  if (icons(ldgeds_bly_plate + KGEDS_ENB) .eq. KGE_ENABLED
+    ) call ged_bly_plate



sno Guest Acct 2009-09-09