]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - prod/cosmic/rec.sh
find in the alien catalog runs now over every year
[u/mrichter/AliRoot.git] / prod / cosmic / rec.sh
index b442eacea097b4cfcd07d9b725fa0b56a13e6ac3..d3c66b6017329c3c82fd7c24ea0276be08069341 100755 (executable)
@@ -12,8 +12,8 @@
 
 # SET THE FOLLOWING PARAMETERS IF NEEDED: 
 # ---------------------------------------
-YEAR=09
 DIALOG=`which dialog`
+PROGRAM=`which aliroot`
 # ---------------------------------------
 
 kill -9 `ps | grep aliroot | awk '{print $1}'`
@@ -33,8 +33,8 @@ VERSION=1.0
 TITLE="Standalone reconstruction of Grid rawdata chunks. v$VERSION"
 
 # Retrieve the list of chunks from AliEn.......
-export BASEDIR="/alice/data/20"$YEAR/LHC${YEAR}*
-PATTERN="$RUNNUM/raw/${YEAR}*${RUNNUM}*.root"
+export BASEDIR="/alice/data/20*"
+PATTERN="$RUNNUM/raw/*${RUNNUM}*.root"
 gbbox find $BASEDIR $PATTERN | head -n 500 > collection.tmp
 
 [ $(wc -l collection.tmp) -eq 0 ] && { echo "No chunks found for the given run"; exit 1; }