test with topas - topasmc/dicom-interface GitHub Wiki

TOPAS


Extension compile

Go to your topas installation directory and compile with extensions.

note: you don't have to edit TOPAS extension files of RTIon.

$ cd /<your_topas_path>/

Add two lines in CMakeList.txt (in TOPAS) as following:

include_directories (
    ${CMAKE_BINARY_DIR}
    ${CMAKE_BINARY_DIR}/extensions
    ${PROJECT_SOURCE_DIR}/Geant4Headers
    ${PROJECT_SOURCE_DIR}/include
    /<your_sw_path>/rti.git/
    /<your_sw_path>/rti.git/gdcm-2.6
)
$ cmake -DTOPAS_EXTENSIONS_DIR=/<your_sw_path>/rti.git/rti/topas/rtion .
$ make -j4

Run a TOPAS example

Let's run a simple run with your beam model with TOPAS. For more information about TOPAS extensions including parameter file, see TOPAS extensions.


$ cd /your_sw_path/rti.git/topas/tutorial/
$ topas beam_view.txt

You will see a picture like