ANASEN_analysis/buildEvents.sh

19 lines
395 B
Bash
Raw Normal View History

2024-01-24 16:04:57 -05:00
#!/bin/bash
if [ "$#" -ne 2 ]; then
echo "Usage: $0 runID timeWindow_ns"
echo "Exiting..."
exit 1
fi
runID=$1
timeWindow=$2
2024-01-26 20:34:16 -05:00
rawFolder=/media/nvmeData/ANASEN_test
rootFoler=/media/nvmeData/ANASEN_test/root_data
fileList=`\ls -1 ${rawFolder}/*${runID}*.fsu`
2024-01-24 16:04:57 -05:00
./EventBuilderNoTrace ${timeWindow} 0 ${fileList}
2024-01-26 20:34:16 -05:00
mv -vf ${rawFolder}/*${runID}*${timeWindow}_noTrace.root ${rootFoler}/.