<div dir="ltr"><div><div>Dear Wang,<br><br></div>I encountered yet one more hurdle in defining a new material. I want to add a material--LaBr3Ce--Cerium doped LaBr3 (Cerium .05%, LaBr3 .95%). I added La, Br and Ce into [Elements];LaBr3 into [Materials] and LaBr3Ce into [Materials] by following coding lines:<br>
<br></div><div>[Elements]<br></div><div>.......<br></div>Lanthanum: S=La ; Z=57. ; A=138.9055 g/mole<br>Bromine: S=Br ; Z=35. ; A=79.904 g/mole<br>Cerium: S=Ce ; Z=58. ; A=58.12 g/mole<br><div><br></div>
<div>[Materials]<br>.......<br></div><div>LaBr3: d=5.06 g/cm3; n=2 ; state=solid<br> +el: name=Lanthanum ; n=1<br> +el: name=Bromine ; n=3<br><br>LaBr3Ce: d=5.3 g/cm3; n=2<br> +mat: name=LaBr3 ; f=0.95<br>
+el: name=Ce ; f=0.05<br></div><div><br>and renamed the file as <b>MyGateMaterials.db</b> . <br><br></div><div>Then I typed the following:<br><br>ds@ananth-Precision-T5600:~/Desktop/gate-work/smallCam$ Gate --qt<br>
<br></div><div>In the qt GUI session, I typed:<br><br></div><div>/control/execute smallcam.mac<br><br></div><div>This kicked me out of the screen.<br><br></div><div>The result on the terminal was the following:<br></div>
<div>
<br>[G4] <br>[G4] *************************************************************<br>[G4] Geant4 version Name: geant4-09-05-patch-02 (22-October-2012)<br>[G4] Copyright : Geant4 Collaboration<br>[G4] Reference : NIM A 506 (2003), 250-303<br>
[G4] WWW : <a href="http://cern.ch/geant4">http://cern.ch/geant4</a><br>[G4] *************************************************************<br>[G4] <br>[Core-0] Initialization of geometry<br>[Core-0] Initialization of physics<br>
[Core-0] Initialization of actors<br>[Core-0] <br>[Core-0] **********************************************************************<br>[Core-0] GATE version name: gate_v6.2 <br>[Core-0] Copyright : OpenGATE Collaboration <br>
[Core-0] Reference : Phys. Med. Biol. 49 (2004) 4543-4561 <br>[Core-0] Reference : Phys. Med. Biol. 56 (2011) 881-901 <br>[Core-0] WWW : <a href="http://www.opengatecollaboration.org">http://www.opengatecollaboration.org</a> <br>
[Core-0] **********************************************************************<br>[Core-0] <br>/home/ds/gate6.2/gate_v6.2/source/geometry/src/GateMaterialDatabase.cc (l.101): GateMaterialDatabase: could not find the definition for element 'Ce' in material files<br>
<br></div><div>I fail to understand why the element 'Ce' could not be found!<br><br></div><div>Can anyone explain my mistake and suggest the way out ?<br><br></div><div>Sincrely,<br><br></div><div>deba999<br><br>
</div><div>PS: I am attaching the "MyGateMaterials.db" file herewith<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 27, 2014 at 11:54 AM, Debendranath Sahoo <span dir="ltr"><<a href="mailto:deba999@gmail.com" target="_blank">deba999@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Dear Wang,<br><br></div>A big thank you for your suggestion. In fact I found my way out by trial and error and it worked.<br>
<br></div>deba999<br></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">
On Mon, May 26, 2014 at 5:07 PM, Beien Wang <span dir="ltr"><<a href="mailto:benjaminwang91@gmail.com" target="_blank">benjaminwang91@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Deba!<div><br></div><div>You can simply follow the instruction on this page <a href="http://wiki.opengatecollaboration.org/index.php/Users_Guide_V6.2:Materials" target="_blank">http://wiki.opengatecollaboration.org/index.php/Users_Guide_V6.2:Materials</a></div>
<div><br></div><div>The relevant parameters can be easily found I guess.</div><div><br></div><div>Regards,</div><div>Beien</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-26 12:00 GMT+02:00 <span dir="ltr"><<a href="mailto:gate-users-request@lists.opengatecollaboration.org" target="_blank">gate-users-request@lists.opengatecollaboration.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Gate-users mailing list submissions to<br>
<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:gate-users-request@lists.opengatecollaboration.org" target="_blank">gate-users-request@lists.opengatecollaboration.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:gate-users-owner@lists.opengatecollaboration.org" target="_blank">gate-users-owner@lists.opengatecollaboration.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Gate-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. adding new material to GateMaterials.db (Debendranath Sahoo)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 25 May 2014 18:53:23 +0530<br>
From: Debendranath Sahoo <<a href="mailto:deba999@gmail.com" target="_blank">deba999@gmail.com</a>><br>
To: Gate Users <<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>><br>
Subject: [Gate-users] adding new material to GateMaterials.db<br>
Message-ID:<br>
<<a href="mailto:CAOVZDz8-oeSN0KkpysdGqMZzTRZgR5kc72ss5bDFchmV4BEPUw@mail.gmail.com" target="_blank">CAOVZDz8-oeSN0KkpysdGqMZzTRZgR5kc72ss5bDFchmV4BEPUw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
May 25<br>
<br>
Dear Gate-users,<br>
<br>
I want to add LaBr3 with Ce doping of 0.5% into my GateMaterials.db fie.<br>
How do I do it?<br>
<br>
Kindly help!<br>
<br>
deba999<br>
--<br>
*Dr Debendranath Sahoo*<br>
Honorary Professor<br>
Physics Department<br>
Sri Sathya Sai Institute of Higher Learning<br>
Prashanthi Nilayam<br>
Puttaparthy<br>
A.P. 515 134<br>
e-mail: <a href="mailto:deba999@gmail.com" target="_blank">deba999@gmail.com</a><br>
Mobile: *094945-43026*<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140525/34693190/attachment-0001.html" target="_blank">http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140525/34693190/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">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>
<br>
End of Gate-users Digest, Vol 96, Issue 32<br>
******************************************<span><font color="#888888"><br>
</font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font face="courier new, monospace">Beien Wang</font><div><font face="courier new, monospace">Master's student at KTH, Royal Institute of Technology</font></div>
<div><font face="courier new, monospace">Mobile telephone: +46 720 327 308</font></div><div><font face="courier new, monospace">Email: <a href="mailto:benjaminwang91@gmail.com" target="_blank">benjaminwang91@gmail.com</a></font></div>
<div><font face="courier new, monospace">Address: Ekebergabacken 4A-1032, 123 63 Farsta, Sweden</font></div></div>
</font></span></div>
<br>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">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></div></div>
-- <br><i><b>Dr Debendranath Sahoo</b></i><div class=""><br>
Honorary Professor<br>Physics Department<br>Sri Sathya Sai Institute of Higher Learning<br>Prashanthi Nilayam<br>Puttaparthy<br>A.P. 515 134<br>e-mail: <a href="mailto:deba999@gmail.com" target="_blank">deba999@gmail.com</a><br>
</div>
Mobile: <b>094945-43026</b><br><br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br><i><b>Dr Debendranath Sahoo</b></i><br>Honorary Professor<br>Physics Department<br>Sri Sathya Sai Institute of Higher Learning<br>Prashanthi Nilayam<br>Puttaparthy<br>A.P. 515 134<br>
e-mail: <a href="mailto:deba999@gmail.com" target="_blank">deba999@gmail.com</a><br>Mobile: <b>094945-43026</b><br><br>
</div>