#!/bin/bash if [ $# -ne 1 ]; then echo "Usage: $0 " exit 1 fi PARAM_FILE="$1" if [ ! -f "$PARAM_FILE" ]; then echo "Error: File '$PARAM_FILE' not found!" exit 1 fi source "$PARAM_FILE" # Construct output filename from input baseName=$(basename "$inputDataFile" .root) outPutFileName="${baseName}_output.root" ./Jericho "$inputDataFile" \ "$calFile" \ "$gePromptGatesFile" \ "$outPutDirectory" \ "$outPutFileName" \ "$trinABCoin" \ "$addbackDiagonals" \ "$alphaCutsFileName" \ "$geTimingPairFile" \ "$bgoTimeGateNS" \ "$labrTimingPairFile"