Difference between revisions of "Solid sim geant4"

From Hall A Wiki
Jump to: navigation, search
(Simulation Study)
(Solid simulation with GEMC)
Line 1: Line 1:
 
== Solid simulation with GEMC ==
 
== Solid simulation with GEMC ==
 +
 +
=== General info ===
 +
* GEMC website '''http://gemc.jlab.org'''  (old http://clasweb.jlab.org/wiki/index.php/Gemc)
 +
* GEMC SVN '''https://clas12svn.jlab.org/repos/clas12/gemc/trunk/'''
 +
* SoLID_GEMC SVN '''https://jlabsvn.jlab.org/svnroot/solid/solid_gemc''' ('''most of code location is under this one''')
 +
* solgemc SVN '''https://jlabsvn.jlab.org/svnroot/solid/solgemc'''
  
 
=== For new users ===
 
=== For new users ===
Line 13: Line 19:
 
Any question, please email Zhiwen Zhao zwzhao@jlab.org
 
Any question, please email Zhiwen Zhao zwzhao@jlab.org
  
==== Quick start ====
+
=== Quick start ===
 
For a quick start, run the following commands on ifarm:
 
For a quick start, run the following commands on ifarm:
 
  source /site/12gev_phys/ce/jlab.csh
 
  source /site/12gev_phys/ce/jlab.csh
Line 23: Line 29:
 
(Last verified by [[User:Wdconinc|Wdconinc]] 23:46, 14 April 2013 (UTC).)
 
(Last verified by [[User:Wdconinc|Wdconinc]] 23:46, 14 April 2013 (UTC).)
  
=== General info ===
+
=== Things to know ===
* GEMC website '''http://gemc.jlab.org'''  (old http://clasweb.jlab.org/wiki/index.php/Gemc)
+
 
* GEMC SVN '''https://clas12svn.jlab.org/repos/clas12/gemc/trunk/'''
+
GEMC ouput with unit MeV, mm, ns in flux and gen banks, we should keep the same unit for newly generated banks.
* SoLID_GEMC SVN '''https://jlabsvn.jlab.org/svnroot/solid/solid_gemc''' ('''most of code location is under this one''')
+
 
* solgemc SVN '''https://jlabsvn.jlab.org/svnroot/solid/solgemc'''
+
GEMC doesn't record passby particles which deposit zero energy in the sensitive area. To record it by option "-RECORD_PASSBY=1"
  
 
=== [[Solid_install | install GEMC for SoLID simulation]] ===
 
=== [[Solid_install | install GEMC for SoLID simulation]] ===
Line 44: Line 50:
  
 
=== [[Solid_eventgenerator| event generator]] ===
 
=== [[Solid_eventgenerator| event generator]] ===
 
  
  

Revision as of 13:29, 8 May 2013

Solid simulation with GEMC

General info

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.

Any question, please email Zhiwen Zhao zwzhao@jlab.org

Quick start

For a quick start, run the following commands on ifarm:

source /site/12gev_phys/ce/jlab.csh
setenv SoLID_GEMC ~/solid_gemc
svn checkout https://jlabsvn.jlab.org/svnroot/solid/solid_gemc $SoLID_GEMC
setenv GEMC_HOST soliddb.jlab.org
setenv GEMC_field /u/group/halla/www/hallaweb/html/12GeV/SoLID/download/field
$SoLID_GEMC/script/run_solid_CLEO_PVDIS

(Last verified by Wdconinc 23:46, 14 April 2013 (UTC).)

Things to know

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

thought on solid gemc developing

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

Visualization through GDML and directly through GEMC

talks and notes

Solid simulation 2011/03 (Zhiwen)

SoLID Monte Carlo 2011/01 (Seamus)

Strategy 2010/10 (Zhiwen)

Frame ideas before we adopted GEMC

Strategy/task/milestone

Framework Ideas (Seamus)