|Message: Re: Geant4 simulation to obtain NaI spectrum (counts vs energy deposited)||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)|
Respected Dr. Aso, Many thanks for your reply. I have tried particle with kinetic energy filter and I do not get Compton edge in my spectrum. Also I need to simulate a detector response for 1000 energy bins, It will be great if you can help me with an example code. I also tried doing following: /score/quantity/energyDeposit edep1 /score/filter/particleWithKineticEnergy f1 0 9.775171e-03 MeV e- /score/quantity/energyDeposit edep2 /score/filter/particleWithKineticEnergy f2 9.775171e-03 1.955034e-02 MeV e- /score/quantity/energyDeposit edep3 /score/filter/particleWithKineticEnergy f3 1.955034e-02 2.932551e-02 MeV e- /score/quantity/energyDeposit edep4 /score/filter/particleWithKineticEnergy f4 2.932551e-02 3.910068e-02 MeV e- /score/quantity/energyDeposit edep5 /score/filter/particleWithKineticEnergy f5 3.910068e-02 4.887586e-02 MeV e- /score/quantity/energyDeposit edep6 /score/filter/particleWithKineticEnergy f6 4.887586e-02 5.865103e-02 MeV e- /score/quantity/energyDeposit edep7 /score/filter/particleWithKineticEnergy f7 5.865103e-02 6.842620e-02 MeV e- Also, please let me know that if I enter: /score/filter/particleWithKineticEnergy f1 0. 1. MeV e- --or-- /score/filter/kineticEnergy range0 0. 1. MeV In the above two lines the range 0-1 MeV, is that energy deposited or Kinetic energy of the incoming particle? Because I need it to be energy deposited in x axis. And In the csv file generated there is a column called 'entries', can that be taken as counts in yaxis? Sir, my final aim is to get Energy deposited vs Counts. I will be very grateful of any insight you can provide me in this regard. Thank you in advance! Best regards, Sanchit Sharma ________________________________ From: Tsukasa Aso <email@example.com> Sent: Wednesday, March 6, 2019 7:17:18 AM To: biasing_scoring-g4hn@SLAC.Stanford.EDU Subject: Re: Geant4 simulation to obtain NaI spectrum (counts vs energy deposited) *** Discussion title: Biasing and Scoring Hi, If you do not want to develop codes for scoring energy spectrum, the straightforward way is to score energy deposit in each energy range. For example, /score/quantity/energyDeposit dep0 MeV /score/filter/kineticEnergy range0 10. 20. MeV /score/quantity/energyDeposit dep1 MeV /score/filter/kineticEnergy range1 20. 30. MeV ...... Best regards ------------------------------------------------------------- Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or unsubscribe) at: http://hypernews.slac.stanford.edu/HyperNews/geant4/get/biasing_scoring/282/1.html [ MIME part of type text/html without a name stripped ]
|Inline Depth:||Outline Depth:||Add message:|