Skip to content

lmarchetti02/tesi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARRAY OF CdTe PIXELS
Geant4-based simulation
B.Sc. final work

Luca Marchetti
Prof. Vincenzo Monaco (promoter)
Università degli Studi di Torino
A.A. 2023/2024


REQUIREMENTS

It is a CMake project, so CMake must be installed in order to compile and run the project. Furthermore, a working Geant4 version installed on the computer is of course necessary as well. The results are stored in ROOT files, so it is advisable that a working version of ROOT is installed on the computer.


HOW TO COMPILE AND RUN

On MacOS follow the steps below:

  1. Download source code.
  2. Unzip it in a directory of choice.
  3. Open a terminal and navigate to the source code directory.
  4. Make a build folder by writing
    mkdir build
  5. Navigate to the build folder and generate the cmake files
    cmake ..
  6. Make the project
    make
  7. To run the simulation in interactive mode:
    ./rivelatore 
  8. To run the simulation in batch mode:
    ./rivelatore run.mac