This repository contains the code on which the papers
PAPER 1<br />
PAPER 2
are based on. A two-step simulation of nanodosimetric measurements with the PTB Ion Counting Nanodosimeter of therapeutic-energy carbon ions penetrating simulated tissue is presented and discussed.

Detailed simulations using the Geant4 toolkit were performed to investigate the radiation field in the nanodosimeter and to provide input data for track structure simulations, which were performed with a developed version of the PTra code.
If you are interested in the simulation data, please contact us.
### Structure
1. Simulation_RadiationField <br />
Condensed-history simulation using Geant4 of the experiment, obtaining information about the particle field in TVP and hits in the PSDs
2. Simulation_TrackStructure_Preparation <br />
Condensed history simulation using Geant4 of the experiment, obtaining input data for the track structure simulations
3. Track_Structure_Simulations <br />
Track structure simulation using PTra of the particle field in the target volume of the nanodosimeter
## Requirements
- Geant4 version 11.00.02
- python version 3.9.6
- numpy version 1.21.2
- matplotlib version 3.4.3
- pandas version 1.3.1
- scipy version 1.7.1
## Contact
Miriam Schwarze - miriam.schwarze@ptb.de <br />
Hans Rabus - hans.rabus@ptb.de <br />
Gerhard Hilgers - gerhard.hilgers@ptb.de <br />
## License
GNU GENERAL PUBLIC LICENSE. See `LICENSE.txt` for more information.
## Citation
If you use the code for your research, please consider citing: