Message: Re: Really confused by the output of csv format histogram. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Really confused by the output of csv format histogram. 

Forum: Analysis
Re: Question Really confused by the output of csv format histogram. (Huagang Yan)
Date: 20 Oct, 2016
From: Guy Barrand <Guy Barrand>

 The cvs "bins part" contains the underflow and overflow bins. For a 1D histo, if you booked n bins, you have
n+2 bins ; and for a 2D histo, if you booked nx x bins and ny y bins, then you have (nx+2)*(ny+2) bins in the
csv file. For a 1D histo, the first bin is the underflow bin, and the last bin is the outflow bin.

 About your "in additions", not so clear what you mean, but look around what may be the outflow/outflows for
you histograms in your analysis.  In particular if, bad booking luck, for a 1D histo all your fill() are "all
underflow", then the total number of entries is in the first bin of the csv file !

 (I never exclude a problem on our side, especially when dealing with IO and storage, then if you suspect that
something is anyway wrong, let us know...)

  Cheers. Guy

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Question: Re: Really confused by the output of csv format histogram.   (Huagang Yan - 04 Nov, 2016)
(_ None: Re: Really confused by the output of csv format histogram.   (Huagang Yan - 04 Nov, 2016)
 Add Message Add Message
to: "Re: Really confused by the output of csv format histogram."

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]