[Gate-users] Modification of GATE output

Pawe Kowalski pawkowalski at yahoo.com
Mon May 30 21:30:36 CEST 2016


Hi Brent, 
Thank you very much for your answer.
In fact, I am not using any actors in my analysis. I save all hits to ROOT file and after that I make offline analysis using code developed in c++.
As far as I understand, actors may be used to store some additional information but it is something 'parallel' to output enabled using command /gate/output/root/enable. So in fact when I use actor I have two outputs. Am I right?
In the wiki, I have found this website: http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.2:Phase_space_conceptDoes it contain full list of information that may be stored?I would also like to save in my output file information about energy deposited and time of interaction. Is this possible using this actor?How does the 'EnableCompact' option work? I haven't found any information about it in the documentation.
Thank you once again.
Best regards,Paweł Kowalski

    15:29 niedziela, 2016-5-29, Brent Huisman <brent.huisman at insa-lyon.fr> napisał(a):
 

 

Hello Pawel,

Which actor are you using? Assuming it's the PhaseSpaceActor, there is an option called EnableCompact that reduces the number of saved fields. It reduces to the ones I care about, so it may not be what you need. I suppose per-field switches could be better. Storage space taken up is quite little though, so the easiest solution is to simply ignore the fields you don't use. Alternatively, you can adapt the actor to suit your needs. Perhaps using filters will help you with some of the things you need, but for coincidence selection you either record time and do some post-processing or dig down into the actor that you use to record.

Cheers,
Brent


----------------------------------------------------------------------

Date: Fri, 27 May 2016 12:04:51 +0000 (UTC)
From: Pawe  Kowalski <pawkowalski at yahoo.com>
To: GATE-mailingList <gate-users at lists.opengatecollaboration.org>,
        "gate-devel at lists.opengatecollaboration.org"
        <gate-devel at lists.opengatecollaboration.org>
Subject: [Gate-users] Modification of GATE output
Message-ID:
        <828474961.263737.1464350691463.JavaMail.yahoo at mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

Hi,
I have few questions about modifying Root output from GATE simulations.
1. Is this possible to disable some branches in root file? For example I don't need branches called baseID or levelXID. What part of the code should I modify to disable them??
2. On the other side, I would like to save to file information about components of four-momentum of gamma quanta in the moment of interaction with matter (for example Compton scattering). Is this possible??
3. Is this possible to simulate and save optical photons only when there was a coincidence?
Best regards,Pawe? Kowalski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160527/f41a59df/attachment-0001.html>

------------------------------


_______________________________________________
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/mailman/private/gate-users/attachments/20160530/62a7e007/attachment.html>


More information about the Gate-users mailing list