]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/scripts/OCDBscan/makeRunList.sh
composition of the Alluminum alloy that constitutes the ITS-TPC support rings updated...
[u/mrichter/AliRoot.git] / TPC / scripts / OCDBscan / makeRunList.sh
CommitLineData
277d44fd 1#
2# Make a run list using
3# GRP and TPC HV and Altro requested
4# Output run list stored in run list
65d8d09d 5
277d44fd 6prefix=/alice/data/2010/OCDB/
65d8d09d 7
277d44fd 8alien_find $prefix/GRP/GRP/Data Run > grpAlien.txt
9alien_find $prefix/TPC/Calib/HighVoltage Run > hvAlien.txt
10alien_find $prefix/TPC/Calib/AltroConfig Run > altroAlien.txt
65d8d09d 11
277d44fd 12cat grpAlien.txt | sed s/_/\ /g | gawk '{ print $2}' | sort > grp.txt
13cat hvAlien.txt | sed s/_/\ /g | gawk '{ print $2}' | sort > hv.txt
14cat altroAlien.txt | sed s/_/\ /g | gawk '{ print $2}' | sort > altro.txt
65d8d09d 15
277d44fd 16for run in `cat hv.txt | sort`; do
17 grun=`cat grp.txt | grep -c $run`
18 arun=`cat altro.txt | grep -c $run`
19 if [ $grun -gt 0 ] && [ $arun -gt 0 ]; then
20 echo $run
21 fi
22done > run.list
65d8d09d 23
65d8d09d 24