-
Notifications
You must be signed in to change notification settings - Fork 11
Test with TOPAS
ferdymercury edited this page May 17, 2026
·
1 revision
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 -j4Let'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.txtYou will see a picture like
For a more advanced example with 20 proton patient cases, check out https://github.com/SebastiaanBreedveld/TROTS/tree/master/TOPAS_simulation
Tutorials
RTI components
TOPAS
etc