cd ${SUBMITTINGDIRECTORY} set f = 0 set l = 1000000 foreach input (`cat $FILELIST`) set filel = `basename ${input} .daq` set output = ${filel}.event.root if (! -r ${input}) exit 1; set logFile = ${filel}B.log if ( -r $logFile) exit 0; set muFile = ${filel}.MuDst.root if (-r $muFile) exit 0; set tFile = ${filel}.root if (-r $tFile) exit 0; root4star -q -b 'bfc.C('${f}','${l}',"B2015,in,Tpx,gmt,gmtMatch,UseXgeom,tpcDB,TpcHitMover,StiCA,KFVertex,CorrX,evout,NoHistos,noTags,noRunco,BAna,analysis,Cosmics","'${input}'","'${output}'","'${tFile}'")' >& ${logFile} end