<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ks_c_5601-1987">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="background-color: rgb(255, 255, 255);">
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
Dear John Apostolakis</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
Thanks for immediate and valuable comments!</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
However, unfortunately, both of your solutions does not resolve the problem.</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
1. I tried newest patch of Geant4 (e.g., v.4.10.01.p02) but same G4exception occurred.</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
2. I found how to change tolerance in G4 User Guide. Gate main or detector construction was modified so that it has G4GeometryManager just before defining any geometrical component of the setup.</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
e.g.,</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<span style="font-size: 12pt;">G4GeometryManager::GetInstance()->SetWorldMaximumExtent(some value);</span></p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<span style="font-size: 12pt;"><br>
</span></p>
<p><font face="Calibri, Arial, Helvetica, sans-serif" size="3">Tolerance change was observed using G4GeometryTolerance and tolerance was </font><font face="Calibri, Arial, Helvetica, sans-serif">smaller</font><font face="Calibri, Arial, Helvetica, sans-serif" size="3"> than
 e-9 mm</font><font face="Calibri, Arial, Helvetica, sans-serif" size="3">. However, same G4exception remains if I use setRmin.</font></p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
I'm going to test same thing with Geant4 alone and report it in Geant4 Problem reporting system. I would appreciate any comments if you have any insights on this issue.</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
Regards,</p>
<p style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
Wonmo Sung</p>
<br>
<br>
<div style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>º¸³½ »ç¶÷:</b> John Apostolakis <John.Apostolakis@cern.ch><br>
<b>º¸³½ ³¯Â¥:</b> 2015³â 11¿ù 10ÀÏ È­¿äÀÏ ¿ÀÈÄ 4:42<br>
<b>¹Þ´Â »ç¶÷:</b> ¼º¿ø¸ð<br>
<b>ÂüÁ¶:</b> gate-users@lists.opengatecollaboration.org<br>
<b>Á¦¸ñ:</b> Re: [Gate-users] G4sphere not available on nanometer scale</font>
<div> </div>
</div>
<div>
<div>Dear <span style="">Wonmo Sung,</span></div>
<div><span style=""><br>
</span></div>
<div>Could you confirm the version of Geant4 you are using?</div>
<div><br>
</div>
<div><span style="">I have two suggestions. The first is to try using the version of G4Sphere from the newest patch of Geant4. You can copy the source file into your installation, and, if needed only the header file and inline icc file from the include directory
 - and of course then the rebuild Geant4 libraries.</span></div>
<div><span style=""><br>
</span></div>
<div><span style="">The second concerns the tolerance. The default value is 1.e-09 mm, which is not small enough for your geometry. You can see in the Users Guide how to adapt it to the size of your setup.</span></div>
<div><span style=""><br>
</span></div>
<div><span style="">If your problem remains, I suggest to report it in the Geant4 Problem reporting system.</span></div>
<div><span style=""><br>
</span></div>
<div><span style="">Regards,</span></div>
<div><span style="">John Apostolakis </span></div>
<div><br>
On 10 Nov 2015, at 08:15, ¼º¿ø¸ð <<a href="mailto:wsung@snu.ac.kr">wsung@snu.ac.kr</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p><span style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">Dear Gate users</span></span></span><br style="font-family:Arial,Helvetica,sans-serif">
</span></p>
<p><span style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><br style="font-family:Arial,Helvetica,sans-serif">
</span></p>
<p><span style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">Hello</span></span></span></p>
<p><span style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">I'm currently using Gate v7.1.</span></span><br style="font-family:Arial,Helvetica,sans-serif">
</span></p>
<p><br style="font-size:10pt; font-family:Arial,Helvetica,sans-serif">
</p>
<p><span style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">I tried to use setRmin for hollow sphere on nanometer scale.</span></span><br style="font-family:Arial,Helvetica,sans-serif">
</span></p>
<p><span style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">e.g., </span></span></p>
<p><span style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">/gate/sphere/geometry/setRmin 1 nm</span></span><br style="font-family:Arial,Helvetica,sans-serif">
</span></p>
<p><span style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">/gate/sphere/geometry/setRmax 20 nm</span></span></span></p>
<p><br style="font-size:10pt; font-family:Arial,Helvetica,sans-serif">
</p>
<p><span style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">However, I got G4Exception as below.</span></span><br style="font-family:Arial,Helvetica,sans-serif">
</span></p>
<p><span style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">This error does not occur if I replace nm with mm OR if I use 0 nm for setRmin
 (=full sphere).</span></span><br style="font-family:Arial,Helvetica,sans-serif">
</span></p>
<p><span style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">Could you provide any comments or help to solve this problem? I appreciate any help in advance.</span></span></p>
<p><br style="font-size:10pt; font-family:Arial,Helvetica,sans-serif">
</p>
<p><span style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">------------------------------</span></span></span><wbr style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif"><span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">-----------------------------</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">    *** Dump for solid - sphere_solid ***</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">    ==============================</span></span></span><wbr style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif"><span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">=====================</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"> Solid type: G4Sphere</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"> Parameters: </span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">    inner radius: 1e-06 mm </span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">    outer radius: 2.000000000000001e-05 mm </span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">    starting phi of segment  : 0 degrees </span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">    delta phi of segment     : 360 degrees </span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">    starting theta of segment: 0 degrees </span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">    delta theta of segment   : 180 degrees </span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">------------------------------</span></span></span><wbr style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif"><span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">-----------------------------</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">-------- WWWW ------- G4Exception-START --------
 WWWW -------</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">*** G4Exception : GeomSolids1002</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">      issued by : G4Sphere::DistanceToOut(p,v,..</span></span></span><wbr style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif"><span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">)</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">Logic error: snxt = kInfinity  ???</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">Position:</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">p.x() = 5.106433541911882e-07 mm</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">p.y() = -7.11253374326104e-07 mm</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">p.z() = 9.224550730873363e-08 mm</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">Rp = 8.80424460864498e-07 mm</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">Direction:</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">v.x() = 0.9926097739516453</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">v.y() = -0.02063914065141685</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">v.z() = 0.1195820326338147</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">Proposed distance :</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">snxt = 9e+99 mm</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">*** This is just a warning message. ***</span></span></span><br style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">-------- WWWW -------- G4Exception-END ---------
 WWWW -------</span></span></span><br style="font-family:Arial,Helvetica,sans-serif">
</span></p>
<p><br>
</p>
<p><span style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">Regards,</span></span></span></p>
<p><span style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">Wonmo Sung</span></span></span></p>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Gate-users mailing list</span><br>
<span><a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a></span><br>
<span><a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></span></div>
</blockquote>
</div>
</div>
</div>
</body>
</html>