Skip to content
Snippets Groups Projects
Commit 53fda71a authored by Chao Peng's avatar Chao Peng
Browse files

change config.yml

parent 47a0c1b2
No related branches found
No related tags found
1 merge request!74add benchmark for sampling calorimeter
This commit is part of merge request !74. Comments created here will be created in the context of that merge request.
env:sampling_ecal_electrons:
stage: config
script:
- bash benchmarks/sampling_ecal/config.sh
sim:sampling_ecal_electrons: sim:sampling_ecal_electrons:
stage: run stage: run
script: script:
......
#!/bin/bash #!/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"
echo "CB_EMCAL_NUMEV = ${CB_EMCAL_NUMEV}" echo "CB_EMCAL_NUMEV = ${CB_EMCAL_NUMEV}"
echo "CB_EMCAL_COMPACT_PATH = ${CB_EMCAL_COMPACT_PATH}" echo "CB_EMCAL_COMPACT_PATH = ${CB_EMCAL_COMPACT_PATH}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment