Message: Re: Is it possible to use Qt to visualize Dose as in example RE03 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Is it possible to use Qt to visualize Dose as in example RE03 

Forum: Documentation and Examples
Re: Question Is it possible to use Qt to visualize Dose as in example RE03 (David)
Date: 21 Jul, 2013
From: Akinori Kimura <Akinori Kimura>

Using gMocren is a way to visualize a dose distribution. gMocren is 
a standalone software. gMocrenFile driver in the visualization system 
is available to save a file stored a dose distribution in a Geant4 
simulation for gMocren. gMocren can be downloaded at 
http://geant4.kek.jp/gMocren/ .

If you use gMocren with the RE03 example, use the macro file attached 
below as follows:
> RE03 run.mac
As a result of it, a g4_00.gdd file is created. gMocren can open it 
to visualize the dose distribution.

Regards,
Akinori


> cat run.mac
#-----------------------------------#
# register a visualization driver
#
/vis/scene/create
/vis/open gMocrenFile
/vis/gMocren/setVolumeName boxMesh_1
#
/vis/scene/endOfEventAction accumulate
/vis/scene/add/trajectories
/vis/scene/add/psHits
#
#-----------------------------------#
# define a scoring mesh
#
/score/create/boxMesh boxMesh_1
#
/score/mesh/boxSize 100. 100. 100. cm
/score/mesh/nBin 30 30 30
#
/score/quantity/energyDeposit eDep
/score/quantity/doseDeposit dose
/score/quantity/nOfStep nOfStepGamma
/score/filter/particle gammaFilter gamma
#
/score/close
/score/list
#
#-----------------------------------#
#
/control/verbose 2
/run/verbose 1
/run/beamOn 100

 Add Message Add Message
to: "Re: Is it possible to use Qt to visualize Dose as in example RE03"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]