find in the alien catalog runs now over every year
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 Mar 2010 17:46:10 +0000 (17:46 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 Mar 2010 17:46:10 +0000 (17:46 +0000)
prod/cosmic/rec.sh

index b442eac..d3c66b6 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; }