| GSI Biophysics
| TRAX long write-up
|
evalusr usrfct
| files
/ outfile() userstr()
debug
Purpose
Evaluate via user function.
Parameters
- usrfct
-
Name of a an executable file with a user supplied evaluation function,
created by means of the
trxfct
script.
- files
-
List of input listmode track files to be evaluated.
If no files are specified and this command is given before the
simulation is run, the listmode
data are directly passed to the evaluation routine.
- outfile(filename)
-
Name of the file to receive the evaluated data.
- userstr(string)
-
User specified string, passed "as is" to the
evalusr
function.
It may be used to specify any user specific information.
- debug
-
Debug switch. Lots of output !
Remark
Examples
An example for a
user function.
Adapt it according to your needs.
The event structure STRXPARTICLEEVT
passed to this function is described in
trxparticle.h.
Then compile and link:
trxfct trxevalusr
Note that this requires the $TRAX
environment variable
to be properly set to the TRAX
installation directory.
An example to run with a user function is
here
| GSI Biophysics
| TRAX long write-up
|
Last updated: M.Kraemer,
$Id: traxcmdevalusr.html,v 1.1 2008/02/05 10:51:41 kraemer Exp $