cluster_0.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!-- <job maxFilesPerProcess="1" filesPerHour="1.0" fileListSyntax="paths" simulateSubmission ="false"> -->
  3. <job maxFilesPerProcess="1" filesPerHour="10.0" fileListSyntax="paths" simulateSubmission ="false">
  4. <command>
  5. cd ${SUBMITTINGDIRECTORY}
  6. # starver eval
  7. # echo $INPUTFILE0 | grep ':'
  8. # if (! $?) then
  9. # set evtsFile = `echo $INPUTFILE0 | awk -F\: '{print $1}'`
  10. # set f = `echo $INPUTFILE0 | awk -F\: '{print $2}'`
  11. # set l = `echo $INPUTFILE0 | awk -F\: '{print $3}'`
  12. # else
  13. # set evtsFile = $INPUTFILE0;
  14. set f = 1
  15. set l = 5000000
  16. # endif
  17. # echo "${evtsFile}"
  18. foreach input (`cat $FILELIST`)
  19. set filel = `basename ${input} .daq`
  20. set output = ${filel}.event.root
  21. if (! -r ${input}) exit 1;
  22. set logFile = ${filel}B.log
  23. if ( -r $logFile) exit 0;
  24. set muFile = ${filel}.MuDst.root
  25. if (-r $muFile) exit 0;
  26. set tFile = ${filel}.root
  27. if (-r $tFile) exit 0;
  28. root4star -q -b 'bfc.C('${f}','${l}',"B2015,in,Tpx,gmt,gmtMatch,gmtCosmics,gmtClusTree,CMuDst,UseXgeom,tpcDB,TpcHitMover,StiCA,KFVertex,CorrX,evout,NoHistos,noTags,noRunco,BAna,analysis","'${input}'","'${output}'","'${tFile}'")' &gt;&amp; ${logFile}
  29. end
  30. </command>
  31. <stdout URL="file:/star/u/pusheax/work/run/GMT/last/cluster_0/log/Cosmics$JOBID.log" />
  32. <stderr URL="file:/star/u/pusheax/work/run/GMT/last/cluster_0/log/Cosmics$JOBID.err" />
  33. <!-- <input URL="file:/star/subsys/tpc/FF_adc/*.daq" /> -->
  34. <!-- <input URL="file:/star/data03/daq/2014/*/*/st_cosmic_adc_15*.daq" /> -->
  35. <input URL="command:Cosmics2015.pl" />
  36. </job>