<div dir="ltr"><div style>Hello, </div><div style><br></div><div style>if you think it is possible to add these additional units not in G4/clhep files but only form Gate files (without the need to change G4 nor clhep files), please do and we could insert this modifications in the Gate source code. </div>
<div style><br></div><div style>thanks, </div><div style>David</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 3, 2013 at 8:06 PM, Marc Chamberland <span dir="ltr"><<a href="mailto:MarcChamberland@cmail.carleton.ca" target="_blank">MarcChamberland@cmail.carleton.ca</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="word-wrap:break-word">Hi,
<div><br>
</div>
<div>I got tired of always having to write out the activity in terms of Bq or Ci in my macro files.</div>
<div><br>
</div>
<div>So, I added kBq, MBq, GBq, mCi, and muCi (microcurie) to the list of units supported in Geant4 (and thus in Gate). Replace the following files (starting with G4) in your Geant4 installation and recompile. I think you may also need to recompile Gate to
have the changes taken into account.</div>
<div><br>
</div>
<div>Depending on how your system is set up, you may need to modify some files in your CLHEP distribution, too. I've also included them below: GlobalSystemOfUnits.h and SystemOfUnits.h.</div>
<div><br>
</div>
<div>In any case, the files provided below should be a good starting point for anyone wanting these units in Gate.</div>
<div><br>
</div>
<div>
<div><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word">
<div>
<div>Marc</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>__________________________</div>
<div><br>
</div>
<div>Marc Chamberland, MSc</div>
PhD candidate<br>
Department of Physics<br>
Carleton University<br>
Ottawa (ON)</div>
</div>
</span></div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<div style="word-wrap:break-word">
<div></div>
</div>
<div style="word-wrap:break-word">
<div></div>
</div>
<div style="word-wrap:break-word">
<div></div>
</div>
<div style="word-wrap:break-word">
<div></div>
</div>
<div style="word-wrap:break-word">
<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"><div><br></div>
-- <br><div dir="ltr">David Sarrut, Phd<br>Chargé de recherche CNRS<br>CREATIS, UMR CNRS 5220, Inserm U 1044<div>Centre de lutte contre le cancer Léon Bérard<br>28 rue Laënnec, 69373 Lyon cedex 08<br>Tel : 04 78 78 51 51 / 06 74 72 05 42<br>
<a href="http://www.creatis.insa-lyon.fr/~dsarrut" target="_blank">http://www.creatis.insa-lyon.fr/~dsarrut</a><br>_________________________________</div><div> "2 + 2 = 5, for extremely large values of 2"<br>_________________________________</div>
</div>
</div>