[Gate-users] semi-cylinder detector not recording dose?
Konstantinos P. Chatzipapas
konhat88 at yahoo.gr
Sun Oct 10 19:35:41 CEST 2021
Dear Musa,
In general, spherical coordinates use only numbers >0 (I think theta 0-180 and phi 0-360). Thus, using: "/gate/Filmactive2/geometry/setPhiStart -45 deg", probably produces an error.
I would recommend to start phi from zero and then rotate the volume 315 degrees. You could also try to set the Phi start at 315 degrees.
Kind Regards,Konstantinos
----------------------------------------------------- Konstantinos Chatzipapas
Medical Physicist, PhD
University of Patras
web: Physics Magazine
Στις Κυριακή, 10 Οκτωβρίου 2021, 12:58:26 μ.μ. EEST, ο χρήστης Musajoya Joya <musajoyajoya at gmail.com> έγραψε:
Dear GATE users,
I have defined a semi-cylinder dose detector as the following;
/gate/phantom/daughters/name Filmactive2
/gate/phantom/daughters/insert cylinder
/gate/Filmactive2/geometry/setRmin 2.2403 cm
/gate/Filmactive2/geometry/setRmax 2.2431 cm
/gate/Filmactive2/geometry/setPhiStart -45 deg
/gate/Filmactive2/geometry/setDeltaPhi 75 deg
/gate/Filmactive2/geometry/setHeight 1 cm
/gate/Filmactive2/placement/setTranslation 0.0 0 11 cm
/gate/Filmactive2/placement/setRotationAxis 0 0 1
/gate/Filmactive2/setMaterial Filmactivelayer
I attached a DoseActor to that volume,
/gate/actor/addActor DoseActor targetdose2
/gate/actor/targetdose2/attachTo Filmactive2
/gate/actor/targetdose2/stepHitType random
/gate/actor/targetdose2/setPosition 0 0 0 cm
/gate/actor/targetdose2/save output/target/targetdose2.txt
/gate/actor/targetdose2/saveEveryNSeconds 60
/gate/actor/targetdose2/enableDose true
/gate/actor/targetdose2/enableUncertaintyDose true
Unfortunately, the problem is that this combination does not record any dose and the output is always zero. But, When I change the detector to a complete cylinder (as below) it calculates the dose. /gate/phantom/daughters/name Filmactive2
/gate/phantom/daughters/insert cylinder
/gate/Filmactive2/geometry/setRmin 2.2403 cm
/gate/Filmactive2/geometry/setRmax 2.2431 cm
/gate/Filmactive2/geometry/setPhiStart 0 deg
/gate/Filmactive2/geometry/setDeltaPhi 360 deg
/gate/Filmactive2/geometry/setHeight 1 cm
/gate/Filmactive2/placement/setTranslation 0.0 0 11 cm
/gate/Filmactive2/placement/setRotationAxis 0 0 1
/gate/Filmactive2/setMaterial Filmactivelayer
I marked the difference between two codes in orange color, dose any one knows the problem what is wrong? please help it is vital for my work.
Best Wishes
Musa Joya
Ph.D. candidate in Medical Physics
Tehran University of Medical Sciences
Tehran, Iran &
Lecturer of Medical Physics
Kabul University of Medical Sciences
Kabul, Afghanistan
Mobile and Telegram & WhatsApp: +989381560693
_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20211010/def5943b/attachment.html>
More information about the Gate-users
mailing list