From: schutz Date: Thu, 11 Mar 2010 17:47:22 +0000 (+0000) Subject: find in the alien catalog runs now over every year X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=649407ee9aa72487ee0eaef43c6e84da16da40b0;hp=d6e568d648a925e7796d6937e2246bae6b47dcc4 find in the alien catalog runs now over every year --- diff --git a/prod/cosmic/rawqa.sh b/prod/cosmic/rawqa.sh index dc876bb5097..ee7be0855bb 100755 --- a/prod/cosmic/rawqa.sh +++ b/prod/cosmic/rawqa.sh @@ -12,7 +12,6 @@ # SET THE FOLLOWING PARAMETERS IF NEEDED: # --------------------------------------- -export YEAR=10 # --------------------------------------- kill -9 `ps | grep aliroot | awk '{print $1}'` @@ -33,9 +32,8 @@ VERSION=1.0 TITLE="Standalone QA checking 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" -#aliensh -c "gbbox find $BASEDIR $PATTERN" | head --lines=-1 > collection.tmp +export BASEDIR="/alice/data/20*" +PATTERN="$RUNNUM/raw/*${RUNNUM}*.root" aliensh -c "gbbox find $BASEDIR $PATTERN" > collection.tmp [ `ls -al collection.tmp | awk '{print $5}'` -eq 0 ] && { echo "No chunks found for the given run"; exit 1; } @@ -66,6 +64,7 @@ PROGRAM=aliroot #`cat $tempfile` for filename in $CHUNKS; do CHUNK=`basename $filename | cut -d "." -f 1,2` BEG=`expr index "$CHUNK" .` + echo !!!!!!!!!!!!! $BEG BEG=`expr $BEG - 4` SUBCHUNK=${CHUNK:$BEG} echo "Running QA for chunk $filename. Outputs will be stored in "$RUNNUM"/"$CHUNK". $SUBCHUNK"