Replies: 1 comment
|
GEARS provides two ways to achieve this. One is to record total energy deposition in a volume in a ntuple for offline histograming. The other is to use scorer as you mentioned, which generates a histogram with predefined binning. Option 1 working example: https://github.com/jintonic/gears/tree/master/tutorials/output Option 1 documentation:
Option 2 working example:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
My short term goal in learning gears is to make a simple CsI detector and generate a spectrum of energy deposited, e.g. a histogram of N(E) vs E. From some things written in the paper describing GEARS, it sounds like this should be possible, but I haven't found a working example that does this. Looking at the Geant4 documentation on doing scoring from the command UI, I have not gotten any further.
Barring being able to generate a histogram directly, if there's a way to dump energy deposited event-by-event, can can build a histogram offline.
Any help/input appreciate,
-Paul
All reactions