|
Last change
on this file since 15383 was 15304, checked in by Daniela Dorner, 13 years ago |
|
added (script to run ganymed for quick look analysis)
|
-
Property svn:executable
set to
*
|
|
File size:
740 bytes
|
| Line | |
|---|
| 1 | #!/bin/bash
|
|---|
| 2 | #
|
|---|
| 3 |
|
|---|
| 4 | source `dirname $0`/../Sourcefile.sh
|
|---|
| 5 | printprocesslog "INFO starting $0"
|
|---|
| 6 |
|
|---|
| 7 | source=$1
|
|---|
| 8 | dsfile=$2
|
|---|
| 9 | path=$anapath/$source
|
|---|
| 10 |
|
|---|
| 11 | outpath=`dirname $dsfile | sed -e 's/datasets/ganymed/'`
|
|---|
| 12 | makedir $outpath
|
|---|
| 13 |
|
|---|
| 14 | dsnum=`basename $dsfile | sed -e 's/dataset//' -e 's/[.]txt//'`
|
|---|
| 15 | output=$outpath/$dsnum
|
|---|
| 16 | logfile=$output"-ganymed.log"
|
|---|
| 17 |
|
|---|
| 18 | cd $mars
|
|---|
| 19 |
|
|---|
| 20 | # run ganymed
|
|---|
| 21 | printprocesslog "INFO starting ganymed.C for dataset "$dsfile
|
|---|
| 22 |
|
|---|
| 23 | check1=`root -q -b $path/ganymed.C\("\"$dsfile\""\,"\"$output\""\) | tee $logfile | intgrep`
|
|---|
| 24 |
|
|---|
| 25 | case $check1 in
|
|---|
| 26 | 0) printprocesslog "INFO ganymed was successful for dataset "$dsfile" (check1=$check1)"
|
|---|
| 27 | ;;
|
|---|
| 28 | *) printprocesslog "ERROR ganymed.C failed for dataset "$dsfile" (check1=$check1)"
|
|---|
| 29 | ;;
|
|---|
| 30 | esac
|
|---|
| 31 |
|
|---|
| 32 | finish
|
|---|
| 33 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.