]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EPOS/epos167/epos+
New method to clone current raw-data event and create a single-event raw-reader....
[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
12rm -f $CHK/z-$1.check
13rm -f $CHK/z-$1.data
14rm -f $CHK/z-$1.copy
15rm -f $CHK/z-$1.log
16
17if ( $OPT == '.' ) then
18 setenv odir `pwd`
19else
20 setenv odir $OPT
21endif
22setenv seedj `date '+%S%M%d%m%y%H%M%S'`
23
24#---------------------------------------------------------------------
25time $OBJ/$SYSTEM/Xepos -n << END
26echo off
27set seedj $seedj
28fname pathnx $EPO/
29fname histo $HTO/.s/z-$1.histo
30fname check $CHK/z-$1.check
31fname copy $CHK/z-$1.copy
32fname log $CHK/z-$1.log
33fname data $CHK/z-$1.data
34fname initl $EPO/epos.initl
35fname inidi $EPO/epos.inidi
36fname inidr $EPO/epos.inidr
37fname iniev $EPO/epos.iniev
38fname inirj $EPO/epos.inirj
39fname inics $EPO/epos.inics
40fname inigrv $EPO/epos.inigrv
41fqgsjet dat $EPO/qgsjet/qgsjet.dat
42fqgsjet ncs $EPO/qgsjet/qgsjet.ncs
43fqgsjetII dat $EPO/qgsjetII/qgsdat-II-03
44fqgsjetII ncs $EPO/qgsjetII/sectnu-II-03
45nodecay 120
46nodecay -120
47nodecay 130
48nodecay -130
49nodecay -20
50nodecay 14
51nodecay -14
52echo on
53input $odir/$1.optns
54echo off
55input $EPO/epos.param
56runprogram
57stopprogram
58END
59if ( -s $CHK/z-$1.data ) then
60 echo "###############################################################"
61 echo " output written to $CHK/z-$1.data"
62 echo "###############################################################"
63else
64 rm -f $CHK/z-$1.data
65endif
66if ( -s $CHK/z-$1.check ) then
67else
68 rm -f $CHK/z-$1.check
69endif
70if ( -s $HTO/.s/z-$1.histo ) then
71else
72 rm -f $HTO/.s/z-$1.histo
73endif
74rm -f $CHK/z-$1.log
75rm -f $CHK/z-$1.copy
76rm -f gmon.out
77echo -n "Worker (nanpcw41-nanpcw65) : "
78hostname
79date
80exit
81