Difference between revisions of "NU JPsi Simulations"
From GlueXWiki
(Created page with " __Quick Start__ # Copy /work/halld/home/sdobbs/jpsi_mc # To load software configurations, use setup_jlab.csh script, e.g., "source setup_jlab.csh" # Optional, check out you...") |
|||
Line 1: | Line 1: | ||
− | + | ==Quick Start== | |
Line 12: | Line 12: | ||
# Build/develop plugin: /work/halld/home/sdobbs/halld_my/ccbar_recon | # Build/develop plugin: /work/halld/home/sdobbs/halld_my/ccbar_recon | ||
− | + | ==Simulations== | |
Example files are located at. | Example files are located at. |
Revision as of 14:02, 9 March 2015
Quick Start
- Copy /work/halld/home/sdobbs/jpsi_mc
- To load software configurations, use setup_jlab.csh script, e.g., "source setup_jlab.csh"
- Optional, check out your own copy of latest software and build it:
- HDDS geometry package: svn co https://halldsvn.jlab.org/repos/trunk/hdds
- sim-recon: svn co https://halldsvn.jlab.org/repos/trunk/sim-recon
- Designate local build area by setting HALLD_MY
- J/psi event generator: svn co https://halldsvn.jlab.org/repos/trunk/home/sdobbs/bggen_jpsi - place in local build area
- Build/develop plugin: /work/halld/home/sdobbs/halld_my/ccbar_recon
Simulations
Example files are located at.
/work/halld/home/sdobbs/jpsi_mc/
The simulation chain looks like the following:
bggen_jpsi hdgeant mcsmear hdgeant.hddm hd_root -PPLUGINS=analysis_plugin hdgeant_smeared.hddm
Where
- bggen_jpsi generates the 4-vectors of the reaction. It is one of the many generator programs that does so.
- hdgeant simulates the path of the generated particles through the detector using GEANT
- mcsmear simulates the response of the detector
- hd_root is the main analysis program