4 #// Copyright 2009 Sebastian Neubert
6 #// This file is part of rootpwa
8 #// rootpwa is free software: you can redistribute it and/or modify
9 #// it under the terms of the GNU General Public License as published by
10 #// the Free Software Foundation, either version 3 of the License, or
11 #// (at your option) any later version.
13 #// rootpwa is distributed in the hope that it will be useful,
14 #// but WITHOUT ANY WARRANTY; without even the implied warranty of
15 #// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 #// GNU General Public License for more details.
18 #// You should have received a copy of the GNU General Public License
19 #// along with rootpwa. If not, see <http://www.gnu.org/licenses/>.
23 #$ -l long=TRUE,h_vmem=200M
25 #$ -o /afs/e18/compass/analysis/sneubert/LOGS
26 # Write error in same file
29 # this script requires BINS to be set to the directory containing the massbins!
30 # and FITDIR to the directory of the fit
32 #export FITDIR=/lustre/e18/user/sneubert/Q3PiData/FITS/fit10
33 #export FITDIR=/afs/e18/compass/analysis/sneubert/PWAFITS/3Pi/fit8re
34 export
FITDIR=/afs/e18/compass/analysis/sneubert/PWAFITS/2008/fit2
35 #export FITDIR=/afs/e18/compass/analysis/sneubert/PWAFITS/MEDT/fit1
36 #export FITDIR=/afs/e18/compass/analysis/sneubert/PWAFITS/CONSTRAINT/cfit1
37 #export MYBATCH=1000.1360 # will be used of no array job is started
39 # batches for array job
40 #BATCHARRAY=( 0000.0000 1000.1360 1360.1600 1600.1840 1840.2080 2080.2320 2320.2560 2560.3040 3040.3520 3520.4000 )
42 #BATCHARRAY=( 0000.0000 500.820 820.1020 1020.1180 1180.1300 1300.1420 1420.1540 1540.1660 1660.1820 1820.2020 2020.2500 )
44 BATCHARRAY=( 0000.0000 1000.1350 1350.1600 1600.1850 1850.2050 2050.2300 2300.2550 2550.3000 3000.3500 3500.4000 )
46 if [ -
n "$SGE_TASK_ID" ]
48 export
BATCH=${BATCHARRAY[$SGE_TASK_ID]};
53 #export BINS=/lustre/e18/user/sneubert/Q3PiData/BATCHES/$BATCH
54 #export BINS=/afs/e18/compass/analysis/sneubert/5PiBatches/$BATCH
55 #export BINS=/afs/e18/compass/analysis/sneubert/5PiMTBatches/$BATCH
56 #export BINS=/afs/e18/compass/analysis/sneubert/5PiLTBatches/$BATCH
57 export BINS=/lustre/e18/user/sneubert/2008/5PiBatches/$BATCH
58 export OUTFILE=$BATCH.result.CnoC.root
66 cd ~/scratch/COMPASS/rootpwa/trunk/
70 ./rootfitCBatch.sh $BINS