Skip to content
Snippets Groups Projects

add benchmark for sampling calorimeter

Merged Chao Peng requested to merge sampling_cal into master
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -29,7 +29,8 @@ echo "CB_EMCAL_NUMEV = ${CB_EMCAL_NUMEV}"
echo "CB_EMCAL_COMPACT_PATH = ${CB_EMCAL_COMPACT_PATH}"
# Generate the input events
python benchmarks/sampling_ecal/gen_particles.py ${CB_EMCAL_GEN_FILE} --angmin 90 --angmax 90 --parray ${CB_EMCAL_ENERGY} --particles 11
python benchmarks/sampling_ecal/scripts/gen_particles.py ${CB_EMCAL_GEN_FILE} \
--angmin 90 --angmax 90 --parray ${CB_EMCAL_ENERGY} --particles="-11"
if [[ "$?" -ne "0" ]] ; then
echo "ERROR running script: generating input events"
exit 1
Loading