<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Malgun Gothic";
panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
{font-family:"\@Malgun Gothic";}
@font-face
{font-family:Menlo;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.p1, li.p1, div.p1
{mso-style-name:p1;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.p2, li.p2, div.p2
{mso-style-name:p2;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi Carlotta,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">It was and it is not clear for me but the “trouble” is probably associated to the G4 modifications between the 10.4 and
10.5 versions (when we moved on G4 10.5 for the Gate8.2 release)…This was not really studied at that time.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Cheers<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Seb<o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">De :</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Gate-users <gate-users-bounces@lists.opengatecollaboration.org>
<b>De la part de</b> Carlotta Trigila<br>
<b>Envoyé :</b> mercredi 16 décembre 2020 16:32<br>
<b>À :</b> Mathieu Dupont <mdupont@cppm.in2p3.fr>; </span><span style="font-size:11.0pt;font-family:"Malgun Gothic",sans-serif">강한규</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <lovehangulp@naver.com>; gate-users@lists.opengatecollaboration.org<br>
<b>Objet :</b> [Gate-users] Surfaces definition in GATE v9.0<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Dear GATE Users, <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">I am specifically addressing this e-mail to anyone using optical simulations and surface definition with GATE v9.0. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">I noticed that in the last versions of GATE the definition of the surfaces for optical simulations has to be performed AFTER the "/gate/run/initialize" command. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">E.g. from <i><span style="background:white">optical.mac</span></i><span style="background:white"> benchmark example</span><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">"
<o:p></o:p></span></p>
<p class="p1" style="background:#1F1F24"><span style="font-size:9.0pt;font-family:"Menlo",serif;color:black">/gate/run/initialize<o:p></o:p></span></p>
<p class="p2" style="background:#1F1F24;color:rgba(255, 255, 255, 0.85);min-height:14px">
<span style="font-size:9.0pt;font-family:"Menlo",serif;color:black"><o:p> </o:p></span></p>
<p class="p1" style="background:#1F1F24;color:rgba(255, 255, 255, 0.85)"><span style="font-size:9.0pt;font-family:"Menlo",serif;color:black"># Definition of surfaces<o:p></o:p></span></p>
<p class="p1" style="background:#1F1F24;color:rgba(255, 255, 255, 0.85)"><span style="font-size:9.0pt;font-family:"Menlo",serif;color:black">/gate/detector/surfaces/name
<span class="apple-converted-space"> </span>Detection1<span class="apple-converted-space"> </span><o:p></o:p></span></p>
<p class="p1" style="background:#1F1F24;color:rgba(255, 255, 255, 0.85)"><span style="font-size:9.0pt;font-family:"Menlo",serif;color:black">/gate/detector/surfaces/insert
<span class="apple-converted-space"> </span>Electronics<o:p></o:p></span></p>
<p class="p1" style="background:#1F1F24;color:rgba(255, 255, 255, 0.85)"><span style="font-size:9.0pt;font-family:"Menlo",serif;color:black">/gate/detector/surfaces/Detection1/setSurface<span class="apple-converted-space">
</span>perfect_apd<span class="apple-converted-space"> </span><o:p></o:p></span></p>
<p class="p1" style="background:#1F1F24;color:rgba(255, 255, 255, 0.85)"><span style="font-size:9.0pt;font-family:"Menlo",serif;color:black">/gate/Electronics/surfaces/name<span class="apple-converted-space">
</span>Detection2<span class="apple-converted-space"> </span><o:p></o:p></span></p>
<p class="p1" style="background:#1F1F24;color:rgba(255, 255, 255, 0.85)"><span style="font-size:9.0pt;font-family:"Menlo",serif;color:black">/gate/Electronics/surfaces/insert<span class="apple-converted-space">
</span>detector<span class="apple-converted-space"> </span><o:p></o:p></span></p>
<p class="p1" style="background:#1F1F24;color:rgba(255, 255, 255, 0.85)"><span style="font-size:9.0pt;font-family:"Menlo",serif;color:black">/gate/Electronics/surfaces/Detection2/setSurface
<span class="apple-converted-space"> </span>perfect_apd<span class="apple-converted-space"> </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">"<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">If we move these commands BEFORE the initialization, the simulation crashes with a message like <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:white">"[G4-cerr] ***** Illegal application state <</span><span style="font-size:9.0pt;font-family:"Menlo",serif;color:white;background:#1F1F24">/gate/detector/surfaces/insert</span><span class="apple-converted-space"><span style="font-size:9.0pt;font-family:"Menlo",serif;color:white"> </span></span><span style="font-size:9.0pt;font-family:"Menlo",serif;color:white;background:#1F1F24">Electronics</span><span style="font-family:"Calibri",sans-serif;color:white">>
*****</span><span style="font-family:"Calibri",sans-serif;color:black">".<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">However, I am sure that with GATE v8.0 (and older) we were able to define them BEFORE the initialization. I am not sure of what happens with the v8.2.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Did someone ever notice it before? Did you have an idea of what could have changed? <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Many thanks for your help, <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Carlotta Trigila <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<div id="Signature">
<div>
<div>
<p><span style="font-family:"Calibri",sans-serif;color:black">-- <o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Carlotta Trigila, PhD
<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Department of Biomedical Engineering – GBSF 2505<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">University of California, Davis<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">451 East Health Sciences Drive<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Davis, CA 95616 <o:p>
</o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><a href="http://ccjliu@ucdavis.edu" target="_blank">ctrigila@ucdavis.edu
</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"> <o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="3" width="98%" align="center">
</div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> Gate-users <<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org">gate-users-bounces@lists.opengatecollaboration.org</a>>
on behalf of Mathieu Dupont <<a href="mailto:mdupont@cppm.in2p3.fr">mdupont@cppm.in2p3.fr</a>><br>
<b>Sent:</b> Thursday, October 22, 2020 2:17 AM<br>
<b>To:</b> </span><span style="font-size:11.0pt;font-family:"Malgun Gothic",sans-serif;color:black">강한규</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> <<a href="mailto:lovehangulp@naver.com">lovehangulp@naver.com</a>><br>
<b>Cc:</b> GATE-users <<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a>><br>
<b>Subject:</b> Re: [Gate-users] GATEv9.0 Scintillation Process is NOT working.(Solved)</span>
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Thx for your report,<br>
<br>
The aim of my fix is to make scintillation working for the combination<br>
"GATEv9.0 (with my patch) + Geant4.10.06.p02 "<br>
<br>
Can you test it, if you have time ? <br>
<br>
<br>
<br>
On Thu, 22 Oct 2020 16:52:32 +0900<br>
</span><span style="font-size:11.0pt;font-family:"Malgun Gothic",sans-serif">강한규</span><span style="font-size:11.0pt"> <<a href="mailto:lovehangulp@naver.com">lovehangulp@naver.com</a>> wrote:<br>
<br>
> Dear Mathieu Dupont and GATE users,<br>
> <br>
> After downgrading the Geant4 version from Geant4.10.06.p02 to<br>
> Geant4.9.05.p01, the scintillation process works in GATEv9.0<br>
> (Attached file). (Before)GATEv9.0 + Geant4.10.06.p02 -> Scintillation<br>
> Process does NOT work. (After) GATEv9.0 + Geant4.9.05.p01 -><br>
> Scintillation Process does work. <br>
> You can find issue and fix on the following links of the GATE git hub.<br>
> Issue: <a href="https://github.com/OpenGATE/Gate/issues/346">https://github.com/OpenGATE/Gate/issues/346</a>
<br>
> Fix: <a href="https://github.com/OpenGATE/Gate/pull/368">https://github.com/OpenGATE/Gate/pull/368</a>
<br>
> <br>
> Thanks Mathieu Dupont for your good advice.<br>
> <br>
> Best regards,<br>
> <br>
> Han Gyu Kang<br>
> <br>
> <br>
> --------Han Gyu Kang, Ph.D, Researcher<br>
> <br>
> National Institute of Radiological Sciences (NIRS)<br>
> National Institutes for Quantum and Radiological Science and<br>
> Technology (QST) 4-9-1 Anagawa, Inage-ku, Chiba 263-8555, JAPAN<br>
> <br>
> -----Original Message-----<br>
> From: "</span><span style="font-size:11.0pt;font-family:"Malgun Gothic",sans-serif">강한규</span><span style="font-size:11.0pt">"<<a href="mailto:lovehangulp@naver.com">lovehangulp@naver.com</a>><br>
> To: "GATE-users"<<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a>>;<br>
> Cc:<br>
> Sent: 2020-06-08 (</span><span style="font-size:11.0pt;font-family:"Malgun Gothic",sans-serif">월</span><span style="font-size:11.0pt">) 20:20:02 (GMT+09:00)<br>
> Subject: [Gate-users] GATEv9.0 Scintillation Process is NOT working.<br>
> <br>
> Dear GATE users,<br>
> <br>
> Is there anyone who checked the scintillation process in GATEv9.0?<br>
> <br>
> I installed GATEv9.0 on my Ubuntu Linux PC.<br>
> Of course, the "GATE_USE_OPTICAL" option was turned ON during the<br>
> installation. After GATE installation, I checked that everything<br>
> works fine except the scintillation process. <br>
> The optical.mac in the benchImaging folder is working well as it uses<br>
> "opticalphoton" as a source. I checked that Cerenkov process is also<br>
> working well. <br>
> However, "Scintillation Process" is NOT working in GATEv9.0 optical<br>
> simulation. If there is anyone who succeeded in scintillation process<br>
> in GATEv9.0, please let me know. <br>
> Best regards,<br>
> <br>
> Han Gyu Kang<br>
> <br>
> --------Han Gyu Kang, Ph.D, Researcher<br>
> <br>
> National Institute of Radiological Sciences (NIRS)<br>
> National Institutes for Quantum and Radiological Science and<br>
> Technology (QST) 4-9-1 Anagawa, Inage-ku, Chiba 263-8555, JAPAN<br>
> <br>
> <br>
> <br>
<br>
<br>
<br>
-- <br>
Démobilisé contre la réforme des retraites et la LPPR<br>
-- <br>
Mathieu Dupont - Ingénieur de Recherche<br>
CENTRE DE PHYSIQUE DES PARTICULES DE MARSEILLE<br>
UMR 7346 - Aix-Marseille Université - CNRS/IN2P3<br>
163 avenue de Luminy, Case 902, F -13288 Marseille CEDEX 09<br>
Tél.: +33 (0) 4 91 82 72 19<br>
Site : cppm.in2p3.fr - Email : <a href="mailto:mdupont@cppm.in2p3.fr">mdupont@cppm.in2p3.fr</a><br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><o:p></o:p></span></p>
</div>
</div>
</div>
</body>
</html>