Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:10:58

0001 #!/bin/bash
0002 # -----------------------------------------------------------------------------
0003 # 'RunSingleTrackCutStudyWithPileupG4.sh'
0004 # Derek Anderson
0005 # 12.03.2022
0006 #
0007 # Short script to run the F4A macro
0008 # (with pileup) for the Track Cut
0009 # Study. Called by 'RunTrackCutStudyG4.job'
0010 #
0011 # NOTE: make sure that 'DisplayOn.C'
0012 # and 'G4setup_sPHENIX.C' are in
0013 # the same directory as you're
0014 # running this in!
0015 # -----------------------------------------------------------------------------
0016 
0017 # parameters
0018 build="ana.344"
0019 nSkip=0
0020 
0021 # set up environment
0022 export USER="$(id -u -n)"
0023 export LOGNAME=${USER}
0024 export HOME=/sphenix/u/${LOGNAME}
0025 source /opt/sphenix/core/bin/sphenix_setup.sh -n $build
0026 printenv
0027 
0028 # run macro
0029 root -b -q "Fun4All_G4_sPHENIX_ForTrackCutStudy_EmbedScanOff.C($1, \"$2\", \"$4\", \"$3\", $nSkip)"
0030 
0031 # end -------------------------------------------------------------------------