<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div>*This is a add-on of my previous message*<br>
</div>
<div><br>
</div>
<div>Are you using your sensitive volume right ?</div>
<div>Looking at your code, and because you want to do dosimetry, it seems you need to attach your volume as phantomSD and not crystalSD.</div>
<div><br>
</div>
<div>The difference between the two sensitive volume are explained here:</div>
<div><a href="https://opengate.readthedocs.io/en/latest/sensitive_detector_concept.html" id="LPlnk485155">https://opengate.readthedocs.io/en/latest/sensitive_detector_concept.html</a></div>
<div><br>
</div>
<div>Also, you don't need to re-forward your message. Let us some time to read/think about your problem ...</div>
<div><br>
</div>
<div>Emilie<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De :</b> Gate-users <gate-users-bounces@lists.opengatecollaboration.org> de la part de gate-users-request@lists.opengatecollaboration.org <gate-users-request@lists.opengatecollaboration.org><br>
<b>Envoyé :</b> 28 octobre 2019 09:52<br>
<b>À :</b> gate-users@lists.opengatecollaboration.org <gate-users@lists.opengatecollaboration.org><br>
<b>Objet :</b> Gate-users Digest, Vol 161, Issue 29</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">Send Gate-users mailing list submissions to<br>
        gate-users@lists.opengatecollaboration.org<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        gate-users-request@lists.opengatecollaboration.org<br>
<br>
You can reach the person managing the list at<br>
        gate-users-owner@lists.opengatecollaboration.org<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Gate-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Volume IDs for Generic "Scanner" System (Josh Knowland)<br>
   2. Re: Volume IDs for Generic "Scanner" System (Emilie Gaudin)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 28 Oct 2019 13:04:04 +0000<br>
From: Josh Knowland <jknowland@lucernodynamics.com><br>
To: "gate-users@lists.opengatecollaboration.org"<br>
        <gate-users@lists.opengatecollaboration.org><br>
Subject: Re: [Gate-users] Volume IDs for Generic "Scanner" System<br>
Message-ID:<br>
        <BN8PR15MB2865954C82BB5CDDB6D784E5AF660@BN8PR15MB2865.namprd15.prod.outlook.com><br>
        <br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello all,<br>
<br>
Does anyone have an idea about this? How to get volume IDs for singles when using a generic "scanner" system type?<br>
<br>
From: Josh Knowland<br>
Sent: Saturday, October 26, 2019 5:50 PM<br>
To: gate-users@lists.opengatecollaboration.org<br>
Subject: Volume IDs for Generic "Scanner" System<br>
<br>
All - I am completely stuck.<br>
I'm using a generic "scanner" system type, and would like to have multiple sensitive detectors in a mother volume for internal dosimetry.<br>
<br>
If I have two SDs as daughters of the "world", all is OK - I get a singles output file with 0 or 1 in column 7 and 0 for columns 8 through 12 (easily telling me which SD registered the single).<br>
<br>
If, however, I have a volume in the world with the two SDs inside it (and daughters of it instead of being daughters of the "world"), I get 0 for all columns 7-12. The simulation does record singles to each SD (based on coordinates), but it just doesn't tell
 me which volume ID each single is for!<br>
<br>
I have attached simple sample code below as well as the output from the singles file.<br>
<br>
Any help would be great! Thank you,<br>
Josh<br>
<br>
<br>
<br>
<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191028/448c126d/attachment-0001.html">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191028/448c126d/attachment-0001.html</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: test_Singles.dat<br>
Type: application/octet-stream<br>
Size: 4752 bytes<br>
Desc: test_Singles.dat<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191028/448c126d/attachment-0002.obj">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191028/448c126d/attachment-0002.obj</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: test.mac<br>
Type: application/octet-stream<br>
Size: 3704 bytes<br>
Desc: test.mac<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191028/448c126d/attachment-0003.obj">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191028/448c126d/attachment-0003.obj</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 28 Oct 2019 14:09:41 +0000<br>
From: Emilie Gaudin <Emilie.Odette.Gaudin@USherbrooke.ca><br>
To: "gate-users@lists.opengatecollaboration.org"<br>
        <gate-users@lists.opengatecollaboration.org><br>
Subject: Re: [Gate-users] Volume IDs for Generic "Scanner" System<br>
Message-ID:<br>
        <YQXPR01MB32405B33F62931CAF481EA67AB660@YQXPR01MB3240.CANPRD01.PROD.OUTLOOK.COM><br>
        <br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi Josh,<br>
<br>
You didn't attached your geometry in your system.<br>
Everything is explained here section 1.3 :<br>
<a href="https://opengate.readthedocs.io/en/latest/defining_a_system_scanner_ct_pet_spect_optical.html#different-types-of-systems">https://opengate.readthedocs.io/en/latest/defining_a_system_scanner_ct_pet_spect_optical.html#different-types-of-systems</a><br>
<br>
Basically your need to put this line at the end of your geometry definition (and before attaching your sensitive detector) for each levels of your system:<br>
<br>
systems/SystemName/Level/attach UserVolumeName<br>
<br>
for example in your system:<br>
<br>
systems/scanner/level1/attach Box1B<br>
<br>
systems/scanner/level2/attach BoxB2a<br>
<br>
systems/scanner/level3/attach BoxB2b<br>
<br>
Good luck,<br>
<br>
Emilie<br>
<br>
<br>
________________________________<br>
De : Gate-users <gate-users-bounces@lists.opengatecollaboration.org> de la part de gate-users-request@lists.opengatecollaboration.org <gate-users-request@lists.opengatecollaboration.org><br>
Envoyé : 27 octobre 2019 00:43<br>
À : gate-users@lists.opengatecollaboration.org <gate-users@lists.opengatecollaboration.org><br>
Objet : Gate-users Digest, Vol 161, Issue 28<br>
<br>
Send Gate-users mailing list submissions to<br>
        gate-users@lists.opengatecollaboration.org<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        gate-users-request@lists.opengatecollaboration.org<br>
