#!/bin/bash #$ -l h_vmem=1000M,short=TRUE # Divert output to directory #$ -o /nfs/nas/data/panda/tpc/SIM/prototype/vwalbr/sgeout/ # Write error in same file #$ -j y source ~/.bashrc cd $PANDAPATH ./setenv.sh echo $nEvents $proxc $proxZs $helixc echo "i am here:" pwd mkdir ../outfiles/${proxc}_${proxZs}_${helixc} #root -l -b -q macro/tpc/FOPI/runMCFOPICosmics.C\(86,\"ar\",85,\"../outfiles/${proxc}_${proxZs}_${helixc}/\",${nEvents}\) #root -l -b -q macro/tpc/FOPI/runDigiFOPICosmics.C\(\"../outfiles/${proxc}_${proxZs}_${helixc}/Cosmics_FopiMC_86ar85_1.mc.root\",86,\"ar\",85\) #path=outfiles/${proxc}_${proxZs}_$helixc/Cosmics_FopiMC_86ar85_1.raw.root root -l -b -q macro/tpc/FOPI/runRecoFOPI_MC_mb_recl.C\(\"../outfiles/recotest/Cosmics_FopiMC_86ar85_1.raw.root\",86,\"ar\",85,1,${nEvents},true,true,4.0,${proxc},${proxZs},${helixc},0,0,\"../outfiles/${proxc}_${proxZs}_${helixc}\"\) #exit 0