How to create your treatment machine - topasmc/dicom-interface GitHub Wiki

This is a step-by-step guide about how to implement a new treatment machine and perform TOPAS simulations with the new treatment machine. In dicom-interface, there are two ways to implement the machine specific beam models:

  • using external file, called machine description file (no programming required).
  • direct implementation of a user defined treatment_machine class. (C++ proramming required).

Both approaches have pros and cons, for example, although the direct implementation requires C++ programming knowledge and understand of the concepts used in this library, you can implement versatile details about your system. We recommend to start with machine description file and consider the direct implementation if there are details that the machine description file cannot cover enough.

We will explain these two approahces in this page.

Example treatment machine

Here is the information for the system we will create:

  • Institute name: RBE
  • Treatment machine name: 1.1
  • beam delivery technique: MODULATED (spot-scanning)
  • A DICOM-RT Ion file to be simulated: rti_rbe_plan.dcm