[Gate-users] parameterized macros

Fernando Rannou rannou at diinf.usach.cl
Tue Apr 6 22:05:43 CEST 2010


Hi Esteban
try swapping the order of parameters, like:

$ Gate -a Xsource 5 -a Ysource 5 SimulacionLuzDetallada.mac


Fernando


Esteban Venialgo wrote:
> 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.
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>

-- 
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
MailScanner agradece a transtec Computers por su apoyo.



More information about the Gate-users mailing list