[Gate-users] A few SI prefixes for units of activity
Marc Chamberland
MarcChamberland at cmail.carleton.ca
Wed Jul 3 20:06:48 CEST 2013
Hi,
I got tired of always having to write out the activity in terms of Bq or Ci in my macro files.
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.
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.
In any case, the files provided below should be a good starting point for anyone wanting these units in Gate.
Marc
__________________________
Marc Chamberland, MSc
PhD candidate
Department of Physics
Carleton University
Ottawa (ON)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130703/365a399d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: G4SystemOfUnits.hh
Type: application/octet-stream
Size: 4396 bytes
Desc: G4SystemOfUnits.hh
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130703/365a399d/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: G4SIunits.hh
Type: application/octet-stream
Size: 9806 bytes
Desc: G4SIunits.hh
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130703/365a399d/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: G4UnitsTable.cc
Type: application/octet-stream
Size: 19755 bytes
Desc: G4UnitsTable.cc
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130703/365a399d/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SystemOfUnits.h
Type: application/octet-stream
Size: 9323 bytes
Desc: SystemOfUnits.h
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130703/365a399d/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GlobalSystemOfUnits.h
Type: application/octet-stream
Size: 2783 bytes
Desc: GlobalSystemOfUnits.h
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130703/365a399d/attachment-0009.obj>
More information about the Gate-users
mailing list