[Gate-users] Volume IDs for Generic "Scanner" System

Emilie Gaudin Emilie.Odette.Gaudin at USherbrooke.ca
Mon Oct 28 15:23:54 CET 2019


*This is a add-on of my previous message*

Are you using your sensitive volume right ?
Looking at your code, and because you want to do dosimetry, it seems you need to attach your volume as phantomSD and not crystalSD.

The difference between the two sensitive volume are explained here:
https://opengate.readthedocs.io/en/latest/sensitive_detector_concept.html

Also, you don't need to re-forward your message. Let us some time to read/think about your problem ...

Emilie

________________________________
De : Gate-users <gate-users-bounces at lists.opengatecollaboration.org> de la part de gate-users-request at lists.opengatecollaboration.org <gate-users-request at lists.opengatecollaboration.org>
Envoyé : 28 octobre 2019 09:52
À : gate-users at lists.opengatecollaboration.org <gate-users at lists.opengatecollaboration.org>
Objet : Gate-users Digest, Vol 161, Issue 29

Send Gate-users mailing list submissions to
        gate-users at lists.opengatecollaboration.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
or, via email, send a message with subject or body 'help' to
        gate-users-request at lists.opengatecollaboration.org

You can reach the person managing the list at
        gate-users-owner at lists.opengatecollaboration.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gate-users digest..."


Today's Topics:

   1. Re: Volume IDs for Generic "Scanner" System (Josh Knowland)
   2. Re: Volume IDs for Generic "Scanner" System (Emilie Gaudin)


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

Message: 1
Date: Mon, 28 Oct 2019 13:04:04 +0000
From: Josh Knowland <jknowland at lucernodynamics.com>
To: "gate-users at lists.opengatecollaboration.org"
        <gate-users at lists.opengatecollaboration.org>
Subject: Re: [Gate-users] Volume IDs for Generic "Scanner" System
Message-ID:
        <BN8PR15MB2865954C82BB5CDDB6D784E5AF660 at BN8PR15MB2865.namprd15.prod.outlook.com>

Content-Type: text/plain; charset="utf-8"

Hello all,

Does anyone have an idea about this? How to get volume IDs for singles when using a generic "scanner" system type?

From: Josh Knowland
Sent: Saturday, October 26, 2019 5:50 PM
To: gate-users at lists.opengatecollaboration.org
Subject: Volume IDs for Generic "Scanner" System

All - I am completely stuck.
I'm using a generic "scanner" system type, and would like to have multiple sensitive detectors in a mother volume for internal dosimetry.

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).

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!

I have attached simple sample code below as well as the output from the singles file.

Any help would be great! Thank you,
Josh






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191028/448c126d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_Singles.dat
Type: application/octet-stream
Size: 4752 bytes
Desc: test_Singles.dat
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191028/448c126d/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.mac
Type: application/octet-stream
Size: 3704 bytes
Desc: test.mac
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191028/448c126d/attachment-0003.obj>

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

Message: 2
Date: Mon, 28 Oct 2019 14:09:41 +0000
From: Emilie Gaudin <Emilie.Odette.Gaudin at USherbrooke.ca>
To: "gate-users at lists.opengatecollaboration.org"
        <gate-users at lists.opengatecollaboration.org>
Subject: Re: [Gate-users] Volume IDs for Generic "Scanner" System
Message-ID:
        <YQXPR01MB32405B33F62931CAF481EA67AB660 at YQXPR01MB3240.CANPRD01.PROD.OUTLOOK.COM>

Content-Type: text/plain; charset="iso-8859-1"

Hi Josh,

You didn't attached your geometry in your system.
Everything is explained here section 1.3 :
https://opengate.readthedocs.io/en/latest/defining_a_system_scanner_ct_pet_spect_optical.html#different-types-of-systems

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:

systems/SystemName/Level/attach UserVolumeName

for example in your system:

systems/scanner/level1/attach Box1B

systems/scanner/level2/attach BoxB2a

systems/scanner/level3/attach BoxB2b

Good luck,

Emilie


