If ZEBRA has already been initialised, HLIMIT must be called with a
negative argument, e.g. CALL HLIMIT(-NWPAW).
+----------------------+
|CALL HLOCAT (ID,LOC*) |
+----------------------+
Action: Returns the pointer in common /PAWC/ to the ZEBRA ([bib-ZEBRA]) structure, which
contains the description of a given histogram.
- Input parameter:
-
- ID
- histogram identifier
- Output Parameter:
-
- LOC
- Pointer to the ZEBRA bank containing the
histogram information.
This routine can be useful to access directly the memory area of a given
histogram, to extract any information that cannot be obtained with the
entries previously described.
Space requirements
The argument NWPAWC must be given a value large enough to accomodate in
memory all histograms (1-D and 2-D) and all Ntuple headers and buffers,
i.e.
NF N1 N2 NT
NWPAWC>10000+ sum S (i) +sum S (i)+sum S (i)+ sum S (i)
i=1 F i=1 1 i=1 2 i=1 N
- NF
- Number of open files
- S (i)
- 100+LREC , where LREC is the buffer size for
F i
file i, as specified in a call to HROPEN.
- N1
- Number of 1-D histograms
- S (i)
- Space occupied by 1-D histogram i, i.e.
1
40+(NCHAN+2)*PACK+IERR*(NCHAN+10)+IFUN*(NCHAN+10)
- NCHAN
- Number of channels in histogram
- PACK
- Packing factor (1. by default). See parameter
HBOOK1.
- IERR
- 1 if HBARX called, 0
otherwise.
- IFUN
- 1 if the histogram has an associated
function ( HFUNC, fits or smoothing)
- N2
- Number of 2-D histograms
- S (i)
- Space occupied by 2-D histogram i, i.e.
2
40+(NCHANX+2)*(NCHANY+2)*PACK + space for projections, slices and
bands (which are 1-D histograms).
- NT
- Number of Ntuples
- S (i)
- Space occupied by headers and buffers of
2
Ntuple i (see routines HBOOKN and HBNT).