| GSI Biophysics | TRAX long write-up |

Source file format

!filetype    trxsrc
!fileversion <yyyymmdd>
!filedate    <dow> <mmm> <dd> <hh>:<mm>:<ss> <yyyy>
# 
# Comment
#
{

!particle <projectile> 
!energy   [ <E> ] 
[
<E> <dN/dE>
...
]
!direction { "*" | <theta> <phi> | <thmin> <thmax> <phmin> <phmax> | {(theta=<expr>) (phi=<expr>)} } 
[
<dN/dOmega(theta,phi)>
...
]

{

!cylinder  <cx> <cy> <cz> [ record ]
!height   <height> 
!radius   [ <rmin> ] <rmax>
[
!phi      <min> <max>
]
[
!axis     <theta> <phi>
]

|

!sphere    <cx> <cx> <cx> [ record ]
!radius   [ <rmin> ] <rmax>
[
!theta    <min> <max>
]
[
!phi      <min> <max>
]

|

!box      <cx> <cx> <cx> [ record ]
!size     <dx> <dy> <dz> 
[
!axis     <theta> <phi>
]

|

}
<projectile> specifies the primary particle type.
The !energy tag specifies either a monoenergetic source or an energy distribution given as a pair of numbers <E> <dN/dE>. From this distribution the actual energy will be sampled.
The !direction tag allows to specify
The following !cylinder, !sphere, !box keywords define the spatial source distribution, the meaning is the same as for the geometry volumes. They might be used to implement volume, area, and line sources with the given geometry.
The !axis keyword is not yet implemented.
All lengths are in cm, angles in degree. Energies are in keV, except for ions, for them in MeV/u.
The usual file name extension is .src. An example with an energy distribution is here.
| GSI Biophysics | TRAX long write-up |
Last updated: M.Kraemer,
$Id: traxfmtsrc.html,v 1.12 2008/02/05 10:51:44 kraemer Exp $