#!/bin/csh -f # #setenv WORKDIR /phenix/workarea/enterria/embed #setenv NEVT 1600 #setenv LIBDIR /afs/rhic/phenix/users/enterria/installnew/lib ####################### 4. RECO ####################### setenv ORIG_LD_LIBRARY_PATH ${LD_LIBRARY_PATH} # need my lib for the moment setenv LD_LIBRARY_PATH ${LIBDIR}:${LD_LIBRARY_PATH} echo ' ' echo '**** Creating the simulated DST files ****' cd ${WORKDIR}/preco foreach DST (`cat ${WORKDIR}/dstlist`) #setenv DST 08616-0000 # avoid involuntary deleting an existing dst if (-f ${WORKDIR}/dst_files/gam_run${DST}.root) then echo ${WORKDIR}/dst_files/gam_run${DST}.root ' exists already. Skipping it ...' end else root -b <