Gate icon indicating copy to clipboard operation
Gate copied to clipboard

SpectrumActor in vGATE v9.0 is not working

Open GuardiolaC opened this issue 4 years ago • 10 comments

Dear all,

I have started using the vGATE vs9.0 option, but I think that the EnergySpectrumActor is not working there. I have used exactly the same macro in standard GATE versions, e.g. v8.1, and that Actor is properly working there.

In the vGATE vs9.0, it gives me back the Energy spectra arriving to the SV, not the Energy deposited etc as it should. I have double checked it by adding a Phase Space actor in the same position and, effectively, it gives the energy spectra impiging therein, but not the other informations, e.g. the energy deposition per event ('edepHisto'), the energydeposition per track ('edepTrackHisto') etc. I have checked several times by using different energies, positions, etc.

I hope someone can figure it out since I would like to continue using the vGATE. Thanks in advance, Consuelo

GuardiolaC avatar May 22 '21 11:05 GuardiolaC

Hello,

could you try with 9.1 please? And check benchmark t10 : https://github.com/OpenGATE/GateBenchmarks/tree/master/t10_SpectroGamma

thanks

dsarrut avatar May 31 '21 06:05 dsarrut

Hi David, Thanks for the tip. I was just trying the vGATE9.0 to check the vGATE performance in a virtual machine. Indeed my code (and the associated EnergySpectrumActor) was correctly working in the Gate 8.1 version, but I am finding some disagreements with the experimental results and I wanted to check in another version. I'm installing Gate 9.1 and I'll check it. Best, Consuelo

GuardiolaC avatar Jun 03 '21 10:06 GuardiolaC

Hi Consuelo, there were major changes in the EnergySpectrumActor after 8.1 and some bug fixes from v9.0 to 9.1. Particularly the notation to enable the spectra changed. If I remember correctly, previously by activating the "Energy spectrum" , actually the energy deposition spectrum was enabled. Now the energy spectrum gives you the kinetic energy when you enable the energy spectrum and to extract the energy deposition you need a separate command. Could you check whether the wiki is up to date and a kind of clear?

best, andreas

andiresch avatar Jun 07 '21 07:06 andiresch

Hi Andreas, Thanks for you email. I have been reading the SpectrumActor in the update Wiki and, for me, it is a bit confusing. I am not anymore sure which one is the energy deposition. Which one is exactly the energy deposited into the attached volumen? I would appreciate if you may clarify it. Thanks in advance, Consuelo

GuardiolaC avatar Jun 07 '21 13:06 GuardiolaC

Hi @andiresch and @GuardiolaC, did you manage to discuss about the SpectrumActor ?

thanks David

dsarrut avatar Jun 22 '21 07:06 dsarrut

Hi David, we are in contact and will post here relevant things :-)

cheers, andreas

andiresch avatar Jun 22 '21 07:06 andiresch

perfect 👍 ;) !

dsarrut avatar Jun 22 '21 07:06 dsarrut

Hi David,

Andreas sent me many advices that I am trying. I was not able to advance more since I was (and I am right now) in 2 independent accelerator experiments in Cyrcé and ALTO these days for, indeed, taking more experimental data regarding this question.

In parallel, one of my students run the same simulation in Geant4 directly just to double check and he found the same problem in the distal edge...

I will give feedback to Andreas in few days to try to understand what happens.

Best Consuelo

GuardiolaC avatar Jun 22 '21 08:06 GuardiolaC

thanks a lot, no problem (nothing urgent)!

dsarrut avatar Jun 22 '21 08:06 dsarrut

I just started learning gate, why does this keep happening? e.g. “command</gate/Volume_Name/> not found”

yuxiXo avatar Nov 09 '22 08:11 yuxiXo