File indexing completed on 2025-08-05 08:19:45
0001
0002
0003 source /opt/sphenix/core/bin/sphenix_setup.sh -n new
0004
0005
0006 export SPHENIX=/sphenix/u/xyu3
0007 export MYINSTALL=$SPHENIX/install
0008
0009
0010
0011 source /opt/sphenix/core/bin/setup_local.sh $MYINSTALL
0012
0013 echo "sPHENIX environment setup finished"
0014
0015 nEvents=10000
0016
0017 count=0
0018 total=$
0019
0020 inputFiles="{"
0021 for fileList in $@
0022 do
0023 if [ $count -eq $total ]; then
0024 break
0025 fi
0026 inputFiles+="\"${fileList}\","
0027 count=$((count + 1))
0028 done
0029 inputFiles=${inputFiles::-1}
0030 inputFiles+="}"
0031 echo running: run_data.sh $*
0032 root.exe -q -b Fun4All_TrackAnalysis.C\($nEvents,${inputFiles}\)
0033 echo Script done