#!/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 $factor echo "i am here:" pwd #mkdir outfiles/Opt_Factor mkdir outfiles/factor_${factor} #root -l -b -q macro/tpc/FOPI/runMCFOPICosmics.C\(86,\"ar\",85,\"../outfiles/Opt_Factor/\",${nEvents}\) #root -l -b -q macro/tpc/FOPI/runDigiFOPICosmics.C\(\"../outfiles/Opt_Factor/Cosmics_FopiMC_86ar85_1.mc.root\",86,\"ar\",85\) root -l -b -q macro/tpc/FOPI/runRecoFOPI_MC_mb_recl.C\(\"outfiles/Opt_Factor/Cosmics_FopiMC_86ar85_1.raw.root\",86,\"ar\",85,1,${nEvents},true,true,${factor}$,2.5,1.4,1.0,0,0,\"outfiles/factor_${factor}\"\) #python macro/tpc/FOPI/vwalbre/opt_clustering.py outfiles/${proxc}_${proxZs}_${helixc}/Cosmics_FopiMC_86ar85_1_recl.reco.root --folder "/recotest" --filename ${proxc}_${proxZs}_${helixc} #exit 0