]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EPOS/epos167/epos
SensorThickness was defined twice. Set inner chip thickness to 250mum to bypass bug...
[u/mrichter/AliRoot.git] / EPOS / epos167 / epos
CommitLineData
9ef1c2d9 1#!/bin/csh
2#################################################################
3# script to run epos ; argumentS: file name ; version number
4#################################################################
5
6if ( -e $OPT/$1.optns ) then
7else
8echo $OPT/$1.optns "does not exist"
9exit
10endif
11
12if ( -e $OPT/$1.def ) then
13source $OPT/$1.def
14endif
15
16rm -f $CHK/z-$1.check
17rm -f $CHK/z-$1.data
18rm -f $CHK/z-$1.copy
19rm -f $CHK/z-$1.log
20
21if ( $OPT == '.' ) then
22 setenv odir `pwd`
23else
24 setenv odir $OPT
25endif
26
27setenv seedj `date '+%S%M%d%m%y%H%M%S'`
28
29#---------------------------------------------------------------------
30time $OBJ/$SYSTEM/Xepos -n << END
31!echo off
32!uncomment the following line to get random seed
33!set seedj $seedj
34echo on
35input $odir/$1.optns
36!input $EPO/epos.param
37runprogram
38stopprogram
39END
40if ( -s $CHK/z-$1.data ) then
41 echo "###############################################################"
42 echo " output written to $CHK/z-$1.data"
43 echo "###############################################################"
44else
45# rm -f $CHK/z-$1.data
46endif
47if ( -s $CHK/z-$1.check ) then
48else
49 rm -f $CHK/z-$1.check
50endif
51if ( -s $HTO/$1.histo ) then
52else
53 rm -f $HTO/$1.histo
54endif
55rm -f $CHK/z-$1.log
56rm -f $CHK/z-$1.copy
57#rm -f gmon.out
58date
59exit
60