Spring 2016 Data Simulations: sim1.1

Versions

packageversion
version management system fileversion_1.22.xml
CCDB SQLite file/group/halld/Software/calib/ccdb_sqlite/ccdb_2016-07-07.sqlite
JANA_CALIB_CONTEXT"variation=mc_sim1"

Commands

  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 -PTRKFIT:HYPOTHESES=2,3,8,9,11,12,14 hdgeant_smeared.hddm

JLab Farm Control Files

File TypeFile
Submission File Templatesim1.jsub
Job Script Templatesim1.csh

File Name Conventions

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

Configuration Files

FileDescription
setup_jlab.cshset-up script for farm environment at JLab
run.ffr.templatetemplate configuration file for bggen 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 fort.15" in the run directory for bggen to respect the contents of run.ffr.
control.in_3.4mm_colltemplate configuration file for hdgeant for runs with the 3.4 mm collimator
control.in_5.0mm_colltemplate configuration file for hdgeant for runs with the 5.0 mm collimator
gsr.plPerl script to replace place-holder strings in configuration files with actual values. Original file is overwritten. Backup is made first.
usage: gsr.pl <target-string> <replacement-string> <filename>
particle.datconfig file for bggen
pythia.datconfig file for bggen
pythia-geant.mapconfig file for bggen
check_monitoring_hists.pyscript for checking the output of the monitoring_hists plugin

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

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.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.1/setup_jlab.csh