Handling Sensitive DETector Digitisation parameters

+-------------+                                               +----------##
| Geant 3.10  |               GEANT User's Guide              | HITS120  ##
+-------------+                                               +----------##
                                   

Author(s) : R.Brun Submitted: 01.11.83 Origin : Same Revised: 28.04.86

     +--------------------------------------------------------------+
     |CALL GSDETD (IUSET,IUDET,ND,NAMESD,NBITSD) |
     +--------------------------------------------------------------+
                                  

Defines digitisation parameters for detector IUDET of set IUSET.

IUSET
user set identifier
IUDET
user detector identifier
ND
number of elements per digitisation
NAMESD
the ND variable names for the digitisation elements
NBITSD
the ND bit numbers for packing the variable values.

The routine is used at initialisation time once the geometrical volumes have been defined to describe the digitisation elements and the way to do packing in memory and on tape. Let us use the same example as in GSDETH. The non geometrical information we want to store for each digitisation is for example:

  1. ADC pulse height in a lead glass block.

Example of one digitisation in that scheme:

      EPHI 12
      EZRI 41
      BLOC  3
      ADC  789

The FORTRAN coding to define the digitisation information could be:

     DATA NAMESD/'ADC '/
     DATA NBITSD/16/
     CALL GSDETD('ECAL','BLOC',1,NAMESD,NBITSD)

   +------------------------------------------------------------------+
   | CALL GFDETD (IUSET,IUDET,ND*,NAMESD*,NBITSD*) |
   +------------------------------------------------------------------+
                                  

Returns the digitisation parameters for detector IUDET of set IUSET. All arguments as explained in GSDETD.