File indexing completed on 2026-04-06 08:12:03
0001
0002
0003 export USER="$(id -u -n)"
0004 export LOGNAME=${USER}
0005 export HOME=/sphenix/u/${LOGNAME}/macros/detectors/sPHENIX/
0006 export MYINSTALL=/sphenix/user/bkimelman/sPHENIX/install/
0007
0008 source /opt/sphenix/core/bin/sphenix_setup.sh -n
0009 source /opt/sphenix/core/bin/setup_local.sh $MYINSTALL
0010
0011 runnumber=$1
0012 segment=$2
0013 outDir=$3
0014
0015 if [[ "$outDir" == "" ]]; then
0016 outDir=/sphenix/tg/tg01/jets/bkimelman/wEEC/
0017 fi
0018
0019 runShort=$(($1/100))
0020
0021 caloDST=/sphenix/lustre01/sphnxpro/production2/run2pp/physics/jetskimmer/ana509_2024p022_v001/run_000${runShort}00_000$((runShort+1))00/DST_JETCALO_run2pp_ana509_2024p022_v001-000${runnumber}-${segment}.root
0022 jetDST=/sphenix/lustre01/sphnxpro/production2/run2pp/physics/jetskimmer/ana509_2024p022_v001/run_000${runShort}00_000$((runShort+1))00/DST_Jet_run2pp_ana509_2024p022_v001-000${runnumber}-${segment}.root
0023
0024 root -b -q Fun4All_wholeEventEECs.C\(\"$caloDST\",\"$jetDST\",\"$outDir\"\)