<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Larry,
<div class=""><br class="">
</div>
<span class="">indeed, the documentation on the phase space actor does not list all available flags. I had a look at the source code, more specifically, the </span><a href="http://GatePhaseSpaceActorMessenger.cc" class="">GatePhaseSpaceActorMessenger.cc</a> file.
 Here, you will find the available flags along with a short description. For “enablePrimaryEnergy”, it says: "Store the energy of the primary particle for every hit.”
<div class=""><br class="">
</div>
<div class="">You might find other flags in the source code file that help you to complete your task.<br class="">
<div class=""><span class=""><br class="">
</span><span class="">Best regards,<br class="">
</span><span class="">David<br class="">
</span><span class=""><br class="">
</span>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 8 Mar2022, at 19:53, Larry Pierce <<a href="mailto:lapierce@uw.edu" class="">lapierce@uw.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Thanks David, I do not see any documentation for “enablePrimaryEnergy”, can you provide a description or link to documentation?
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class=""><br class="">
</div>
<div class="">-Larry</div>
<div class=""><br class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Mar 7, 2022, at 1:31 AM, David Leibold <<a href="mailto:D.Leibold@tudelft.nl" class="">D.Leibold@tudelft.nl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Larry,
<div class=""><br class="">
</div>
<div class="">if I am not mistaken, the parentID is 0 if the current particle was emitted by the source; if the current particle is a secondary particle, then the parentID will store the parent track’s event ID. I am not sure whether this is of much help when
 you detect your particles with a realistic detector material, though, since the secondaries might be created inside the detector itself.</div>
<div class=""><br class="">
</div>
<div class="">If you want to use a phase space actor instead, you can use the setting “enablePrimaryEnergy”, which stores the energy of the primary particle for every hit.</div>
<div class=""><br class="">
</div>
<div class="">Kind regards,</div>
<div class="">David Leibold</div>
<div class=""><br class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On 3 Mar2022, at 19:26, Larry Pierce <<a href="mailto:lapierce@uw.edu" class="">lapierce@uw.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
</div>
<div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
No, I have not. Can you tell me what informationis in parentID ? Does that tell the originating particle (I-123) or the originating photon energy?</div>
<div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
Thanks,</div>
<div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
-Larry</div>
<div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
<blockquote type="cite" class="">On Mar 3, 2022, at 10:12 AM, Konstantinos P. Chatzipapas <<a href="mailto:konhat88@yahoo.gr" class="">konhat88@yahoo.gr</a>> wrote:<br class="">
<br class="">
</blockquote>
</div>
<blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<div dir="ltr" class="">
<div class="ydpf2ed6081yahoo-style-wrap" style="font-family: "courier new", courier, monaco, monospace, sans-serif; font-size: 13px;">
<div class="">
<div dir="ltr" data-setdir="false" class="">Have you try to filter hits using ParentID leaf?</div>
<div dir="ltr" data-setdir="false" class=""><br class="">
</div>
<div dir="ltr" data-setdir="false" class="">Konstantinos</div>
<div class=""><br class="">
</div>
<div class="ydpf2ed6081signature">
<div style="font-family: courier, monaco, monospace, sans-serif; font-size: 13px;" class="">
<div style="font-family: Arial; font-size: 16px; font-style: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;" class="">
<br class="">
</div>
</div>
</div>
</div>
<div class=""><br class="">
</div>
</div>
<div id="yahoo_quoted_6939501039" class="yahoo_quoted">
<div style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 13px; color: rgb(38, 40, 42);" class="">
<div class="">Στις Πέμπτη, 3 Μαρτίου 2022, 06:40:49 μ.μ. CET, ο χρήστης Larry Pierce <<a href="mailto:lapierce@uw.edu" class="">lapierce@uw.edu</a>> έγραψε:</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div id="yiv6532262222" class="">
<div class="">Yes, I see, thank you! 
<div class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div class="yiv6532262222">However, there may be scattered imaging photons in the window as well as scattered high-energy photons in the window. </div>
<div class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div class="yiv6532262222">I want to know the fraction of imaging photons and high-energy photons that contributed to the window. </div>
<div class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div class="yiv6532262222">If there is a way to know this for each hit or single, that would be a great help. </div>
<div class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div class="yiv6532262222">Thanks for the advice!</div>
<div class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div class="yiv6532262222">-Larry Pierce</div>
<div class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div id="yiv6532262222yqt79255" class="yiv6532262222yqt0526587781">
<div class="yiv6532262222"><br clear="none" class="yiv6532262222">
<div class=""><br clear="none" class="yiv6532262222">
<blockquote type="cite" class="yiv6532262222">
<div class="yiv6532262222">On Mar 3, 2022, at 9:27 AM, Konstantinos P. Chatzipapas <<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:konhat88@yahoo.gr" target="_blank" href="mailto:konhat88@yahoo.gr" class="yiv6532262222">konhat88@yahoo.gr</a>>
 wrote:</div>
