#!/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 $distFile $name $pathMC echo "i am here:" pwd mkdir outfiles/distFile_${name} root -l -b -q macro/tpc/FOPI/runDigiFOPICosmics.C\(\"outfiles/distFile_${name}/Cosmics_FopiMC_86ar85_1.mc.root\",86,\"ar\",85,\"${distFile}\",${nEvents} \) root -l -b -q macro/tpc/FOPI/runRecoFOPI_MC_mb_recl.C\(\"outfiles/distFile_${name}/Cosmics_FopiMC_86ar85_1.raw.root\",86,\"ar\",85,1,${nEvents},true,true,4.0,2.6,1.45,1.7,0,0 \) python macro/tpc/FOPI/mberger/analyseFOPIReco_cosmics2.py outfiles/distFile_${name}/Cosmics_FopiMC_86ar85_1_recl.reco.root --outfname Ana_distFile_${name} #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}