Input Particles
Modelling of radiation source consists of sampling the required
information about initial particles (type of particle, starting coordinates,
direction cosines, energy, charge and particle weight)
The linac can be divided into:
Upper part - components that remain fixed for all possible beams
settings
(Patient independent)
Lower part - beam modifiers
(Patient dependent)
The upper part is modeled only once and a phase-space file is generated
at the entrance of the lower part
This file is then used as an input for the MCTP calculation (the lower part
and the patient are handled in one process)