Message: Re: Weights in General Particle Source for User defined histograms Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Weights in General Particle Source for User defined histograms 

Forum: Particles
Re: Question Weights in General Particle Source for User defined histograms
Date: 05 Jun, 2015
From: Michael H. Kelsey <Michael H. Kelsey>

On Fri, 05 Jun 2015 07:51:48 GMT, ZachB wrote:
> I am currently trying to input a user defined histogram and the
> documentation tells me that I need the energy of the particle and the
> weight of the particle. I understand energy, but I don't know what it
> means by weight of the particle. Could someone assist? Thanks.
> 
> Documentation I am referring to is found here:
> https://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/ch02s07.html

In section 2.7.2.5 we write,

  "The histogram is loaded, one bin at a time, by using the /gps/hist/point command, followed by its two 
   arguments the upper boundary of the bin and the weight (or area) of the bin."

The weight per bin is just the histogram bin content multiplied by the bin width, normalized to unit integral.

  -- Michael Kelsey

 Add Message Add Message
to: "Re: Weights in General Particle Source for User defined 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 ]