Filling

[HFILLSEC]

                      +----------------------------+
                      | CALL  HFILL (ID,X,Y,WEIGHT) |
                      +----------------------------+
                                  

Action: Fills a 1-dimensional or a 2-dimensional histogram. The channel which contains the value X and for two-dimensionals the cell that contains the point (X,Y), gets its contents increased by WEIGHT. All booked projections, slices, bands, are filled as well.

Input parameter(s)

ID
histogram identifier
X
value of the abscissa
Y
value of the ordinate
WEIGHT
event weight (positive or negative)

Remarks:

  1. If one full word per channel is reserved at booking time, WEIGHT is taken with its floating point value. In case of packing (i.e. more than one channel per word), WEIGHT must be positive and will be truncated to the nearest integer (WEIGHT<0 will give meaningless results)
  2. See section [more info] on page [more info] for alternative filling routines.