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

κΉ€μˆ˜ν™˜ ksh2454178 at naver.com
Wed Mar 17 08:30:02 CET 2021


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


More information about the Gate-users mailing list