Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 665 Bytes

File metadata and controls

39 lines (29 loc) · 665 Bytes

mc - Geant4 example

This is an example of Geant4 simulation for experiment.

Features

  • Prepare materials
  • Output for ROOT tree

Usage

Install & build

> git clone https://github.com/mzks/mc
> cd mc
> cmake -S source -B build
> cmake --build build
  • GUI mode
>cd bench
>../build/mc
  • Batch mode
>cd bench
>../build/mc bat.mac

Requirement

  • Geant4.10.6
  • ROOT6
  • Qt (GUI mode)

You can run easily, without installing ROOT and Geant4 using virtual machine. When you use this virtual machine, you have to do >source $ROOTSYS/bin/thisroot.sh before running.