Skip to content

Geant4 applications that can be compiled with CMSSW

Notifications You must be signed in to change notification settings

yeckang/Geant4Sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

How to compile GEANT4 application with cmssw

scram p -n gSim CMSSW CMSSW_10_4_0
cd gSim/src
git clone https://github.com/yeckang/Geant4Sim.git Geant4Sim
scram b -j4

If you run above script, you can run Geant4 application with following command.

TrGEMG4 <particle name> <number of events>

For example, you can run 1000 gamma events like following command.

TrGEMG4 gamma 1000

If simulations has done, you should run the analyser for it. The analyser contains the scripts for applying log scaled bins to x-axis. You can run the analyser with following command.

GeantAnalysis <input file name>

Then you can get the histograms. The scripts for the analyser is located at the 'Analyser' directory. You may need to modify them.

Also the scripts to run simulation and analyser with HTCondor is ready. You can find them in the 'test/Batch' directories. It has tested with the server at the University of Seoul. You may need to change the scripts to run the server you are using.

About

Geant4 applications that can be compiled with CMSSW

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published