next up previous index
Next: HITS130 User detector Up: HITS120 DETector Digitisation Previous: HITS120 DETector Digitisation

Example

Following on from the example in [HITS110], we want to add the digitisation information to detector EPHI of set ECAL. The information which should be stored for each digitisation is the ADC pulse height in the lead glass block, so that a digitisation in this scheme could look like:

Element Value
EPHI 12
EZRI 41
BLOC 3
ADC 789

The code to define the digitisation information could be:

     CHARACTER*4 CHNMSD
     DATA CHNMSD/'ADC '/ 
     DATA NBITSD/16/    
 
     CALL GSDETD('ECAL','BLOC',1,CHNMSD,NBITSD)

CALL GFDETD (CHSET,CHDET,ND*,CHNMSD*,NBITSD*) Returns the digitisation parameters for detector CHDET of set CHSET. All arguments as explained in GSDETD.

HITS130


Janne Saarela
Mon Apr 3 12:46:29 METDST 1995