[Gate-users] Gate optical simulation (surface treatment, macro code. etc.) (김수환)

Mariele Stockhoff Mariele.Stockhoff at UGent.be
Wed Mar 17 13:43:03 CET 2021


Dear Suhwan,

https://github.com/OpenGATE/GateContrib/tree/master/imaging/LUTDavisModel

Here you find an example of an optical simulation.

To define a surface (5.5 https://opengate.readthedocs.io/en/latest/generating_and_tracking_optical_photons.html#id10) you need to
set the surface definition (from your Surfaces.xml file) between Volume 1 and 2.

/gate/**Volume2**/surfaces/name   Surface-From-Volume1-To-Volume2
/gate/**Volume2**/surfaces/insert **Volume1**

If you want a crystal with multiple surface treatments just add a geometry to one side of the crystal and define the surface between the two volumes. Another volume on the other side of the crystal etc. The LUT Davis provides rough and polished surfaces based on measured data.
With what do you want to wrap the crystal? The LUT Davis model provides also surfaces that include the surface finish+a reflector (Teflon or ESR).

I suggest you only model single detectors and not a full ring since optical simulation can take quite some time/memory.
If you are using GATEv9.0 + Geant4.10.06.p02 (Scintillation Process does NOT work) also check this: http://lists.opengatecollaboration.org/pipermail/gate-users/2020-October/011977.html

Hope this helps!
Best wishes,
Mariele


On 17 Mar 2021, at 12:00, gate-users-request at lists.opengatecollaboration.org<mailto:gate-users-request at lists.opengatecollaboration.org> wrote:

Send Gate-users mailing list submissions to
gate-users at lists.opengatecollaboration.org<mailto: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.  Gate optical simulation (surface treatment, macro code.
     etc.) (김수환)


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

Message: 1
Date: Wed, 17 Mar 2021 16:30:02 +0900
From: 김수환 <ksh2454178 at naver.com>
To: <gate-users at lists.opengatecollaboration.org>
Subject: [Gate-users]  Gate optical simulation (surface treatment,
macro code. etc.)
Message-ID: <257c8bc378b8499cb8c4bdca98f3b22 at cweb017.nm.nfra.io>
Content-Type: text/plain; charset="utf-8"

Dear GATE users,

I am going to do a GATE optical simulation .
I am using the UNIFIED model for surface treatment.
But, I'm confused because it's my first time simulating GATE optical.

So, Let me ask you a few things.
First, I want to attach the senosor behind the 'epoxy_co' I set. What number should 'setDepth N' be set to?
Second, I want to roughen(0~2.5mm) half of the LYSO(LYSO length is 5mm) crystal and polish(2.5~5mm) the other half. How should I set it up?
Third, I want to wrap the reflector and absorber on the outside of the crystal.
Fourth, I am not sure if I set the setMaterial of 'modoule' & 'modoulec' correctly.

The geometry of the GATE opticla macro file that I designed is as follows.

Please tell me if there is something wrong.


-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
#     W O R L D
/gate/world/geometry/setXLength 40. cm
/gate/world/geometry/setYLength 40. cm
/gate/world/geometry/setZLength 40. cm
/gate/world/setMaterial Air
/gate/world/vis/setVisible 0

/gate/world/daughters/name OpticalSystem
/gate/world/daughters/insert cylinder
/gate/OpticalSystem/geometry/setRmax 60.0 mm
/gate/OpticalSystem/geometry/setRmin 20  mm
/gate/OpticalSystem/geometry/setHeight 10  mm
/gate/OpticalSystem/placement/setTranslation 0 0 0.0 mm
/gate/OpticalSystem/setMaterial Air
#/gate/OpticalSystem/vis/forceWireframe
#/gate/OpticalSystem/vis/setColor white
/gate/OpticalSystem/vis/setVisible 0

/gate/OpticalSystem/daughters/name modoule
/gate/OpticalSystem/daughters/insert box
/gate/modoule/geometry/setXLength 11.0 mm
/gate/modoule/geometry/setYLength 2.2 mm
/gate/modoule/geometry/setZLength 2.2 mm
/gate/modoule/placement/setTranslation 25.5 0. 0. mm
/gate/modoule/setMaterial Air
/gate/modoule/vis/setColor yellow
/gate/modoule/vis/forceWireframe

/gate/modoule/daughters/name modoulec
/gate/modoule/daughters/insert box
/gate/modoulec/geometry/setXLength 10.46 mm
/gate/modoulec/geometry/setYLength 2.2 mm
/gate/modoulec/geometry/setZLength 2.2 mm
/gate/modoulec/placement/setTranslation -0.27 0. 0. mm
/gate/modoulec/setMaterial Air
/gate/modoulec/vis/setColor red
/gate/modoulec/vis/forceWireframe

/gate/modoulec/daughters/name crystal
/gate/modoulec/daughters/insert box
/gate/crystal/geometry/setXLength 5. mm
/gate/crystal/geometry/setYLength 2.0 mm
/gate/crystal/geometry/setZLength 2.0 mm
/gate/crystal/placement/setTranslation -2.73 0. 0. mm
/gate/crystal/setMaterial LYSO
/gate/crystal/vis/setColor green
/gate/crystal/vis/forceWireframe

/gate/modoulec/daughters/name crystal2
/gate/modoulec/daughters/insert box
/gate/crystal2/geometry/setXLength 5. mm
/gate/crystal2/geometry/setYLength 2.0 mm
/gate/crystal2/geometry/setZLength 2.0 mm
/gate/crystal2/placement/setTranslation 2.27 0. 0. mm
/gate/crystal2/setMaterial BGO
/gate/crystal2/vis/setColor white
/gate/crystal2/vis/forceWireframe

/gate/modoule/daughters/name grease
/gate/modoule/daughters/insert box
/gate/grease/geometry/setXLength 0.01 mm
/gate/grease/geometry/setYLength 2. mm
/gate/grease/geometry/setZLength 2. mm
/gate/grease/setMaterial Meltmount
/gate/grease/placement/setTranslation 4.505 0 0. mm
/gate/grease/vis/setColor white
/gate/grease/vis/forceWireframe

/gate/modoule/daughters/name epoxy_co
/gate/modoule/daughters/insert box
/gate/swindow/geometry/setXLength 0.3 mm
/gate/swindow/geometry/setYLength 2. mm
/gate/swindow/geometry/setZLength 2. mm
/gate/swindow/setMaterial Epoxy
/gate/swindow/placement/setTranslation 4.66 0 0. mm
/gate/swindow/vis/setColor yellow
/gate/swindow/vis/forceWireframe

/gate/modoule/repeaters/insert ring
/gate/modoule/ring/setRepeatNumber 2
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------


Thanks a lot for your help.
Best regards,

Suhwan Kim

















-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20210317/fabab26b/attachment-0001.html>

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

Subject: Digest Footer

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

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

End of Gate-users Digest, Vol 178, Issue 36
*******************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20210317/79c0cd20/attachment.html>


More information about the Gate-users mailing list