Spring 2016 Data Simulations: sim1.2.1


version management system fileversion_1.30.xml
CCDB SQLite file/group/halld/Software/calib/ccdb_sqlite/ccdb_2017-02-01.sqlite
JANA_CALIB_CONTEXT"variation=mc calibtime=2017-01-31"


  1. bggen command: bggen
  2. hdgeant command: hdgeant
  3. mcsmear command: mcsmear -PJANA:BATCH_MODE=1 -PTHREAD_TIMEOUT=300 -PNTHREADS=1 hdgeant.hddm
  4. hd_root command: hd_root -PJANA:BATCH_MODE=1 -PNTHREADS=1 -PPLUGINS=danarest,monitoring_hists,TRIG_online,BCAL_inv_mass,FCAL_invmass,BCAL_Hadronic_Eff,CDC_Efficiency,FCAL_Hadronic_Eff,FDC_Efficiency,SC_Eff,TOF_Eff,p2pi_hists,p3pi_hists -PTRKFIT:HYPOTHESES=2,3,8,9,11,12,14 hdgeant_smeared.hddm

JLab Farm Control Files

File TypeFile
Submission File Template sim1_2_1.jsub
Job Script Template sim1_2_1.csh
Job Parameter Definitions sim1_2_1.jproj

File Name Conventions

File TypeFilename Template
HDGeant output, unreconstructed, unsmeared (HDDM format)hdgeant.hddm
mcsmear output, unreconstructed (HDDM format)hdgeant_smeared.hddm

Configuration Files

setup_jlab.csh set-up script for farm environment at JLab
version.xml XML file of software versions used
osg-container.shSingularity container wrapper script
sim.cshMain job script to be executed
sim.omega.cshJob script for omega->gamma pi0 to be executed
sim.4pi.cshJob script for 4pi+- production to be executed
gammapi0.inputGenr8 config file for omega -> gamma pi0
run.ffr.3.4mm_coll.template template configuration file for bggen for the 3.4 mm collimator with place-holder strings for the number of events and for the random number seed. Note that you must do a "ln -s run.ffr.3.4mm_coll fort.15" in the run directory for bggen to respect the contents of run.ffr.
run.ffr.5.0mm_coll.template Same for the 5.0 mm collimator.
control.in_3.4mm_coll template configuration file for hdgeant for runs with the 3.4 mm collimator
control.in_5.0mm_coll template configuration file for hdgeant for runs with the 5.0 mm collimator
gsr.pl Perl script to replace place-holder strings in configuration files with actual values. Original file is overwritten. Backup is made first.
Gen4Pi.exe Event generator for gamma + p -> p + 4pi decays
cobrems.root Coherent bremsstrahlung spectrum input for Gen4Pi.exe
usage: gsr.pl <target-string> <replacement-string> <filename>
particle.datconfig file for bggen
pythia.datconfig file for bggen
pythia-geant.mapconfig file for bggen

Getting Configuration Files

To check out all of these configuration files (and the html source of this web page):
    git clone https://github.com/jeffersonlab/gluex_simulations
    git clone https://github.com/markito3/jproj

Output File Location

Job Output Files

Tarfiles with ROOT files from hd_root /mss/halld/gluex_simulations/sim1_2_1/hd_root
REST format event data /mss/halld/gluex_simulations/sim1_2_1/rest
HDDM formated "raw" event data (tape library files, only the first file of each run) /mss/halld/gluex_simulations/sim1_2_1/smeared
Tarfiles with ROOT files from the tree_bcal_hadronic_eff plugin /mss/halld/gluex_simulations/sim1_2_1/tree_bcal_hadronic_eff
Tarfiles with ROOT files from the tree_fcal_hadronic_eff plugin /mss/halld/gluex_simulations/sim1_2_1/tree_fcal_hadronic_eff
Tarfiles with ROOT files from the tree_sc_eff plugin /mss/halld/gluex_simulations/sim1_2_1/tree_sc_eff_eff
Tarfiles with ROOT files from the tree_tof_eff plugin /mss/halld/gluex_simulations/sim1_2_1/tree_tof_eff
Use the "jcache" or "jget" commands to retrieve the files from tape.

Job Log Files

Standard output and standard error files from each job are in /work/halld/gluex_simulations/sim1_2_1/logs. The run number and file number are encoded in the name. Note that a particular run-number/file-number may correspond to multiple jobs; you are probably interested in the latest one.

Standard Build

The environment can be setup by running:
source /group/halld/www/halldweb/html/gluex_simulations/sim1.2.1/setup_jlab.csh