[Gate-users] Problem parameter alias - command not found

David Larsson david.larsson at sth.kth.se
Fri Mar 20 22:43:01 CET 2015


Dear Gaters,


I want to launch some parameterized simulations but even though I'm following the user guide instructions there seem to still be some issues with the callback. The parameterisation deals mainly with the output part of my macro defined as:


# OUTPUT
/gate/output/ascii/enable
/gate/output/ascii/setFileName     {outputname}
/gate/output/ascii/setOutFileHitsFlag 1
/gate/output/ascii/setOutFileSinglesFlag 0

/gate/application/setTimeSlice     1  s
/gate/application/setTimeStart     {ta} s
/gate/application/setTimeStop      {tb}  s


>From this, I have a command-line/shell script call on the form of:


>> Gate -a [outputname,SPECT_voxsource_time001] [ta,0] [tb,1] SPECT_quad_voxsource.mac

and so on. However, when running the above I get an error message indicating that


Alias <ta> not found -- command ignored

***** Illegal parameter (0) </gate/applications/setTimeStart {ta} s> ******


Does anyone who's familiar with parameterized macros know what I'm doing incorrectly? FYI I'm running Gate v_7.0 with the corresponding recommended versions Geant4/CLHEP, etc.


Thanks for your help,


Best regards,


David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150320/90295c67/attachment.html>


More information about the Gate-users mailing list