32 lines
677 B
Bash
Executable File
32 lines
677 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ $# -ne 1 ]; then
|
|
echo "Usage: $0 <parameter file>"
|
|
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"
|