Skip to content
Snippets Groups Projects
Select Git revision
  • master
1 result

templates

Bubble Sim

A Geant4 simulation for bubble chamber experiment.

Running Container

singularity pull --name bubble_sim.simg shub://whit2333/bubble_sim

Build and Install Manually

Standard cmake build assuming you have geant4 installed.

git clone ###remote###
mkdir -p bubble_chamber/build
cd    bubble_chamber/build
cmake ../. -DCMAKE_INSTALL_PREFIX=$HOME
make install

Run the simulation

bubble_chamber -h

Running options

The default will run 1000 events and save histograms to run file "0". The run number can be specified with the "--run" flag

bubble_chamber  --run=100

This creates the file EBL_sim_output_100.root.