Bug in integer profile histos


PAW version:2.09/18
Description
Bug found and fixed by Kees van der Poel (Kees.van.der.Poel@nikhef.nl):

I use integer profile histograms (chopt='I') for plotting efficiencies. But I found that the errors were really big, so I checked in the 97a source code (the CERNLIB version I am using) how the errors are calculated. In the routine hcx.F the errors and values are calculated. But there are inconsistencies between manual (4.23 and 4.24 version) and code (also for the 98 version):

  1. In the manual is stated for the three options for S=0, N>0 while in the code this is done for S=0, N>=1
  2. The errors for the option 'I' for S.ne.0 in the manual S/sqrt(N), but in the code S.

This last error caused my big errors for the integer histograms.

Fixed in: HBOOK 4.25/00
Workaround
None


Release NotesKnown bugsFAQsContributionsTutorialReference manualDown loadMiscellaneous

Paw.Support@cern.ch