I am a beginner. I want to simulate scintillator response of gamma rays;
(a) gamma transport simulation
(b) light transport simulation
(c) convolution of a detector dependent resolution to the simulation response. For that I am trying to plot dN/dE Vs Energy graph.
I already plot he particle fluence and energy deposition using USRBIN cards. also plot USRTRACK graph.
But I have no idea of how to use EVENTBIN card with TCQUENCH.
I find that there are only a few words about eventbin, I have difficulty of learning it. I lack knowledge of EVENTBIN card, can you can tell me some experience of using it?
Dear @nadeeraBUL2020,
I guess that you managed to calculated the energy deposited on average in the detector by your gamma ray source, thanks to USRBIN per region.
I understand you aim now to calculate the energy deposition spectrum. To this purpose, rather than EVENTBIN (requiring your own post-processing), you may profit from DETECT, which was discussed in several posts on this forum.
As a more complex step, energy deposition scoring can be altered run-time by any response function (as the Birks law applied automatically to USRBIN/EVENTBIN by TCQUENCH) that one can implement on his own in the comscw.f user routine.
The explicit generation of scintillation photons, as a result of energy deposition in scintillator materials, is also possible, thanks to OPT-PROD, but is far from being a beginner task.