Skip to content

hidet/sp8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version

  • Geant4 10.5 -- first released 7 December 2018 (patch-01, released 17 April 2019)
  • ROOT 6.18/00

Modify CMakeLists.txt

set(name sp8)
set(useROOT true)
set(CMAKE_MODULE_PATH "/Users/tatsuno/cern/GEANT4/geant4.10.05-install/lib/Geant4-10.5.1/Modules")

How to use

cd build
cmake ..
make
./g4_sp8 mac/....mac

The .mac files in mac folder contain important parameters to specify the conditions

You can specify,

  • target material
  • target density
  • beam particle
  • beam energy
  • beam momentum
  • beam direction
  • beam position
  • output file name
  • etc...

This sp8 is modified from the stopmu2019 code.

The sensitive detector DEG is set as SDD.