Spring 2016 Data Simulations: sim1.2

Versions

packageversion
version management system fileversion_1.30.xml
CCDB SQLite file/group/halld/Software/calib/ccdb_sqlite/ccdb_2016-0X-0X.sqlite
JANA_CALIB_CONTEXT"variation=mc calibtime=2016-12-06"

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

JLab Farm Control Files

File TypeFile
Submission File Templatesim1_2.jsub
Job Script Templatesim1_2.csh
Job Parameter Definitionssim1_2.jproj

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.3.4mm_coll.templatetemplate 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.templateSame for the 5.0 mm collimator.
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

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