#$ -wd /tmp #$ -j y #$ -v FAIRLIBDIR cd $TMPDIR . $FAIRLIBDIR/../config.sh #. /hera/panda/fnerling/PandaRoot/build/config.sh hera=$VMCWORKDIR"/macro/ccbargsi" #_target=$hera"/data/" prefix=test mom=7.53 nEvts=0 dmode=0 rmode=0 mode=0 pid=All if test "$1" != ""; then prefix=$1 fi if test "$2" != ""; then mom=$2 fi if test "$3" != ""; then nEvts=$3 fi if test "$4" != ""; then dmode=$4 fi if test "$5" != ""; then rmode=$5 fi if test "$6" != ""; then mode=$6 fi if test "$7" != ""; then pid=$7 fi outprefix=$prefix"_"$SGE_TASK_ID # root -l -q -b $hera"/"ana_jpsi_task.C\(\"$outprefix\",$nEvts,$mom\) &> $outprefix"_ana.log" root -l -q -b $hera"/"ana_etac_task.C\(\"$outprefix\",$nEvts,$mom,$dmode,$rmode,$mode,\"$pid\"\) &> $outprefix"_"$dmode"_"$rmode"_"$mode"_ana.log"