Skip to content
Snippets Groups Projects

add benchmark for sampling calorimeter

Merged Chao Peng requested to merge sampling_cal into master
3 files
+ 32
25
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 27
0
 
#!/bin/bash
 
 
if [[ ! -n "${JUGGLER_DETECTOR}" ]] ; then
 
export JUGGLER_DETECTOR="topside"
 
fi
 
export CB_EMCAL_COMPACT_PATH=${DETECTOR_PATH}/${JUGGLER_DETECTOR}.xml
 
 
 
if [[ ! -n "${CB_EMCAL_NUMEV}" ]] ; then
 
export CB_EMCAL_NUMEV=1000
 
fi
 
 
if [[ ! -n "${CB_EMCAL_ENERGY}" ]] ; then
 
export CB_EMCAL_ENERGY=5.0
 
fi
 
 
 
if [[ ! -n "${CB_EMCAL_SAMP_FRAC}" ]] ; then
 
export CB_EMCAL_SAMP_FRAC=0.014
 
fi
 
 
export CB_EMCAL_NAME_TAG="emcal_barrel_uniform_electrons"
 
export CB_EMCAL_GEN_FILE="${CB_EMCAL_NAME_TAG}.hepmc"
 
 
export CB_EMCAL_SIM_FILE="sim_${CB_EMCAL_NAME_TAG}.root"
 
export CB_EMCAL_REC_FILE="rec_${CB_EMCAL_NAME_TAG}.root"
 
Loading