6 ALICE_ITS='$ALICE_ROOT/ITS'
7 echo "Run Number :[${RUN}]"
9 if [ "$REPLY" != "" ]; then
13 echo "Period :[${PERIOD}]"
15 if [ "$REPLY" != "" ]; then
19 echo "Pass : [${PASS}]"
21 if [ "$REPLY" != "" ]; then
25 echo "Year :[${YEAR}]"
27 if [ "$REPLY" != "" ]; then
31 if [ ls -l "run$RUN" >/dev/null 2>&1 ]; then
32 echo "directory run$RUN exists "
37 if [ ls -l $PASS > /dev/null 2>&1 ]; then
38 echo "directory $PASS exixsts"
43 time aliroot >>merge.log 2>&1 <<EOI
44 .x $ALICE_ITS/ReadQASDD.C($RUN,$YEAR,"${PERIOD}","${PASS}" );
47 time aliroot >> plot.log 2>&1 <<EOI
48 .x $ALICE_ITS/PlotQASDD.C("File.QA.${YEAR}.${PERIOD}.${PASS}.Run.${RUN}.root");
51 if [ls -l "images" >/dev/null 2>&1 ]; then
52 echo "directory images exists"
56 mv *.ps *.eps images/.