Skip to content
/ CDetMC Public

Generic GEANT4 simulation of two scintillator detectors with optical photon generation

Notifications You must be signed in to change notification settings

brash99/CDetMC

Repository files navigation

CDetMC

To compile the code type: make or gmake

To run the event generator type:

root -b -q 'batch/GenParticles.C(13,100,7000,0.0,0.0)'

where the arguments are: ParticleType, Number of Events, Run Number, x position, z position

This creates a root file in the data/ directory

To run the simulation interactively type:

AnaBarMC [return] then at the prompt type: /control/execute macros/vis_single.mac

To run the simulation in batch mode type:

./Automate.sh 13 7000 7010 100 0.0 0.0

where the arguments are: ParticleType, Run Number Start, Run Number End, Number of Events per run, x position, z position

Note:
For running on stand-alone Ubuntu systems, there are corresponding scripts with Ubuntu extensions. For running on stand-alone Mac systems, there are corresponding scripts with Mac extensions.

About

Generic GEANT4 simulation of two scintillator detectors with optical photon generation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published