File indexing completed on 2024-04-06 12:08:42
0001
0002
0003 if [[ "$#" == "0" ]]; then
0004 echo "usage: 'moduleOccupancyTrend.sh RootFileDirectory Dataset ModuleListFile UserCertFile UserKeyFile RunListFile'";
0005 exit 1;
0006 fi
0007
0008 mkdir /data/users/tmpTrend
0009 cp $6 /data/users/tmpTrend/.
0010 cp $3 /data/users/tmpTrend/.
0011
0012 cd /data/users/tmpTrend
0013
0014 rm -f modulefile
0015
0016 cat $6 | while read line
0017 do
0018
0019 moduleOccupancyPlots.sh $1 $2 $line $3 $4 $5
0020
0021 done
0022
0023 ls *.root > rootfilestmp.txt
0024
0025 cat $3 | while read line
0026 do
0027 echo $line >> modulefile
0028 done
0029
0030 echo "Summary" >> modulefile
0031
0032 moduleOccupancyTrend rootfilestmp.txt modulefile $7 $8
0033
0034 rm modulefile
0035 rm rootfilestmp.txt
0036
0037 cd -
0038
0039 cp /data/users/tmpTrend/* .
0040 rm -rf /data/users/tmpTrend