correction for the gbbox search
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 Dec 2009 22:02:16 +0000 (22:02 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 Dec 2009 22:02:16 +0000 (22:02 +0000)
prod/cosmic/rec.sh

index ac424110103a3db4ab212f7a684a8114565fb2b5..b442eacea097b4cfcd07d9b725fa0b56a13e6ac3 100755 (executable)
@@ -33,8 +33,8 @@ VERSION=1.0
 TITLE="Standalone reconstruction of Grid rawdata chunks. v$VERSION"
 
 # Retrieve the list of chunks from AliEn.......
-BASEDIR="/alice/data/20"$YEAR
-PATTERN="/raw/"$YEAR"0000"$RUNNUM"*0.root"
+export BASEDIR="/alice/data/20"$YEAR/LHC${YEAR}*
+PATTERN="$RUNNUM/raw/${YEAR}*${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; }