Message: Re: Recording incident spectrum Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Recording incident spectrum 

Forum: Hits, Digitization and Pileup
Re: Question Recording incident spectrum (Andrew)
Date: 07 Jan, 2012
From: michel maire <michel maire>

On Fri, 06 Jan 2012 21:29:56 GMT, Andrew wrote:
> Hello, I have a seemingly simple problem. I have a simulation which
> consists of an air filled sphere. I trigger a point source of gammas at
> the center of the sphere and I would like to record the spectrum at a
> few different radii in the following format: x-coord, y-coord, z-coord,
> xmomentum, ymomentum, zmomentum, energy, particle type
> 
> Can this be done in SteppingAction? Is there an example which records
> spectra like this? If I set the verbose output on the screen, I can see
> all of these parameters, but I would like to only record them in thin
> "detector shells" at different radii. Could someone please give me some
> advice or example code. I have been scratching my head over this the
> past week.
> 

 See Frequently Asked Question :
 http://geant4.cern.ch/support/faq.shtml#TRACK-1

 There are recording informations in many examples; see novice/N02, N03,
 extended/electromagnetic/TestEm7, 11 ... and many others ...

 Add Message Add Message
to: "Re: Recording incident spectrum"

 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 ]