next up previous index
Next: Example Up: GEANT Previous: HITS105 Detector aliases

HITS110 DETector hit parameters

Routine ID: HITS110
Author(s): Submitted: 01.11.83
Origin: R.BrunRevised: 17.12.93

CALL GSDETH (CHSET,CHDET,NH,CHNAMH,NBITSH,ORIG,FACT)

CHSET
( CHARACTER*4) set name;
CHDET
( CHARACTER*4) detector name;
NH
( INTEGER) number of the components of a hit;
CHNAMH
( CHARACTER*4) array of NH names for the hit components;
NBITSH
( INTEGER) array of NH, NBITSH(I) ( I=1,...NH) is the number of bits in which to pack the Ith component of the hit;
ORIG
( REAL) array of NH offset applied before packing the hits values;
FACT
( REAL) array of NH scale factors applied before packing the hits values;

Defines hit parameters for detector CHDET of set CHSET. The routine must be called at initialisation time once the geometrical volumes have been defined to describe the hit elements and the way to pack them in the data structure JHITS. The value of the hit before packing is transformed in the following way:

VAL(I) = (HIT(I)+ORIG(I)) x FACT(I)



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