ohassn / compton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Geant simulation of Compton polarimeter in IP6 for the EIC at BNL

Dependencies

  • Geant 4
  • ROOT 5/6

Steps to checkout the repository and compile

 git clone https://github.com/eic/compton.git 
 cd compton 
 mkdir build 
 cd build 
 cmake ../ 
 make 
 cd ../ 

Run

By default run the simulation from the main directory.

  • Run as a batch job for a given number of events
 ./build/run run.mac 
  • Or run with visualization
 ./build/run 

Magnet files

All objects in the simulation are defined in the magnet file, change magFile/worldVol in init_vic.mac to specify the needed magnet file/world volume.

About


Languages

Language:Crystal 99.9%Language:C++ 0.1%Language:Roff 0.0%Language:C 0.0%Language:CMake 0.0%Language:R 0.0%