[Gate-users] parameterized macros

Esteban Venialgo venialgo at cae.cnea.gov.ar
Tue Apr 6 21:28:50 CEST 2010


Hi all,

I'm having a problem when I try to run gate using a macro file with some 
aliases.

I have defined this two aliases in my file SimulacionLuzDetallada.mac:
/gate/source/cesio1/gps/centre {Xsource} {Ysource} -27 mm

and When I run gate6.0.0 by typing this:
$ Gate SimulacionLuzDetallada.mac -a Xsource 5 -a Ysource 5

This is the error message:
[G4-cerr] Alias <Xsource> not found -- command ignored
[G4-cerr] ***** Illegal parameter (0) </gate/source/cesio1/gps/centre 
{Xsource} {Ysource} -27 mm> *****
                                                      


P.S.1:  Running in batch mode doesn't work either (Gate -a Xsource 5 -a 
Ysource 5  < SimulacionLuzDetallada.mac).

P.S.2: I'm using gate6.0.0/geant4.9.2p02/CLHEP2.0.4.2/Debian5.0 
                                      

           Thanks in advance.  Esteban Venialgo.


More information about the Gate-users mailing list