50 likes | 271 Views
Open a web browser in Go to GAMOS web page http://www.google.com : search for Geant4 Applications Medical GAMOS Or http://fismed.ciemat.es/GAMOS Go to Download Register yourself as New User Get the scripts of GAMOS.5.0.0 (right-click and save)
E N D
Open a web browser in Go to GAMOS web page http://www.google.com : search for Geant4 Applications Medical GAMOS Or http://fismed.ciemat.es/GAMOS Go to Download Register yourself as New User Get the scripts of GAMOS.5.0.0 (right-click and save) Leave the web browser and go to the terminal window in VMWARE shdownload_scripts Install it cd scripts sh installGamos.sh $HOME/gamos (or choose a different directory name) Exercise 0: installation GAMOS primer
Type in your terminal: cd $HOME/gamos/GAMOS.5.0.0 source config/confgamos.sh cd tutorials/Primer To run GAMOS: gamos exercise0a.in (output will be in gamos.log, errors in gamos_error.log) edit gamos.log Running GAMOS GAMOS primer
Create a new directory: cd .. mkdir myExample1 cd myExample1 Copy files from Primer: cp ../Primer/exercise0a.in . cp ../Primer/exercise0.geom . Start your example GAMOS primer
Edit your input file (test.in) Add one line before ‘/run/beamOn 10’ /control/execute ../../examples/visVRML2FILE.in It will produce a VRML file with the geometry (g4_00.wrl) and a VRML file with the geometry and tracks (g4_01.wrl) To visualise these files, download visualiser (there are many, many VRML visualisers in the web..) Visualising geometry GAMOS primer
Use ROOT software Create some histograms Add one line before ‘/run/beamOn 10’ /gamos/userAction GmTrackDataHistosUA Open the file. Type: root GmTrackDataHistosUA.root new TBrowser Select ‘ROOT Files’ ‘GmTrackDataHistosUA.root’ any histogram… (click twice with left-button) Visualise histograms GAMOS primer