#!/bin/bash #cd /home/mberger/fopiroot/fopiroot_dev #./setenv echo $OPATH $I myI=${I} for j in $(seq 0 ${NRUNS}) do root -l FOPI/runRecoFOPI_MC_mb_recl.C\(\"${OPATH}/Cosmics_FopiMC_86ar85_1.raw.root\",86,\"ar\",85,1,0,true,true,4.0,2.0,1.6,0.4,0,0,\"${OPATH}/fC${myI}\",${myI}\) -q python FOPI/mberger/analyseFOPIReco_cosmics2.py ${OPATH}/fC${myI}/Cosmics_FopiMC_86ar85_1_recl.reco.root --outfname ${OPATH}/fC${myI}/Cosmics_FopiMC_86ar85_1_recl.hists.root let myI+=2 mkdir ${OPATH}/fC${myI} done #root -l FOPI/runRecoFOPI_MC_mb_recl.C\(\"${OPATH}/Cosmics_FopiMC_86ar85_1.raw.root\",86,\"ar\",85,1,0,true,true,4.0,2.0,1.6,0.4,0,0,\"${OPATH}/fC${myI}\",${myI}\) -q #python FOPI/mberger/analyseFOPIReco_cosmics2.py ${OPATH}/fC${myI}/Cosmics_FopiMC_86ar85_1_recl.reco.root --outfname ${OPATH}/fC${myI}/Cosmics_FopiMC_86ar85_1_recl.hists.root