deleted: Armory/README.md modified: Calibration.C Sudarsan pointed out that the gain match and calibration stages have the ring and wedge swapped, so I fixed that. modified: ProcessRun.sh changes for running on laptop modified: TrackRecon.C same inconsistency as in Calibration.C fixed deleted: makeplots.C not used anymore modified: mapping.h corrected teh mapping for the QQQs poptentially, need to confirm modified: mapping_old.txt
35 lines
816 B
Bash
Executable File
35 lines
816 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ "$#" -ne 3 ]; then
|
|
echo "Usage: $0 runID timeWindow_ns option"
|
|
echo "option: 0 - process raw data, 1 - process mapped data"
|
|
echo "Exiting..."
|
|
exit 1
|
|
fi
|
|
|
|
runID=$1
|
|
timeWindow=$2
|
|
|
|
option=$3
|
|
|
|
# rawFolder=/home/tandem/data1/2024_09_17Fap/data
|
|
rawFolder=../Raw_data
|
|
rootFolder=../root_data
|
|
|
|
if [ $option -eq 0 ]; then
|
|
|
|
# rsync -auh --info=progress2 splitpole@128.186.111.223:/media/nvmeData/2024_09_17Fap/*.fsu /home/tandem/data1/2024_09_17Fap/data
|
|
|
|
fileList=`\ls -1 ${rawFolder}/*Run_${runID}_*.fsu`
|
|
|
|
./EventBuilder ${timeWindow} 0 0 100000000 ${fileList}
|
|
|
|
outFile=${rawFolder}/*${runID}*${timeWindow}.root
|
|
|
|
mv -vf ${outFile} ${rootFolder}/.
|
|
|
|
./Mapper ${rootFolder}/*${runID}*${timeWindow}.root
|
|
fi
|
|
|
|
root "processRun.C(\"${rootFolder}/Run_${runID}_mapped.root\")"
|