Solid sim geant4
Contents
- 1 Solid simulation with GEMC
- 1.1 Quick start
- 1.2 General info
- 1.3 install GEMC for SoLID simulation
- 1.4 run GEMC with SoLID configuration
- 1.5 Solid mysql database
- 1.6 define geometry/material/sensitivity
- 1.7 magnetic field map
- 1.8 hit processing
- 1.9 simulation output
- 1.10 event generator
- 1.11 Visualization through GDML and directly through GEMC
- 2 Simulation Study
- 3 talks and notes
- 4 General thoughts
Solid simulation with GEMC
Quick start
note:
1. make sure you have no other environmental variable set at login which may have conflict with GEMC. one way to do it is to rename .cshrc and .login to something else and log out and then in again
2. this will run GEMC 1.8 with Geant4.9.6.p01 as 7/26/2013
on ifarm using pre-compiled GEMC instllation
ssh ifarm.jlab.org svn checkout https://jlabsvn.jlab.org/svnroot/solid/solid_gemc sed s/solid_gemc_path/"~\/solid_gemc"/ solid_gemc/script/set_solidGEMC_farm > set_solidGEMC_farm_mine source set_solidGEMC_farm_mine $SoLID_GEMC/script/run_solid_CLEO_PVDIS (this will show SoLID PVDIS setup) $SoLID_GEMC/script/run_solid_CLEO_SIDIS_3he (this will show SoLID SIDIS setup)
on any machine using a local GEMC installation
download and install GEMC by following the installation instruction svn checkout https://jlabsvn.jlab.org/svnroot/solid/solid_gemc modify solid_gemc/script/set_solidGEMC_local to your local setting and then source it then you can run the script like run_solid_CLEO_PVDIS or run_solid_CLEO_SIDIS_3he
General info
links and contacts
- GEMC website http://gemc.jlab.org (old http://clasweb.jlab.org/wiki/index.php/Gemc)
- GEMC SVN
- vanilla for downloading codehttps://clas12svn.jlab.org/repos/clas12/gemc/trunk/
- websvn interface for browsing code[1]
- SoLID_SVN https://jlabsvn.jlab.org/svnroot/solid
- SoLID_GEMC SVN https://jlabsvn.jlab.org/svnroot/solid/solid_gemc
- solgemc SVN https://jlabsvn.jlab.org/svnroot/solid/solgemc
general question, please email Zhiwen Zhao <zwzhao@jlab.org>
solgemc related question, please email Seamus Riordan <riordan@jlab.org>
For new users
Read the general GEMC info on its website to learn what it is. In particular take a look at the GEMC tutorials.
Check out the installation and running guide to run GEMC with Solid configuration.
Finally you can go through rest of items to really start using it.
Many information are cross linked through pages even with SoLID hardware design and software analysis. So make sure to browse around.
Things to know
Use a graphic SVN to monitor code change with alert
GEMC ouput with unit MeV, mm, ns in flux and gen banks, we should keep the same unit for newly generated banks.
GEMC doesn't record passby particles which deposit zero energy in the sensitive area. To record it by option "-RECORD_PASSBY=1"
install GEMC for SoLID simulation
run GEMC with SoLID configuration
Solid mysql database
define geometry/material/sensitivity
magnetic field map
hit processing
simulation output
event generator
Visualization through GDML and directly through GEMC
Simulation Study
acceptance
Compare to geant3 result
SIDIS kinematics
rate and background
pi e Ratio
Figure of Merit for baffle designs
Tracking
SIDIS/PVDIS Cherenkov
talks and notes
Solid simulation 2011/03 (Zhiwen)
SoLID Monte Carlo 2011/01 (Seamus)