[Gate-users] Energyspectrum
narbor
nicolas.arbor at iphc.cnrs.fr
Sat Nov 16 23:38:00 CET 2019
Dear Johannes,
Can you try if these lines work for the binning definition of "edepHisto" :
/gate/actor/MyActor/energyLossHisto/setEmin 0 eV
/gate/actor/MyActor/energyLossHisto/setEmax 1000 keV
/gate/actor/MyActor/energyLossHisto/setNumberOfBins 500
Regards,
Nicolas
***********************************************************************
Nicolas ARBOR
Maître de Conférences
Université de Strasbourg - Faculté de Physique et Ingénierie
Groupe de recherche DeSIs - Institut Pluridisciplinaire Hubert Curien
23, rue du Loess BP28 67037 Strasbourg Cedex 2
mail : nicolas.arbor at iphc.cnrs.fr / tel : 03.88.10.64.27
***********************************************************************
Le 16/11/2019 à 17:08, jisenbrandt at aol.de a écrit :
>
> Dear gate users,
>
> I’m trying to get some information about the deposit energy in my
> scintillator. I have a Cs137 source irradiate a NaI-scintillator. Now
> I attached an EnergySpectrumActor and it works fine. But the results
> of the edepHisto in root shows only two values. I thought by default
> there is no resolution set. When I set edepHisto true and the Emin,
> Emax and NumberofBins the terminal says **Commant not found**
>
> Has anyone worked with this actor and can help me out?
>
> /gate/actor/addActor EnergySpectrumActor save_example
>
> /gate/actor/save_example/attachTo crystal
>
> /gate/actor/save_example/save UserSpectrumNaJ.root
>
> /gate/actor/save_example/energySpectrum/setEmin 0 eV
>
> /gate/actor/save_example/energySpectrum/setEmax 1 MeV
>
> /gate/actor/save_example/energySpectrum/setNumberOfBins 500
>
> /gate/actor/save_example/enableLETSpectrum true
>
> /gate/actor/save_example/LETSpectrum/setLETmin 0 keV/um
>
> /gate/actor/save_example/LETSpectrum/setLETmax 100 keV/um
>
> /gate/actor/save_example/LETSpectrum/setNumberOfBins
> 1000 //till here it works. When I run it with
> the following setup it terminates
>
> /gate/actor/save_example/enableEdepHisto true
>
> /gate/actor/save_example/EdepHisto/setEmin 0
>
> /gate/actor/save_example/EdepHisto/setEmax 1 MeV
>
> /gate/actor/save_example/EdepHisto/setNumberOfBins 500
>
> Thanks in advance,
>
> Johannes
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191116/b714ca1e/attachment.html>
More information about the Gate-users
mailing list