Event Reconstruction
From Computing@RNC
#!/bin/csh starver SL09b set nEvents="2" set start="0" set inDir=/home/a/aarose/simulations/events/pdsf0013/fz set inFile=hijing382_$1.fz set outDir=/home/a/aarose/simulations/events/pdsf0013/StEvent set date=`date +"%H-%M-%d-%m-%Y"` set log=bfc_log_${1}_$date.log set chain=trs,ssd,upgr13,pixFastSim,Idst,IAna,l0,tpcI,fcf,Tree,logger,ITTF,Sti,StiRnd,PixelIT,StiPulls,genvt x,NoSvtIt,SsdIt,MakeEvent,McEvent,geant,evout,IdTruth,tags,bbcSim,emcY2,EEfs,big,-dstout,fzin,MiniMcMk,McEvO ut,clearmem #set chain=gstar,pix1,MakeEvent,trs,SvtSlowSim,ssd,fss,bbcSim,emcY2,tpcI,fcf,ftpc,SvtCL,svtDb,ssdDb,svtIT,ss dIT,ITTF,genvtx,Idst,event,analysis,EventQA,tags,Tree,EvOut,McEvOut,GeantOut,IdTruth,miniMcMk,clearmem,StarM agField,FieldOn,McAna,pixFastSim #This one still causes a seg violation #set chain=gstar,pix1,MakeEvent,trs,SvtSlowSim,ssd,fss,bbcSim,emcY2,tpcI,fcf,ftpc,SvtCL,svtDb,ssdDb,svtIT,ss dIT,ITTF,genvtx,Idst,event,analysis,EventQA,tags,Tree,EvOut,McEvOut,GeantOut,IdTruth,miniMcMk,clearmem,StarM agField,FieldOn,McAna,GenericHit #This one causes seg fault #set chain=gstar,pix1,MakeEvent,trs,SvtSlowSim,ssd,fss,bbcSim,emcY2,tpcI,fcf,ftpc,SvtCL,svtDb,ssdDb,svtIT,ss dIT,ITTF,genvtx,Idst,event,EventQA,tags,Tree,EvOut,McEvOut,GeantOut,IdTruth,miniMcMk,clearmem,StarMagField,F ieldOn,McAna,PixelIT,GenericHit,analysis #Set chain=gstar,pix1,MakeEvent,trs,tpcI,fcf,ITTF,genvtx,Idst,event,analysis,EventQA,tags,Tree,EvOut,McEvOut ,GeantOut,miniMcMk cd $SCRATCH mkdir reco_$1 cd reco_$1 pwd env echo "Log file: " $log hsi "cd ${inDir}; mget ${inFile}" set end=`expr $start + $nEvents` if ( $?inFile ) then echo 'root4star -q $STAR/StRoot/macros/bfc.C('$nEvents',"'$chain'","'$inFile'")' > $log root4star -q '$STAR/StRoot/macros/bfc.C('$start','$end',"'$chain'","'$inFile'")' >> $log else echo 'root4star -q bfc.C('$nEvents',"'$chain'")' > $log root4star -q '$STAR/StRoot/macros/bfc.C('$nEvents',"'$chain'")' >> $log endif
Debug data: