CALL HUNPAK (ID,CONTEN*,CHOICE,NUM)
Action: Transfer the contents of a histogram or a selected projection of a 2-dimensional histogram into the local array.
CHOICE=' '
is equivalent to 'HIST'
.
NUM=0
, it is assumed to be 1
.
DIMENSION CONTEN(NX)
in the 1-dimensional case and
DIMENSION CONTEN(NX,NY)
in the 2-dimensional case.
HIVARIAB = HI (ID,I)HIJVARIAB = HIJ (ID,I,J)
Action: These functions return the channel contents in a given histogram bin in the 1-dimensional and 2-dimensional case respectively.
HIJ
only)
I, J
are zero, then HI/HIJ
returns the number of underflows
NX, NY
are respectively the number of channels in X
and
Y
and
I=NX+1, J=NY+1
, then HI/HIJ
returns the number of overflows
HXVARIAB = HX (ID,X)HXYVARIAB = HXY (ID,X,Y)
Action:
These functions return the channel contents in a given histogram of the bin
which contains a given value in X
(1-dimensional case) or
a given pair of (X,Y)
(2-dimensional case).
HXY
only)