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 /nfs/nas/user/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/fit11
33 #export FITDIR=/afs/e18/compass/analysis/sneubert/PWAFITS/3Pi/fit8re
34 #export FITDIR=/afs/e18/compass/analysis/sneubert/PWAFITS/
35 #export FITDIR=/afs/e18/compass/analysis/sneubert/PWAFITS/2008/fit1
36 #export FITDIR=/afs/e18/compass/analysis/sneubert/PWAFITS/LOWT/NEWACC/fit34RhoP2
37 #export FITDIR=/afs/e18/compass/analysis/sneubert/PWAFITS/MODELS/Model4/fit2
38 export
FITDIR=/nfs/nas/user/sneubert/PWAFITS/FINAL/fitF64mp/
40 export
MYBATCH=1780.1960 # will be used of no array job is started
42 # batches for array job
43 BATCHARRAY=( 0000.0000 1000.1360 1360.1600 1600.1840 1840.2080 2080.2320 2320.2560 2560.3040 3040.3520 3520.4000 )
45 #BATCHARRAY=( 0000.0000 1960.2200 )
47 #BATCHARRAY=( 0000.0000 500.820 820.1020 1020.1180 1180.1300 1300.1420 1420.1540 1540.1660 1660.1820 1820.2020 2020.2500 )
49 # BATCHARRAY=( 0000.0000 1000.1350 1350.1600 1600.1850 1850.2050 2050.2300 2300.2550 2550.3000 3000.3500 3500.4000 )
51 #BATCHARRAY=( 0000.0000 1480.1720 1720.1960 1960.2200 2200.2440 )
54 if [ -
n "$SGE_TASK_ID" ]
56 export
BATCH=${BATCHARRAY[$SGE_TASK_ID]};
58 export BATCH=$MYBATCH;
63 export BINS=/nfs/hicran/project/compass/analysis/sneubert/5PiLTBatches3/$BATCH
64 #export BINS=/nfs/nas/user/sneubert/2004/5PiLTData3/
66 export OUTFILE=$BATCH.result.root
71 export ACC=
"-a accnorm.int"
72 export ACCEVENTS=
"-A 100000"
74 cd /nfs/nas/user/sneubert/scratch/COMPASS/rootpwa/trunk/
80 ./rootfitBatch.sh $BINS