Hello everyone,
I am using Geant4 version geant4-11-01-patch-02 and working with the DICOM example. I want to calculate the distance traveled by a particle in each voxel of the DICOM volume, not the total distance traveled by each particle, but specifically the distance in each voxel it traverses. The approximate way to do this is to assume that all particles traverse the voxel in a straight line, but I would like to calculate the exact distance traveled by the particle in each voxel, regardless of the particle’s trajectory.
I apologize if this is not the most appropriate category for my question, but I wasn’t sure which one would be best.
Does anyone have any ideas on how to achieve this? I would greatly appreciate any suggestions or ideas to accomplish this.
Thank you in advance!
Geant4 Version: 11-01
Operating System: Linux Mint
Compiler/Version: GNU Make 4.3
_CMake Version:_3.28.3