Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2026-07-16 08:11:22

0001 #!/bin/bash
0002 
0003 source /opt/sphenix/core/bin/sphenix_setup.sh -n ana.543 
0004 
0005 export USER="$(id -u -n)"
0006 export LOGNAME=${USER}
0007 export HOME=/sphenix/u/${LOGNAME}
0008 
0009 # uncomment for local development
0010 #export MYINSTALL=${HOME}/install
0011 #export LD_LIBRARY_PATH=$MYINSTALL/lib:$LD_LIBRARY_PATH
0012 #export ROOT_INCLUDE_PATH=$MYINSTALL/include:$ROOT_INCLUDE_PATH
0013 #export PATH="$HOME/.local/bin:$PATH"
0014 #
0015 # source /opt/sphenix/core/bin/setup_local.sh $MYINSTALL
0016 
0017 useScratch=false
0018 
0019 #if ${useScratch}=true; then
0020 #  this_script=$BASH_SOURCE
0021 #  this_script=`readlink -f $this_script`
0022 #  this_dir=`dirname $this_script`
0023 #  echo rsyncing from $this_dir
0024 #  echo running: $this_script $*
0025 #  
0026 #  if [[ ! -z "$_CONDOR_SCRATCH_DIR" && -d $_CONDOR_SCRATCH_DIR ]]
0027 #  then
0028 #    cd $_CONDOR_SCRATCH_DIR
0029 #    rsync -av $this_dir/* .
0030 #  else
0031 #    echo condor scratch NOT set
0032 #    exit -1
0033 #  fi
0034 #fi
0035 
0036 nEvents=$1
0037 inDst=$2
0038 outDir=$3
0039 nSkip=$4
0040 
0041 #if ${useScratch}=true; then
0042 #  if [[ "${inDst}" == *.root ]]; then
0043 #    getinputfiles.pl $inDst
0044 #  elif [[ "${inDst}" == *.list ]]; then
0045 #    getinputfiles.pl --filelist $inDst
0046 #  fi
0047 #fi
0048 
0049 # print the environment - needed for debugging
0050 #printenv
0051 
0052 echo running: runHFreco.sh $*
0053 root.exe -q -b /sphenix/user/rosstom/TrackingAnalysis/Physics_Val_TF/data/macro/Fun4All_HF.C\(${nEvents},\"${inDst}\",\"${outDir}\",${nSkip}\)
0054 echo Script done