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

Question histograms 

Forum: Analysis
Date: 16 Jul, 2013
From: sergi <sergi>

Dear Geant4 Users,

I have created correctly some histograms but i have some questions about the meaning of the plots. I have created these histograms:

 analysisManager->CreateH1("1","Energy deposited on Silicon",100,0.,2*MeV);
 analysisManager-> CreateH1("2","Energy deposited on boron",100,0.,2*MeV);

My first question is what it means "nbins" ? I've put a value of 100 but I don't really understand what it means.

These histograms are created correctly but, in the plot's legend I have the word "entries". I don't understand why the value of entries is not exactly equal to the particles that I throw (/run/beamOn ).

I attached my eventAction class and my runAction class in order to show how I fill these histograms


I will be very grateful if any of you could help me with these questions. Thank you very much. Best regards, Esteban

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

1 None: Re: histograms   (Ivana Hrivnacova - 28 Aug, 2013)
 Add Message Add Message
to: "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 ]