File indexing completed on 2025-08-06 08:16:41
0001
0002 start=${1?Error: no start file \# given}
0003 stop=${2?Error: no stop file \# given}
0004 bX=${3?Error: no beamX \# given}
0005 source /opt/sphenix/core/bin/sphenix_setup.sh -n new
0006 export MYINSTALL=/sphenix/user/shulga/tpc2019_install
0007 source /opt/sphenix/core/bin/setup_local.sh $MYINSTALL
0008
0009 for (( f=$start; f<$stop; f++ ));
0010 do
0011
0012
0013
0014 let Xstart=f*100 Xend=(f+1)*100;
0015 A=$( printf '%05d' $f )
0016 B=$( printf '%06d' $Xend )
0017
0018
0019 fname="DST_TRKR_HIT_sHijing_0_20fm-0000000006-"$A".root" ;
0020 foutputname="./Files/hist_G4Hits_sHijing_0-12fm_bX"$bX"_"$A"_"$B".root" ;
0021 echo $fname ;
0022 echo $foutputname ;
0023 root -l -b -q ./macros/Fun4All_FillDCMap.C\(100,$Xstart,$bX,\"$fname\",\"$foutputname\"\)
0024 done
0025
0026 echo all done