________________________________
De : Gate-users <gate-users-bounces at lists.opengatecollaboration.org> de la part de gate-users-request at lists.opengatecollaboration.org <gate-users-request at lists.opengatecollaboration.org>
Envoyé : 27 octobre 2019 00:43
À : gate-users at lists.opengatecollaboration.org <gate-users at lists.opengatecollaboration.org>
Objet : Gate-users Digest, Vol 161, Issue 28

Send Gate-users mailing list submissions to
        gate-users at lists.opengatecollaboration.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
or, via email, send a message with subject or body 'help' to
        gate-users-request at lists.opengatecollaboration.org

You can reach the person managing the list at
        gate-users-owner at lists.opengatecollaboration.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gate-users digest..."


Today's Topics:

   1. Volume IDs for Generic "Scanner" System (Josh Knowland)
   2. Secondary Particle Source (emission points) Locations     (XYZ)
      (Atiq Ur Rahman)
   3. Time of Flight of the secondary particles (Atiq Ur Rahman)


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

Message: 1
Date: Sat, 26 Oct 2019 21:50:29 +0000
From: Josh Knowland <jknowland at lucernodynamics.com>
To: "gate-users at lists.opengatecollaboration.org"
        <gate-users at lists.opengatecollaboration.org>
Subject: [Gate-users] Volume IDs for Generic "Scanner" System
Message-ID:
        <BN8PR15MB28657190C1DD68164871A083AF640 at BN8PR15MB2865.namprd15.prod.outlook.com>

Content-Type: text/plain; charset="utf-8"

All - I am completely stuck.
I'm using a generic "scanner" system type, and would like to have multiple sensitive detectors in a mother volume for internal dosimetry.

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).

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!

I have attached simple sample code below as well as the output from the singles file.

Any help would be great! Thank you,
Josh






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191026/b7f58740/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.mac
Type: application/octet-stream
Size: 3704 bytes
Desc: test.mac
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191026/b7f58740/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_Singles.dat
Type: application/octet-stream
Size: 4752 bytes
Desc: test_Singles.dat
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191026/b7f58740/attachment-0003.obj>

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

Message: 2
Date: Sun, 27 Oct 2019 12:57:30 +0800
From: Atiq Ur Rahman <atiqchep at gmail.com>
To: gate-users at lists.opengatecollaboration.org
Subject: [Gate-users] Secondary Particle Source (emission points)
        Locations       (XYZ)
Message-ID:
        <CAEQ5Bgcov=ktLmZtCvdN9fX=S8_g=2+vY-yE7MwqbF+zFP-cPg at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Dear Users
I use the Proton beam and PMMA target. I want to get the source locations
of the  secondary particles created inside the target with event number.
I usually put a PET scanner connected with Sensitive detector, get the
events detail coning inside the Pet detector but now I need the locations
of the secondary Particles  inside the target?
Regards
Atiq
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191027/c3e7c3b7/attachment-0001.html>

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

Message: 3
Date: Sun, 27 Oct 2019 13:00:21 +0800
From: Atiq Ur Rahman <atiqchep at gmail.com>
To: gate-users at lists.opengatecollaboration.org
Subject: [Gate-users] Time of Flight of the secondary particles
Message-ID:
        <CAEQ5Bgcoui3jB=6QbqbSwejXpPw=jWhuuK0mhr5L--1FhFkKoA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Dear users,
I am using the Proton beam to hit the PMMA target and get the secondary
particles  in  LYSO detector placed 15 cm away. I have
defined the scanner system. I want to calculate the time of Flight of the
Neutrons, Protons and Gammas.
Can you suggest me how I can get the time of flight of the secondary
particles (proton neutrons and gammas)?
Regards
Atiq
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191027/01f24194/attachment.html>

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

Subject: Digest Footer

_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

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

End of Gate-users Digest, Vol 161, Issue 28
*******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191028/acec4d87/attachment.html>

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

Subject: Digest Footer

_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

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

End of Gate-users Digest, Vol 161, Issue 29
*******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191028/c25ac1f1/attachment-0001.html>


More information about the Gate-users mailing list