#!/bin/bash pwd export PANDAPATH=$HOME'/fopiroot/fopiroot_dev/' cd $PANDAPATH pwd . ./setenv export OMP_NUM_THREADS=$NTHREADS echo start stop step echo xy: $XYStart $XYStop $XYStep echo z: $ZStart $ZStop $ZStep echo diffXY: $DIFFXYStart $DIFFXYStop $DIFFXYStep echo diffZ: $DIFFZStart $DIFFZStop $DIFFZStep echo amp: $AMPStart $AMPStop $AMPStep echo echo filename=$filename echo number of threads: $OMP_NUM_THREADS echo python FOPI/mberger/calib_clusterErrorBAT.py outfiles_e12/MC/cylgen/theta_90.0/new_error/parts_rev27664_paramCov_otherBetasInGFDAF_recl/ outfiles_e12/MC/cylgen/theta_90.0/Cosmics_FopiMC_86ar85_1.param.root --events 5000 --parscan --batch --ltestGaus --scanXY $XYStart $XYStop $XYStep --scanZ $ZStart $ZStop $ZStep --scanDiffXY $DIFFXYStart $DIFFXYStop $DIFFXYStep --scanDiffZ $DIFFZStart $DIFFZStop $DIFFZStep --scanAmp $AMPStart $AMPStop $AMPStep --scanFile ${filename}_tmp mv ${filename}_tmp ${filename}