[Gate-users] 1. Problem in modeling a trapezoid (zeinab TELIKANI)
Débora Salvado
debbiesal at gmail.com
Thu Oct 5 10:09:25 CEST 2017
Hi Zeinab Telikani,
I've had the same problem before, try to use the volume "trap" instead of
"trpd", for eg.:
/gate/world/daughters/name SPECThead
/gate/world/daughters/insert trap
/gate/SPECThead/geometry/setDx1 26.73 mm
/gate/SPECThead/geometry/setDx2 26.73 mm
/gate/SPECThead/geometry/setDz 10.85 mm
/gate/SPECThead/geometry/setTheta 0.00 deg
/gate/SPECThead/geometry/setDy1 50.00 mm
/gate/SPECThead/geometry/setDy2 50.00 mm
/gate/SPECThead/geometry/setDx3 23.99 mm
/gate/SPECThead/geometry/setDx4 23.99 mm
/gate/SPECThead/geometry/setPhi -90.00 deg
/gate/SPECThead/geometry/setAlp1 0.00 deg
/gate/SPECThead/geometry/setAlp2 0.00 deg
/gate/SPECThead/setMaterial Air
/gate/SPECThead/placement/setTranslation 0.00 0.00 -200.75 mm
/gate/SPECThead/repeaters/insert ring
/gate/SPECThead/ring/setRepeatNumber 2
/gate/SPECThead/ring/setPoint1 0. 1. 0. mm
/gate/SPECThead/ring/setPoint2 0. 0. 0. mm
For more information on the volume parameters, look for "Generic trapezoid"
on this website:
https://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/ch04.html
Regards,
Débora
Debora Salvado, PhD
University College London UCLH
London UK
------------------------------
Message: 1
Date: Wed, 4 Oct 2017 21:01:08 +0000 (UTC)
From: zeinab TELIKANI <telikani_z at yahoo.com>
To: "gate-users at lists.opengatecollaboration.org"
<gate-users at lists.opengatecollaboration.org>
Subject: [Gate-users] Problem in modeling a trapezoid
Message-ID: <1301386339.1506259.1507150868833 at mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"
Hi GATE users
I have modeled a trapezoid as the collimator in my
SPECTsimulation.Everything seems to be right, but, I have faced an
unexpectedproblem: an extra volume existsinside the trapezoid (as shown in
attached figure).Hereare the commands used to define aforementioned
trapezoid:
# Collimator (Trapezoidal Collimator)
/gate/world/daughters/name collimator/gate/world/daughters/insert
trpd/gate/collimator/geometry/setX1Length 0.7
cm/gate/collimator/geometry/setY1Length
0.7 cm/gate/collimator/geometry/setX2Length 9
cm/gate/collimator/geometry/setY2Length
5 cm/gate/collimator/geometry/setZLength 5 cm
/gate/collimator/setMaterial Lead/gate/collimator/vis/setColor
red/gate/collimator/vis/forceWireframe
Any suggestion or ideawould be appreciated; thank you in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20171005/c214a13c/attachment.html>
More information about the Gate-users
mailing list