|Message: Problems with spectrum of multipeaks source||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Hi everyone !
I'm trying to simulate my 3'' NaI detector (using the exGPS exemple as start point) with quite good results, but as I try to improve my simulation, I'm getting stuck with the source simulation.
On the first part, if I manually simulate a 60Co source with the PGA, ie by invoking the particleGun->GeneratePrimaryVertex(anEvent) command for each peak and adding a gaussian distribution on the energies to simulate the detector's resolution, I obtain a good spectrum with all the structures (compton edges, compton region), but if I want to simulate a multipeak source which has not all its branching ratio equal to one, I'm screwed. I tried to « play » with the Weight factor (while using the PGA) and a ''if'' condition over the initial kinetic energy (obtened with the aTrack->GetVertexKineticEnergy() command), but all I achieved was to summon a « batman head » on one my spectrum (see the attached file).
On the other part, I've read that it may be easier to use an Ion source and let Geant4 do the work, instead of emmitting gammas at required energies. When I apply this method (using the physics code from the rdecay02 exemple), I can't use my energy broadening anymore, which makes my simulation obsolete (my spectrum is "too perfect" for NaI detector)!
Does anyone have any solution for either of those cases ?
Thanks a lot.
Attachment: http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2011/01/20/08.26-59581-um_60Co_un-Weighted.png http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2011/01/20/08.26-95209-ctrum_60Co_Weighted.png
|Inline Depth:||Outline Depth:||Add message:|