-
Notifications
You must be signed in to change notification settings - Fork 2
/
TpcRS_Simu.xml
40 lines (33 loc) · 1.82 KB
/
TpcRS_Simu.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="utf-8" ?>
<job name="TpcRS" maxFilesPerProcess="1" filesPerHour="1" simulateSubmission="false" fileListSyntax="paths">
<command>
cd ${SUBMITTINGDIRECTORY}
starver .DEV2
source $STAR/setupDEV2.csh
# setenv NODEBUG yes
# setenv STARFPE NO
setup gcc492
setup 32b
starver DEV2/TFG16a
# setenv NODEBUG yes
# starver .DEV2
set file = `basename $INPUTFILE0`;
if (! -r $file) ln -s $INPUTFILE0 $file;
echo "$INPUTFILE0 => ${file}"
set bFile = `basename $file .fzd`
set logFile = ${bFile}B.log
set outRootFile = ${bFile}.MuDst.root
set f=`find . -maxdepth 1 -type f -name "*${bFile}*.root"`
if ("$f" == "") then
# root4star -q -b 'TpcRS.C(1,2,"y2014,,bigbig,TpcRS,Sti,TpxClu2D","'${file}'","Bichsel","0")' >& ${logFile} # 2D
# root4star -q -b 'TpcRS.C(1,100,"y2014,,bigbig,TpcRS,Sti","'${file}'","Bichsel","0")' >& ${logFile} # 1D
# root4star -q -b 'bfc.C(100, "MakeEvent,NoSsdIt,NoSvtIt,Idst,VFMinuit,analysis,dEdxY2,bigbig,CMuDst,McAna,mcTpcAna,IdTruth,useInTracker,tree,tpcDB,TpcHitMover,TpxClu,fzin,y2012,tpcrs,sti,tpxclu2d", "'$file'", "'$file'", "'$outRootFile'")' >& ${logFile}
root4star -q -b 'bfc.C(100, "MakeEvent,NoSsdIt,NoSvtIt,Idst,VFMinuit,analysis,dEdxY2,bigbig,CMuDst,McAna,mcTpcAna,IdTruth,useInTracker,tree,tpcDB,TpcHitMover,TpxClu2D,fzin,y2012,tpcrs,sti,tpxclu2d", "'$file'", "'$file'", "'$outRootFile'")' >& ${logFile}
# rm -f ${bFile}_Bichsel_1_10.root
endif
</command>
<input URL="file:/gpfs01/star/pwg/iraklic/mySimulations/Di-lepton/Di-Electron/kinematics/*.fzd" />
<!--input URL="file:/gpfs01/star/pwg/iraklic/ClusterFinder/TPC_reconstruction/*.fzd" /-->
<stdout URL="file:./$JOBID.log" />
<stderr URL="file:./$JOBID.err" />
</job>