Dear Taro<br><br>1- if you used GATE 5 or later you should use regularMatrix instead of <span style="font-family:'MS PGothic',sans-serif">parameterizedBoxMatrix <br>2- you should use the phantom matrix in uint16format  and then convert it to interfile by XMEDCON(linux Ver)<br>
<br>it seems other parameters are Ok<br><br>hope this help you<br><br></span><br><div class="gmail_quote">On Wed, Sep 26, 2012 at 7:04 PM,  <span dir="ltr"><<a href="mailto:dankemori@yahoo.co.jp" target="_blank">dankemori@yahoo.co.jp</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:MS PGothic,sans-serif"><div><div style="font-size:12pt"><span style="font-family:'MS PGothic',sans-serif">Hello Gate users.</span></div>
<div style="font-size:12pt"><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div style="font-size:12pt"><span style="font-family:'MS PGothic',sans-serif">I'm trying to simulate a Voxelized Phantom(Brain Phantom) in a PET system now. <br>
</span></div><div style="font-size:12pt"><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div style="font-size:12pt"><span style="font-family:'MS PGothic',sans-serif">But when I run the GATE , I have following error</span></div>
<div style="font-size:12pt"><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div style="font-size:12pt"><span style="font-family:'MS PGothic',sans-serif">=====================================================</span></div>
<div style="font-size:12pt"><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div><span style="font-family:'MS PGothic',sans-serif"><font size="3"> </font>PANIC! - G4SmartVoxelHeader::BuildNodes()</span></div>
<div><span style="font-family:'MS PGothic',sans-serif">         Daughter physical volume hof_brainVoxel_PVP</span></div><div><span style="font-family:'MS PGothic',sans-serif">         is entirely outside mother logical volume hof_brain_L !!</span></div>
<div><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div><span style="font-family:'MS PGothic',sans-serif">*** G4Exception : InvalidSetup</span></div><div><span style="font-family:'MS PGothic',sans-serif">      issued by : G4SmartVoxelHeader::BuildNodes()</span></div>
<div><span style="font-family:'MS PGothic',sans-serif">Overlapping daughter with mother volume.</span></div><div><span style="font-family:'MS PGothic',sans-serif">*** Fatal Exception *** core dump ***</span></div>
<div><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div><span style="font-family:'MS PGothic',sans-serif">*** G4Exception: Aborting execution ***</span></div><div><span style="font-family:'MS PGothic',sans-serif">Aborted</span></div>
<div style="font-size:12pt"><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div style="font-size:12pt"><span style="font-family:'MS PGothic',sans-serif">===================================================== <br>
</span></div><div style="font-size:12pt"><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div style="font-size:12pt"><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div style="font-size:12pt">
<span style="font-family:'MS PGothic',sans-serif">My definitions are </span></div><div style="font-size:12pt"><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div style="font-size:12pt">
<span style="font-family:'MS PGothic',sans-serif">-----------------------------------------------------</span></div><div><span style="font-family:'MS PGothic',sans-serif">#  B R A I N   P H A N T O M</span></div>
<div><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/world/daughters/name hof_brain</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/world/daughters/insert parameterizedBoxMatrix</span></div>
<div><span style="font-family:'MS PGothic',sans-serif">/gate/hof_brain/geometry/insertReader interfile</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/hof_brain/interfileReader/insertTranslator range</span></div>
<div><span style="font-family:'MS PGothic',sans-serif">/gate/hof_brain/interfileReader/rangeTranslator/readTable range.dat</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/hof_brain/interfileReader/rangeTranslator/describe 1</span></div>
<div><span style="font-family:'MS PGothic',sans-serif">/gate/hof_brain/interfileReader/readFile hof3.h33</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/hof_brain/placement/setTranslation  0. 0. 0. mm</span></div>
<div><span style="font-family:'MS PGothic',sans-serif">/gate/hof_brain/placement/setRotationAxis 1 0 0</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/hof_brain/placement/setRotationAngle 0 deg</span></div>
<div><span style="font-family:'MS PGothic',sans-serif">/gate/hof_brain/attachVoxelPhantomSD</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/hof_brain/addOutput doseOutput</span></div>
<div><span style="font-family:'MS PGothic',sans-serif">/gate/output/doseOutput/saveUncertainty true</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/output/doseOutput/setFileName hof_brain_paraDose.bin</span></div>
<div><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div><div><span style="font-family:'MS PGothic',sans-serif">#<span style="white-space:pre-wrap">    </span>B R A I N </span></div>
<div><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/source/addSource voxel_brain voxel</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/reader/insert interfile </span></div>
<div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/interfileReader/translator/insert range</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/interfileReader/rangeTranslator/readTable activityRange.dat</span></div>
<div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/interfileReader/rangeTranslator/describe 1</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/interfileReader/readFile hof3.h33</span></div>
<div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/interfileReader/verbose 1</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/setType backtoback</span></div>
<div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/setAccolinearityFlag true</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/setAccoValue 0.5 deg</span></div>
<div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/gps/particle gamma</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/gps/energytype Mono</span></div>
<div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/gps/monoenergy 0.511 MeV</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/gps/angtype iso</span></div>
<div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/gps/mintheta 0. deg</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/gps/maxtheta 180. deg</span></div>
<div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/gps/minphi 0. deg</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/gps/maxphi 360. deg</span></div>
<div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/gps/confine NULL</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/setPosition -128. -128. -55. mm</span></div>
<div><span style="font-family:'MS PGothic',sans-serif">/gate/source/voxel_brain/dump 1</span></div><div><span style="font-family:'MS PGothic',sans-serif">/gate/source/list</span></div></div><span style="font-family:'MS PGothic',sans-serif">-----------------------------------------------------</span><div style="font-size:12pt">
<span style="font-family:'MS PGothic',sans-serif"><br></span></div><div style="font-size:12pt"><div><span style="font-family:'MS PGothic',sans-serif">Any kind of hints or solutions to my problem are appreciated.</span></div>
<div><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div><span style="font-family:'MS PGothic',sans-serif">Thank you </span></div>
<div><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div><span style="font-family:'MS PGothic',sans-serif">*************************</span></div><div><span style="font-family:'MS PGothic',sans-serif">Taro Kanamaru</span></div>
<div><span style="font-family:'MS PGothic',sans-serif"><br></span></div><div><span style="font-family:'MS PGothic',sans-serif">Tohoku University Japan</span></div><div><span style="font-family:'MS PGothic',sans-serif"><br>
</span></div><div><span style="font-family:'MS PGothic',sans-serif">email: <a href="mailto:dankemori@yahoo.co.jp" target="_blank">dankemori@yahoo.co.jp</a></span></div><div><span style="font-family:'MS PGothic',sans-serif">************************* </span></div>
</div></div></div></div><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" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Ali Asghar Parach, Ph.D<br>
Assistant of Medical Physics<br>Yazd University of 
Medical Sciences,Yazd,Iran<br><a href="http://www.ssu.ac.ir/index.php?id=cetest_firstpage7" rel="nofollow" target="_blank">http://www.ssu.ac.ir/index.php?id=9595</a><br><br><br>