SiPM detector simulation using CERN Geant4. DE-Detector under new name.
Go to file
David Baranyai 9b2d6fcf08 Minor changes 2020-02-06 23:47:00 +01:00
include Minor changes 2020-02-06 23:47:00 +01:00
macros New name and major changes 2018-09-04 23:25:14 +02:00
src Minor changes 2020-02-06 23:47:00 +01:00
CMakeLists.txt Added CMakeLists.txt 2018-10-04 10:30:35 +02:00
README.md Minor changes 2020-02-06 23:47:00 +01:00
config.conf Default config file for sample 2018-09-05 19:52:48 +02:00
sipm.cc Minor changes 2020-02-06 23:47:00 +01:00

README.md

SiPM Detector simulation using CERN Geant4

Description

Simulation of detecting photons using Silicon photomultiplier. The output file is a ROOT file. Can be checked by TBrowser.

Prerequisities

  • CERN Geant4
  • CERN Root (tested on 6.19/01)
  • Linux or MacOS (should work on Windows, not tested)
  • Also tested on WLS Ubuntu (X11 needed)

Building

Before building, be sure that you changed the macroPath to the right directory in sipm.cc.

git clone https://git.divaldo.hu/divaldo/SiPM.git
mkdir build_dir && cd build_dir
cmake ../SiPM
make -jN (where N is the number of jobs to run simultaneously)

Updates

  • 2020/02/06 - SiPMAnalisys' and SiPMParameters' GetInstance functions are returning a static reference instead of pointer
  • 2020/02/06 - G4Mutex replaced with std::mutex
  • 2020/02/06 - Input config file and output data file name can be changed with the GetInstance functions on the first call