File indexing completed on 2025-08-06 08:16:16
0001
0002
0003
0004 source /cvmfs/sphenix.sdcc.bnl.gov/gcc-8.3/opt/sphenix/core/bin/sphenix_setup.sh -n
0005
0006
0007
0008 echo "input process num: " $1
0009 echo "nEvents: " $2
0010 runno=$1
0011 nevents=$2
0012 strout=$3
0013
0014 echo "In directory: "
0015 pwd
0016
0017 echo "Run number: " $runno
0018 echo "events " $nevents
0019 echo "outputFile: " $strout
0020 echo "Executing with build contained in " $OFFLINE_MAIN
0021 echo "Executing on date and time $(date +"%d-%m-%Y-%T")"
0022
0023
0024
0025 strembed0="DST_TRUTH_G4HIT_pythia8_Charm_3MHz-0000000040-0"
0026 strembed1="DST_TRKR_G4HIT_pythia8_Charm_3MHz-0000000040-0"
0027 strembed2="DST_CALO_G4HIT_pythia8_Charm_3MHz-0000000040-0"
0028
0029 echo $strembed0
0030 echo $strembed1
0031 echo $strembed2
0032
0033
0034 cd macros/detectors/sPHENIX
0035
0036 echo "pwd is: "
0037 pwd
0038
0039 root -b -q 'Fun4All_G4_sPHENIX.C('$nevents', '$runno', "'$strembed0'" , "'$strembed1'", "'$strembed2'", "'$strout'" )'
0040
0041 mv $strout*.root ../../../../../../../../MinBias3MHzStreamingppOutput/
0042 cd ../../../
0043 mv logfiles/$strout.out ../../../../../MinBias3MHzStreamingppOutput/