[Gate-users] How to Run Simulation in VGate

Nicola Poles nicola.poles at gmail.com
Tue Jun 4 15:38:08 CEST 2013


Hi Amy,

VGate runs just the same as Gate. You can run your macro file from anywhere as long as you provide accurate paths for other macros you might call inside the "main" macro and for GateMaterials.db. Examples below:

/control/execute                    Verbose.mac

In this case you are executing a macro which is in the directory from which you have launched Gate.

/gate/geometry/setMaterialDatabase    ../GateMaterials.db

Here you are telling Gate that the GateMaterials.db is in the parent directory.

I hope this clears it up for you.

Nicola Poles
nicola.poles at gmail.com



On Jun 4, 2013, at 3:12 PM, Amy Meldrum <ameldru at g.clemson.edu> wrote:

> Hello all,
> 
> I am new to VGate, as it seemed like an easier way to use Geant4 for simulations. However, I am confused about a few things. If I were to create my own macro file for a simulation, and bring it into VGate, how would I go about running it? Do I need to create my own folder or directory in VGate? And do I need to copy the GateMaterials.db file into it? I understand the commands to run a macro, I am just not sure if I need to be in a specific directory, and what files need to be in the directory so that the simulation will work.
> 
> Thank you for any help. I hope to be able to start creating simulations shortly.
> 
> -Amy 
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users



More information about the Gate-users mailing list