<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin: 0;">Hi, David</div><div style="margin: 0;"><br></div><div style="margin: 0;">      Thanks for your advice, and I tried to remove  "<b>/gate/Phantom0/attachPhantomSD</b>", and checked it.</div><div style="margin: 0;"><br></div><div style="margin: 0;">      In root files, <b>scatter events = 0</b>;      <span style="background-color: rgb(255, 245, 102);"><b>The last left subplot (LORs.png)   did not appear! </b></span>  </div><div style="margin: 0;"><br></div><div style="margin: 0;">      I thought those events come from the phantom, but I can't explain.....</div><div style="position:relative;zoom:1"><pre style="width: 1602.64px;"><br></pre><pre style="width: 1602.64px;">best regards,</pre><pre style="width: 1602.64px;">ConnorHe</pre><div style="clear:both"></div></div><div id="divNeteaseMailCard"></div><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><p>At 2021-08-25 23:41:24, "David Sarrut" <David.Sarrut@creatis.insa-lyon.fr> wrote:</p><blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr">Hello, <div><br></div><div>unsure, but please use build-in physic list instead of "/gate/physics/addProcess" stuff (which is deprecated):</div><div><a href="https://opengate.readthedocs.io/en/latest/setting_up_the_physics.html#new-physics-list-mechanism">https://opengate.readthedocs.io/en/latest/setting_up_the_physics.html#new-physics-list-mechanism</a><br></div><div><br></div><div>also try to remove "/gate/Phantom0/attachPhantomSD" to check if those events come from the phantom (it should be anyway indicated in the root file and remove from the analysis)</div><div><br></div><div>David</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 24, 2021 at 4:33 AM 升级 <<a href="mailto:hsjbit@163.com">hsjbit@163.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="line-height:1.7;color:rgb(0,0,0);font-size:14px;font-family:Arial"><p style="margin:0px"><span style="font-family:Helvetica,"Microsoft Yahei",verdana">Dear GATE</span><span style="font-family:Helvetica,"Microsoft Yahei",verdana"> expert,</span></p><div style="margin:0px"><br></div><div style="margin:0px">              First, I got <b>"True" coincidence event</b> from a root file by filtering:</div><div style="margin:0px"><pre style="background-color:rgb(39,40,34);color:rgb(248,248,242);font-family:"Courier New",monospace;font-size:10.5pt">index <span style="color:rgb(249,38,114)">= </span>np.<span style="color:rgb(102,217,239)">where</span>((comptonPhantom1 <span style="color:rgb(249,38,114)">== </span><span style="color:rgb(174,129,255)">0</span>) <span style="color:rgb(249,38,114)">& </span>(comptonPhantom2 <span style="color:rgb(249,38,114)">== </span><span style="color:rgb(174,129,255)">0</span>)<br>                <span style="color:rgb(249,38,114)">& </span>(eventID1 <span style="color:rgb(249,38,114)">== </span>eventID2)<br>                <span style="color:rgb(249,38,114)">& </span>((RayleighPhantom1 <span style="color:rgb(249,38,114)">== </span><span style="color:rgb(174,129,255)">0</span>) <span style="color:rgb(249,38,114)">& </span>(RayleighPhantom2 <span style="color:rgb(249,38,114)">== </span><span style="color:rgb(174,129,255)">0</span>))<br>                )</pre></div><div style="margin:0px"><br></div><div style="margin:0px">              Then, I see <b>True LORs </b>in attachment(LORs.png),  (as below,  <b>red "*" is source_xyz, green line and dots were LOR and positions</b>)</div><div style="margin:0px">      <img src="cid:15e64cdb$2$17b86474adf$Coremail$hsjbit$163.com" style="width: 745px; height: 366px;"></div><p style="margin:0px"><br></p><div style="margin:0px">          <span style="background-color:rgb(255,245,102)"><b>The left subplot is my question!  </b></span><b>I can’t understand why this is included in True coincidence events</b></div><div style="margin:0px"><span style="color:rgb(51,51,51);font-family:"Microsoft YaHei",Helvetica,sans-serif;font-size:16px"><br></span></div><div style="margin:0px"><span style="color:rgb(51,51,51);font-family:"Microsoft YaHei",Helvetica,sans-serif;font-size:16px">        Could you do me a favor, please?  I'</span><font color="#333333" face="Microsoft YaHei, Helvetica, sans-serif"><span style="font-size:16px">m very confused.  Is it possible that it is a </span></font><span style="color:rgb(230,219,116);background-color:rgb(39,40,34);font-family:"Courier New",monospace;font-size:10.5pt;white-space:pre-wrap">comptonCrystal or </span><span style="color:rgb(230,219,116);background-color:rgb(39,40,34);font-family:"Courier New",monospace;font-size:10.5pt;white-space:pre-wrap">RayleighCrystal</span><span style="color:rgb(51,51,51);font-family:"Microsoft YaHei",Helvetica,sans-serif;font-size:16px"> scattering?</span></div><div style="margin:0px"><span style="color:rgb(51,51,51);font-family:"Microsoft YaHei",Helvetica,sans-serif;font-size:16px"><br></span></div><div style="margin:0px"><span style="color:rgb(51,51,51);font-family:"Microsoft YaHei",Helvetica,sans-serif;font-size:16px">        </span><span style="font-family:arial;white-space:pre-wrap"><b>Any advice would be greatly appreciated. Thanks in advance.</b></span></div><div style="margin:0px"><br></div><div style="margin:0px"><br></div><div style="margin:0px"><span style="color:rgb(0,0,0)"><b>The following is the content of my macro file: (phantom, physics,source)</b></span></div><div style="margin:0px"><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Consolas,"Courier New",monospace;line-height:19px;white-space:pre-wrap"><br><div><span style="color:rgb(106,153,85)">#=====================================================</span></div><div><span style="color:rgb(106,153,85)"># Phantom</span></div><div><span style="color:rgb(106,153,85)">#=====================================================</span></div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>world<span style="color:rgb(197,134,192)">/</span>daughters<span style="color:rgb(197,134,192)">/</span>name Phantom0 </div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>world<span style="color:rgb(197,134,192)">/</span>daughters<span style="color:rgb(197,134,192)">/</span>insert cylinder</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>Phantom0<span style="color:rgb(197,134,192)">/</span>setMaterial Water</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>Phantom0<span style="color:rgb(197,134,192)">/</span>vis<span style="color:rgb(197,134,192)">/</span>forceSolid</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>Phantom0<span style="color:rgb(197,134,192)">/</span>vis<span style="color:rgb(197,134,192)">/</span>setColor blue</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>Phantom0<span style="color:rgb(197,134,192)">/</span>geometry<span style="color:rgb(197,134,192)">/</span>setRmax   <span style="color:rgb(244,71,71)">1.25</span> mm</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>Phantom0<span style="color:rgb(197,134,192)">/</span>geometry<span style="color:rgb(197,134,192)">/</span>setHeight <span style="color:rgb(244,71,71)">70</span>. cm</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>Phantom0<span style="color:rgb(197,134,192)">/</span>placement<span style="color:rgb(197,134,192)">/</span>setTranslation  <span style="color:rgb(244,71,71)">0</span>. <span style="color:rgb(244,71,71)">0</span>. <span style="color:rgb(244,71,71)">0</span>. cm </div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>Phantom0<span style="color:rgb(197,134,192)">/</span>attachPhantomSD</div><br><div><span style="color:rgb(106,153,85)">#=====================================================</span></div><div><span style="color:rgb(106,153,85)"># PHYSICS</span></div><div><span style="color:rgb(106,153,85)">#=====================================================</span></div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>addProcess PhotoElectric</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>processes<span style="color:rgb(197,134,192)">/</span>PhotoElectric<span style="color:rgb(197,134,192)">/</span>setModel StandardModel</div><br><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>addProcess Compton</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>processes<span style="color:rgb(197,134,192)">/</span>Compton<span style="color:rgb(197,134,192)">/</span>setModel StandardModel</div><br><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>addProcess RayleighScattering</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>processes<span style="color:rgb(197,134,192)">/</span>RayleighScattering<span style="color:rgb(197,134,192)">/</span>setModel PenelopeModel</div><br><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>addProcess ElectronIonisation</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>processes<span style="color:rgb(197,134,192)">/</span>ElectronIonisation<span style="color:rgb(197,134,192)">/</span>setModel StandardModel e<span style="color:rgb(197,134,192)">-</span></div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>processes<span style="color:rgb(197,134,192)">/</span>ElectronIonisation<span style="color:rgb(197,134,192)">/</span>setModel StandardModel e<span style="color:rgb(197,134,192)">+</span></div><br><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>addProcess Bremsstrahlung</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>processes<span style="color:rgb(197,134,192)">/</span>Bremsstrahlung<span style="color:rgb(197,134,192)">/</span>setModel StandardModel e<span style="color:rgb(197,134,192)">-</span></div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>processes<span style="color:rgb(197,134,192)">/</span>Bremsstrahlung<span style="color:rgb(197,134,192)">/</span>setModel StandardModel e<span style="color:rgb(197,134,192)">+</span></div><br><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>addProcess PositronAnnihilation</div><br><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>addProcess eMultipleScattering</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>processes<span style="color:rgb(197,134,192)">/</span>eMultipleScattering<span style="color:rgb(197,134,192)">/</span>setModel UrbanModel e<span style="color:rgb(197,134,192)">-</span></div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>processes<span style="color:rgb(197,134,192)">/</span>eMultipleScattering<span style="color:rgb(197,134,192)">/</span>setModel UrbanModel e<span style="color:rgb(197,134,192)">+</span></div><br><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>processList Enabled</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>processList Initialized</div><br><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>Gamma<span style="color:rgb(197,134,192)">/</span>SetCutInRegion      crystal <span style="color:rgb(244,71,71)">1.0</span> cm</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>Electron<span style="color:rgb(197,134,192)">/</span>SetCutInRegion   crystal <span style="color:rgb(244,71,71)">1.0</span> cm</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>physics<span style="color:rgb(197,134,192)">/</span>Positron<span style="color:rgb(197,134,192)">/</span>SetCutInRegion   crystal <span style="color:rgb(244,71,71)">1.0</span> cm</div><br><br><div><span style="color:rgb(106,153,85)">#=====================================================</span></div><div><span style="color:rgb(106,153,85)"># Source</span></div><div><span style="color:rgb(106,153,85)">#=====================================================</span></div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>source<span style="color:rgb(197,134,192)">/</span>addSource                  TwoGamma0</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>source<span style="color:rgb(197,134,192)">/</span>TwoGamma0<span style="color:rgb(197,134,192)">/</span>setActivity      <span style="color:rgb(244,71,71)">0.15e-3</span> Ci</div><br><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>source<span style="color:rgb(197,134,192)">/</span>TwoGamma0<span style="color:rgb(197,134,192)">/</span>gps<span style="color:rgb(197,134,192)">/</span>particle     gamma</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>source<span style="color:rgb(197,134,192)">/</span>TwoGamma0<span style="color:rgb(197,134,192)">/</span>setType          backtoback</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>source<span style="color:rgb(197,134,192)">/</span>TwoGamma0<span style="color:rgb(197,134,192)">/</span>gps<span style="color:rgb(197,134,192)">/</span>energytype   Mono</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>source<span style="color:rgb(197,134,192)">/</span>TwoGamma0<span style="color:rgb(197,134,192)">/</span>gps<span style="color:rgb(197,134,192)">/</span>monoenergy   <span style="color:rgb(244,71,71)">511</span> keV</div><br><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>source<span style="color:rgb(197,134,192)">/</span>TwoGamma0<span style="color:rgb(197,134,192)">/</span>setForcedUnstableFlag true</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>source<span style="color:rgb(197,134,192)">/</span>TwoGamma0<span style="color:rgb(197,134,192)">/</span>setForcedHalfLife <span style="color:rgb(244,71,71)">6588</span>. s</div><br><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>source<span style="color:rgb(197,134,192)">/</span>TwoGamma0<span style="color:rgb(197,134,192)">/</span>gps<span style="color:rgb(197,134,192)">/</span>type         Volume</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>source<span style="color:rgb(197,134,192)">/</span>TwoGamma0<span style="color:rgb(197,134,192)">/</span>gps<span style="color:rgb(197,134,192)">/</span>shape        Cylinder</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>source<span style="color:rgb(197,134,192)">/</span>TwoGamma0<span style="color:rgb(197,134,192)">/</span>gps<span style="color:rgb(197,134,192)">/</span>radius       <span style="color:rgb(244,71,71)">1</span> mm</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>source<span style="color:rgb(197,134,192)">/</span>TwoGamma0<span style="color:rgb(197,134,192)">/</span>gps<span style="color:rgb(197,134,192)">/</span>halfz        <span style="color:rgb(244,71,71)">35</span>. cm</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>source<span style="color:rgb(197,134,192)">/</span>TwoGamma0<span style="color:rgb(197,134,192)">/</span>gps<span style="color:rgb(197,134,192)">/</span>angtype      iso</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>source<span style="color:rgb(197,134,192)">/</span>TwoGamma0<span style="color:rgb(197,134,192)">/</span>gps<span style="color:rgb(197,134,192)">/</span>centre       <span style="color:rgb(244,71,71)">0</span>. <span style="color:rgb(244,71,71)">0</span>. <span style="color:rgb(244,71,71)">0</span>. cm</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>source<span style="color:rgb(197,134,192)">/</span>TwoGamma0<span style="color:rgb(197,134,192)">/</span>attachTo         Phantom0</div><div><span style="color:rgb(197,134,192)">/</span>gate<span style="color:rgb(197,134,192)">/</span>source<span style="color:rgb(197,134,192)">/</span>list</div></div></div><div style="margin:0px"><br></div><div style="margin:0px"><br></div><div style="margin:0px"><br></div><p style="margin:0px"><br></p><div style="zoom:1"><pre style="width:1602.64px">My best regards,</pre><pre style="width:1602.64px">ConnorHe</pre><pre style="width:1602.64px"><br></pre><div style="clear:both"></div></div></div>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">David Sarrut, Phd<br>Directeur de recherche CNRS<br>CREATIS, UMR CNRS 5220, Inserm U1294<div>Centre de lutte contre le cancer Léon Bérard<br>28 rue Laënnec, 69373 Lyon cedex 08<br>Tel : 04 78 78 51 51 / 06 74 72 05 42<br><a href="http://www.creatis.insa-lyon.fr/~dsarrut" target="_blank">http://dsarrut.github.io</a><br>_________________________________</div><div> "2 + 2 = 5,  for extremely large values of 2"<br>_________________________________</div></div></div></div></div></div></div>
</blockquote></div></div>