2022-02-02 16:37:27 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ $# -eq 0 ] || [ $1 == "-help" ]; then
|
|
|
|
echo "$./process_run [saveFile] [TimeWindow] [evtDir]"
|
|
|
|
echo ""
|
|
|
|
|
|
|
|
exit 1
|
|
|
|
fi;
|
|
|
|
|
|
|
|
SaveFile=$1
|
|
|
|
|
|
|
|
DIR=$(pwd)
|
|
|
|
TIMEWINDOW=100
|
2022-03-10 13:59:06 -05:00
|
|
|
DATA_DIR=data/data/Mar10-04
|
2022-02-02 16:37:27 -05:00
|
|
|
|
2022-03-10 13:59:06 -05:00
|
|
|
fileList=$(\ls $DIR/${DATA_DIR}/*.evt.to.fsu.100)
|
|
|
|
numFile=$(\ls -1 $DIR/${DATA_DIR}/*.evt.to.fsu.100 | wc -l)
|
2022-02-02 16:37:27 -05:00
|
|
|
|
|
|
|
echo "##############################################"
|
|
|
|
echo "number of files : "$numFile
|
|
|
|
echo "##############################################"
|
|
|
|
|
|
|
|
./armory/to2root $SaveFile 100 $fileList
|
|
|
|
|
|
|
|
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
|
|
|