Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.38 KB

readme.md

File metadata and controls

49 lines (33 loc) · 1.38 KB

Radiacode Digital Twin

Introduction

A Geant4 implamentation of the scintillator crystal inside the Radiacode detector.

alt text Comparison between experimental measurement using a 60Co source and the Geant4 simulation.

To compare the Monte Carlo simulation output with laboratory measurements, the detector's FWHM calibration curve must be applied to Gaussian smearing of the output.

Discrepancies between the model and measurements in the 100-400 keV range arise from backscattering events. The simulation only includes the detector, not the surrounding environment, preventing accurate reproduction of these events.

Prerequisites

Warning

In order to correctly compile this application you need both the Geant4 libraries (v. 4.11.2) and the ROOT libraries already installed on your system.

Compile the application

Clone the repository using :

git clone https://github.com/lucamors/G4Radiacode.git

Now create a build directory inside the G4Radiacode directory:

mkdir build && cd build

Launch CMake :

cmake ..

Finally you can build the application (using core):

make -j<N>

Usage

The G4RadiacodePrimaryGenerator is built around the use of G4GeneralParticleSource (i.e. GPS) and example for a 60Co source you can use:

macro/examples/co60.mac