Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2026-10-16 08:19:50

0001 #!/bin/bash
0002 
0003 export USER="$(id -u -n)"
0004 export LOGNAME=${USER}
0005 export HOME=/sphenix/u/${LOGNAME}
0006 export MYINSTALL=/gpfs/mnt/gpfs02/phenix/spin/spin1/phnxsp01/dillfitz/sphenix_software/install
0007 
0008 source /opt/sphenix/core/bin/sphenix_setup.sh -n
0009 source /opt/sphenix/core/bin/setup_local.sh $MYINSTALL
0010 
0011 #printenv
0012 
0013 echo "Done with setup"
0014 
0015 runnumber=$1
0016 segment=$2
0017 dir=$3
0018 
0019 
0020 if [ ! -d "/sphenix/tg/tg01/coldqcd/dillfitz/singletrackan/$dir" ]
0021 then
0022     mkdir -p /sphenix/tg/tg01/coldqcd/dillfitz/singletrackan/$dir
0023 fi
0024 
0025 
0026 file=/sphenix/lustre01/sphnxpro/production/run3pp/physics/ana573_2026p003_v001/DST_TRKR_TRACKS/run_00079500_00079600/DST_TRKR_TRACKS_run3pp_ana573_2026p003_v001-000${runnumber}-${segment}.root
0027 lumifile=/sphenix/tg/tg01/coldqcd/dillfitz/singletrackan/lumi/Oct13/DST_STREAMING_LUMIINFO-000${runnumber}-${segment}.root
0028 
0029 root -b -q "Fun4All_SingleTrackAN.C(-1,\"${file}\", \"${lumifile}\", \"/sphenix/tg/tg01/coldqcd/dillfitz/singletrackan/${dir}/\")"
0030