cd ${SUBMITTINGDIRECTORY}
setenv STARFPE NO
set evtsFile = $INPUTFILE0;
set f = 1
set l = 5000000
echo "${evtsFile}"
set filel = `basename $evtsFile .daq`
set output = ${filel}.event.root
if (! -r ${evtsFile}) exit 1;
set logFile = ${filel}B.log
if ( -r $logFile) exit 0;
set muFile = ${filel}.MuDst.root
if (-r $muFile) exit 0;
root.exe -q -b 'bfc.C(500000,"P2014a,gmt,gmtCosmics,gmtClusTree,mtd,btof,-hitfilt,gmt,pxlRaw,pxlHit,istRaw,istHit,btof,BEmcChkStat,Alignment,CorrX,NoHistos,noTags,noRunco,StiCA,KFVertex,evout","'${evtsFile}'","'$output'")' >& ${logFile}