#!/bin/csh
source /home/mstaib/commissioning/sim-recon-commissioning/Linux_RHEL6-x86_64-gcc4.4.7/setenv.csh
setenv HALLD_MY /home/mstaib/gluex/

set allfiles=`find /raid12/gluex/skims/2track/ -name "*.evio" -printf '%p '|sort `

hd_root -PPLUGINS=DAQ,TTab,CDC_online -PBFIELD_MAP=Magnets/Solenoid/solenoid_1200A_poisson_20140520 $allfiles -PEVENTS_TO_KEEP=1000 -PCDC_ONLINE:TRACKASSOCIATED=1 -PNTHREADS=4
