Skip to content
/ mc Public
forked from mzks/mc

Geant4 example for experiment

Notifications You must be signed in to change notification settings

ymapteam/mc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Geant4 example for experiment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 85.4%
  • Python 10.3%
  • C 2.7%
  • CMake 1.4%
  • Shell 0.2%