<br>
You can reach the person managing the list at<br>
        gate-users-owner@lists.opengatecollaboration.org<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Gate-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Volume IDs for Generic "Scanner" System (Josh Knowland)<br>
   2. Secondary Particle Source (emission points) Locations     (XYZ)<br>
      (Atiq Ur Rahman)<br>
   3. Time of Flight of the secondary particles (Atiq Ur Rahman)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 26 Oct 2019 21:50:29 +0000<br>
From: Josh Knowland <jknowland@lucernodynamics.com><br>
To: "gate-users@lists.opengatecollaboration.org"<br>
        <gate-users@lists.opengatecollaboration.org><br>
Subject: [Gate-users] Volume IDs for Generic "Scanner" System<br>
Message-ID:<br>
        <BN8PR15MB28657190C1DD68164871A083AF640@BN8PR15MB2865.namprd15.prod.outlook.com><br>
<br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
All - I am completely stuck.<br>
I'm using a generic "scanner" system type, and would like to have multiple sensitive detectors in a mother volume for internal dosimetry.<br>
<br>
If I have two SDs as daughters of the "world", all is OK - I get a singles output file with 0 or 1 in column 7 and 0 for columns 8 through 12 (easily telling me which SD registered the single).<br>
<br>
If, however, I have a volume in the world with the two SDs inside it (and daughters of it instead of being daughters of the "world"), I get 0 for all columns 7-12. The simulation does record singles to each SD (based on coordinates), but it just doesn't tell
 me which volume ID each single is for!<br>
<br>
I have attached simple sample code below as well as the output from the singles file.<br>
<br>
Any help would be great! Thank you,<br>
Josh<br>
<br>
<br>
<br>
<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191026/b7f58740/attachment-0001.html">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191026/b7f58740/attachment-0001.html</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: test.mac<br>
Type: application/octet-stream<br>
Size: 3704 bytes<br>
Desc: test.mac<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191026/b7f58740/attachment-0002.obj">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191026/b7f58740/attachment-0002.obj</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: test_Singles.dat<br>
Type: application/octet-stream<br>
Size: 4752 bytes<br>
Desc: test_Singles.dat<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191026/b7f58740/attachment-0003.obj">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191026/b7f58740/attachment-0003.obj</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 27 Oct 2019 12:57:30 +0800<br>
From: Atiq Ur Rahman <atiqchep@gmail.com><br>
To: gate-users@lists.opengatecollaboration.org<br>
Subject: [Gate-users] Secondary Particle Source (emission points)<br>
        Locations       (XYZ)<br>
Message-ID:<br>
        <CAEQ5Bgcov=ktLmZtCvdN9fX=S8_g=2+vY-yE7MwqbF+zFP-cPg@mail.gmail.com><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Dear Users<br>
I use the Proton beam and PMMA target. I want to get the source locations<br>
of the  secondary particles created inside the target with event number.<br>
I usually put a PET scanner connected with Sensitive detector, get the<br>
events detail coning inside the Pet detector but now I need the locations<br>
of the secondary Particles  inside the target?<br>
Regards<br>
Atiq<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191027/c3e7c3b7/attachment-0001.html">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191027/c3e7c3b7/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sun, 27 Oct 2019 13:00:21 +0800<br>
From: Atiq Ur Rahman <atiqchep@gmail.com><br>
To: gate-users@lists.opengatecollaboration.org<br>
Subject: [Gate-users] Time of Flight of the secondary particles<br>
Message-ID:<br>
        <CAEQ5Bgcoui3jB=6QbqbSwejXpPw=jWhuuK0mhr5L--1FhFkKoA@mail.gmail.com><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Dear users,<br>
I am using the Proton beam to hit the PMMA target and get the secondary<br>
particles  in  LYSO detector placed 15 cm away. I have<br>
defined the scanner system. I want to calculate the time of Flight of the<br>
Neutrons, Protons and Gammas.<br>
Can you suggest me how I can get the time of flight of the secondary<br>
particles (proton neutrons and gammas)?<br>
Regards<br>
Atiq<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191027/01f24194/attachment.html">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191027/01f24194/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
Gate-users@lists.opengatecollaboration.org<br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
<br>
------------------------------<br>
<br>
End of Gate-users Digest, Vol 161, Issue 28<br>
*******************************************<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191028/acec4d87/attachment.html">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191028/acec4d87/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
Gate-users@lists.opengatecollaboration.org<br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
<br>
------------------------------<br>
<br>
End of Gate-users Digest, Vol 161, Issue 29<br>
*******************************************<br>
</div>
</span></font></div>
</body>
</html>