<br clear="none" class="yiv6532262222Apple-interchange-newline">
<div class="yiv6532262222">
<div class="yiv6532262222">
<div class="yiv6532262222ydpff0c428cyahoo-style-wrap" style="font-family: "courier new", courier, monaco, monospace, sans-serif; font-size: 13px;">
<div class="yiv6532262222">
<div dir="ltr" class="yiv6532262222">Hello there,</div>
<div dir="ltr" class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222">If you have a limited window (let's say 159 keV, 10%), you may limit your result to scatter and unscattered photons of this energy. If you are using root you may set comptonPhantom==0 or !=0, as a parameter.</div>
<div dir="ltr" class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222">Does that help?</div>
<div dir="ltr" class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222">Kind Regards,</div>
<div dir="ltr" class="yiv6532262222">Konstantinos</div>
<div dir="ltr" class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div class="yiv6532262222ydpff0c428csignature">
<div class="yiv6532262222" style="font-family: courier, monaco, monospace, sans-serif; font-size: 13px;">
<div dir="ltr" class="yiv6532262222" style="font-family: Arial; font-size: 16px; font-style: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
<div class="yiv6532262222">
<div class="yiv6532262222">​​--</div>
<div class="yiv6532262222">--</div>
<div class="yiv6532262222">Konstantinos CHATZIPAPAS | PhD, CNRS | "Interactions Rayonnements Ionisants & Biologie" (iRiBio)</div>
<div class="yiv6532262222">Centre d'Etudes Nucléaires de Bordeaux-Gradignan - UMR 5797</div>
<div class="yiv6532262222"><a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__www.cenbg.in2p3.fr_&d=DwMGaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=lfXR69GFfS7NT-Wp5HZqbtBDrbYoilDdmNEG7fKW7aM&m=XeFask16dCuG41NAH2Gz2MiyeWAeGipWZNaMKb02rCU&s=TtEUJZ0pneRfjMRlxQ_SBZJ4ok_kfieV4X4aGOWQTP4&e=" class="yiv6532262222">https://www.cenbg.in2p3.fr/</a></div>
</div>
<br clear="none" class="yiv6532262222">
</div>
<div class="yiv6532262222" style="font-family: Arial; font-size: 16px; font-style: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
</div>
</div>
</div>
</div>
<div class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
</div>
<div id="yiv6532262222yahoo_quoted_6837296805" class="yiv6532262222yahoo_quoted">
<div class="yiv6532262222" style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 13px; color: rgb(38, 40, 42);">
<div class="yiv6532262222">Στις Πέμπτη, 3 Μαρτίου 2022, 06:07:00 μ.μ. CET, ο χρήστης Larry Pierce <<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:lapierce@uw.edu" target="_blank" href="mailto:lapierce@uw.edu" class="yiv6532262222">lapierce@uw.edu</a>>
 έγραψε:<span class="Apple-converted-space"> </span></div>
<div class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div class="yiv6532262222">
<div dir="ltr" class="yiv6532262222">Dear GATE users,<span class="Apple-converted-space"> </span><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222">I have a question regarding simulation of I-123, with 83% of the emission photons at 159 keV used for imaging. It also has 3% of the photons emitted being higher-energy up to 784 keV and these can contaminate the data and
 reconstructed image.<span class="Apple-converted-space"> </span><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222">When simulating our SPECT detector, I would like to know the energy of the original photon to determine if it was an “imaging photon” or a “higher-energy photon” that led to the hit or single in the detector.<span class="Apple-converted-space"> </span><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222">Does anyone know of a way to do this in GATE?<br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222">I have considered that we may use multiple overlapping spectrum sources with a mixture of imaging and high-energy photons and that the output source ID can then tell us if the originating photon was an imaging photon or
 a high-energy photon.<span class="Apple-converted-space"> </span><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222">Still, I would like to ask the group for their input if there are other better ways to approach the issue.<span class="Apple-converted-space"> </span><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222">Thank you for your consideration,<span class="Apple-converted-space"> </span><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222">-Larry Pierce<br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222"><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222">_______________________________________________<br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222">Gate-users mailing list<br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222"><a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank" href="mailto:Gate-users@lists.opengatecollaboration.org" class="yiv6532262222">Gate-users@lists.opengatecollaboration.org</a><br clear="none" class="yiv6532262222">
</div>
<div dir="ltr" class="yiv6532262222"><a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opengatecollaboration.org_mailman_listinfo_gate-2Dusers&d=DwMGaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=lfXR69GFfS7NT-Wp5HZqbtBDrbYoilDdmNEG7fKW7aM&m=XeFask16dCuG41NAH2Gz2MiyeWAeGipWZNaMKb02rCU&s=iKZVrsYG6YxPkdxsBM70ppg9C0CBKCito2-hqOwe1kw&e=" class="yiv6532262222">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="none" class="yiv6532262222">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Gate-users
 mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""><a href="mailto:Gate-users@lists.opengatecollaboration.org" class="">Gate-users@lists.opengatecollaboration.org</a></span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opengatecollaboration.org_mailman_listinfo_gate-2Dusers&d=DwIGaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=lfXR69GFfS7NT-Wp5HZqbtBDrbYoilDdmNEG7fKW7aM&m=XeFask16dCuG41NAH2Gz2MiyeWAeGipWZNaMKb02rCU&s=iKZVrsYG6YxPkdxsBM70ppg9C0CBKCito2-hqOwe1kw&e=" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opengatecollaboration.org_mailman_listinfo_gate-2Dusers&d=DwIGaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=lfXR69GFfS7NT-Wp5HZqbtBDrbYoilDdmNEG7fKW7aM&m=XeFask16dCuG41NAH2Gz2MiyeWAeGipWZNaMKb02rCU&s=iKZVrsYG6YxPkdxsBM70ppg9C0CBKCito2-hqOwe1kw&e=</a><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""></span></div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</body>
</html>