Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:11:54

0001 #!/bin/bash
0002 # -----------------------------------------------------------------------------
0003 # 'RunNewTruthMatcherOnCondor.sh'
0004 # Derek Anderson
0005 # 08.10.2023
0006 #
0007 # Short script to run F4A driver macro
0008 # to test new truth-track matcher. Called
0009 # by 'RunNewTruthMatcherOnCondor.job'
0010 #
0011 # NOTE: make sure that 'G4setup_sPHENIX.C'
0012 # is in the same directory
0013 # -----------------------------------------------------------------------------
0014 
0015 # parameters
0016 nEvt=500
0017 nSkip=0
0018 
0019 # set up environment
0020 export USER="$(id -u -n)"
0021 export LOGNAME=${USER}
0022 export HOME=/sphenix/u/${LOGNAME}
0023 source /opt/sphenix/core/bin/sphenix_setup.sh
0024 export MYINSTALL=/sphenix/user/danderson/install
0025 source /opt/sphenix/core/bin/setup_local.sh $MYINSTALL
0026 printenv
0027 
0028 # run macro
0029 root -b -q "Fun4All_RunNewTruthMatcher.C($nEvt, $nSkip, \"$1\")"
0030 
0031 # end -------------------------------------------------------------------------