File indexing completed on 2025-08-05 08:10:58
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 declare -a inFiles
0012 declare -a embFiles
0013 declare -a outFiles
0014
0015
0016 inFiles[0]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00806.root\""
0017 inFiles[1]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00817.root\""
0018 inFiles[2]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00818.root\""
0019 inFiles[3]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00835.root\""
0020 inFiles[4]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00848.root\""
0021 inFiles[5]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00869.root\""
0022 inFiles[6]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00882.root\""
0023 inFiles[7]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00888.root\""
0024 inFiles[8]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00893.root\""
0025 inFiles[9]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00895.root\""
0026 inFiles[10]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00906.root\""
0027 inFiles[11]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00907.root\""
0028 inFiles[12]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00937.root\""
0029 inFiles[13]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00949.root\""
0030 inFiles[14]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00951.root\""
0031 inFiles[15]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00952.root\""
0032 inFiles[16]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00973.root\""
0033
0034
0035 embFiles[0]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00806.root\""
0036 embFiles[1]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00817.root\""
0037 embFiles[2]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00818.root\""
0038 embFiles[3]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00835.root\""
0039 embFiles[4]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00848.root\""
0040 embFiles[5]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00869.root\""
0041 embFiles[6]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00882.root\""
0042 embFiles[7]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00888.root\""
0043 embFiles[8]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00893.root\""
0044 embFiles[9]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00895.root\""
0045 embFiles[10]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00906.root\""
0046 embFiles[11]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00907.root\""
0047 embFiles[12]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00937.root\""
0048 embFiles[13]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00949.root\""
0049 embFiles[14]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00951.root\""
0050 embFiles[15]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00952.root\""
0051 embFiles[16]="\"/sphenix/lustre01/sphnxpro/mdc2/shijing_hepmc/fm_0_20/g4hits/G4Hits_sHijing_0_20fm-0000000040-00973.root\""
0052
0053
0054 outFiles[0]="\"sPhenixG4_hijing50khz_embedOnly00806.root\""
0055 outFiles[1]="\"sPhenixG4_hijing50khz_embedOnly00817.root\""
0056 outFiles[2]="\"sPhenixG4_hijing50khz_embedOnly00818.root\""
0057 outFiles[3]="\"sPhenixG4_hijing50khz_embedOnly00835.root\""
0058 outFiles[4]="\"sPhenixG4_hijing50khz_embedOnly00848.root\""
0059 outFiles[5]="\"sPhenixG4_hijing50khz_embedOnly00869.root\""
0060 outFiles[6]="\"sPhenixG4_hijing50khz_embedOnly00882.root\""
0061 outFiles[7]="\"sPhenixG4_hijing50khz_embedOnly00888.root\""
0062 outFiles[8]="\"sPhenixG4_hijing50khz_embedOnly00893.root\""
0063 outFiles[9]="\"sPhenixG4_hijing50khz_embedOnly00895.root\""
0064 outFiles[10]="\"sPhenixG4_hijing50khz_embedOnly00906.root\""
0065 outFiles[11]="\"sPhenixG4_hijing50khz_embedOnly00907.root\""
0066 outFiles[12]="\"sPhenixG4_hijing50khz_embedOnly00937.root\""
0067 outFiles[13]="\"sPhenixG4_hijing50khz_embedOnly00949.root\""
0068 outFiles[14]="\"sPhenixG4_hijing50khz_embedOnly00951.root\""
0069 outFiles[15]="\"sPhenixG4_hijing50khz_embedOnly00952.root\""
0070 outFiles[16]="\"sPhenixG4_hijing50khz_embedOnly00973.root\""
0071
0072
0073 nEvt=50
0074 nSkip=0
0075
0076
0077 (( nFile=0 ))
0078 for input in ${inFiles[@]}; do
0079 root -b -q "Fun4All_G4_sPHENIX_ForTrackCutStudy.C($nEvt, $input, ${outFiles[$nFile]}, ${embFiles[$nFile]}, $nSkip)"
0080 (( nFile++ ))
0081 done
0082
0083
0084 unset inFiles
0085 unset embFiles
0086 unset outFiles
0087
0088