Presentation is loading. Please wait.

Presentation is loading. Please wait.

Exercise 0: installation

Similar presentations


Presentation on theme: "Exercise 0: installation"— Presentation transcript:

1 Exercise 0: installation
Anaphe -- OO Data Analysis using C++ and Python 16 April 2017 Exercise 0: installation Open a web browser in Go to GAMOS web page : search for Geant4  Applications  Medical  GAMOS Or Go to Download Register yourself as New User Get the scripts of GAMOS (right-click and save) Leave the web browser and go to the terminal window in VMWARE sh download_scripts Install it cd scripts sh installGamos.sh $HOME/gamos2 It will take a long time, mainly compiling Geant4, so stop it for today (Ctrl C), it is already installed Pedro Arce GAMOS primer Andreas Pfeiffer, CERN/IT-API,

2 Anaphe -- OO Data Analysis using C++ and Python
16 April 2017 Running GAMOS Type in your terminal: cd $HOME/gamos/GAMOS.3.1.0 source config/confgamos.sh source config/confgamos.csh cd examples/test To run GAMOS: gamos test.in (output will be in gamos.log, errors in gamos_error.log) edit gamos.log Pedro Arce GAMOS primer Andreas Pfeiffer, CERN/IT-API,

3 Anaphe -- OO Data Analysis using C++ and Python
16 April 2017 Start your example Create a new directory: cd .. mkdir myExample1 Cd myExample1 Copy files from example/test: cp ../test/test.in . cp ../test/test.geom . Pedro Arce GAMOS primer Andreas Pfeiffer, CERN/IT-API,

4 Anaphe -- OO Data Analysis using C++ and Python
16 April 2017 Visualising geometry Edit your input file (phantom.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..) Copy g4_01.wrl to windows Open this file with 3dexplorer Pedro Arce GAMOS primer Andreas Pfeiffer, CERN/IT-API,

5 Anaphe -- OO Data Analysis using C++ and Python
16 April 2017 Visualise histograms 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) Pedro Arce GAMOS primer Andreas Pfeiffer, CERN/IT-API,


Download ppt "Exercise 0: installation"

Similar presentations


Ads by Google