Message: Re: histograms Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: histograms 

Forum: Analysis
Re: Question histograms (sergi)
Date: 28 Aug, 2013
From: Ivana Hrivnacova <Ivana Hrivnacova>

I suggest first to look at a general definition of histogram, eg. in wikipedia:

http://en.wikipedia.org/wiki/Histogram

The "nbins" parameter means the number of intervals (which we usually call bins) in which the total interval <xmin, xmax> will be divided. You can try to run your code with a small number of bins (eg. nbins=5) to see how this parameter is interpreted.

The number of entries represent the number of Fill() calls. In your case it should be equivalent to the number of entries in your hits collections. It need not to be the same as the number of particles which you shoot with /run/beamOn, but it depends on the way how you account your hits.

Best regards,

 Add Message Add Message
to: "Re: histograms"

 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 ]