From 0dc7a9328b7a72d0104ee9fd662dd8219eda9b26 Mon Sep 17 00:00:00 2001 From: Sakib Rahman Date: Wed, 18 Dec 2024 11:55:31 -0500 Subject: [PATCH] Sample script to generate some events and run reconstruction --- .../output_branch_size_scan/generate.sh | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 benchmarks/output_branch_size_scan/generate.sh diff --git a/benchmarks/output_branch_size_scan/generate.sh b/benchmarks/output_branch_size_scan/generate.sh new file mode 100644 index 0000000..6a7d4db --- /dev/null +++ b/benchmarks/output_branch_size_scan/generate.sh @@ -0,0 +1,32 @@ +#!/bin/bash +set -Euo pipefail +trap 's=$?; echo "$0: Error on line "$LINENO": $BASH_COMMAND"; exit $s' ERR +IFS=$'\n\t' + +NUM_EVENTS=400 +INPUT_FILE=root://dtn-eic.jlab.org//work/eic2/EPIC/EVGEN/DIS/NC/18x275/minQ2=1/pythia8NCDIS_18x275_minQ2=1_beamEffects_xAngle=-0.025_hiDiv_1.hepmc3.tree.root + +DETECTOR_CONFIG=epic_craterlake +EBEAM=18 +PBEAM=275 + +npsim \ + --runType batch \ + --random.seed 1 \ + --random.enableEventSeed \ + --printLevel WARNING \ + --skipNEvents 0 \ + --numberOfEvents 400 \ + --filter.tracker 'edep0' \ + --hepmc3.useHepMC3 true \ + --compactFile ${DETECTOR_PATH}/${DETECTOR_CONFIG}${EBEAM:+${PBEAM:+_${EBEAM}x${PBEAM}}}.xml \ + --inputFiles ${INPUT_FILE} \ + --outputFile current_campaign.edm4hep.root + +eicrecon \ + -Ppodio:output_file="current_campaign.eicrecon.tree.edm4eic.root" \ + -Pjana:warmup_timeout=0 -Pjana:timeout=0 \ + -Pplugins=janadot \ + "current_campaign.edm4hep.root" + +