Skip to content
Snippets Groups Projects

add benchmark for sampling calorimeter

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