Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:11:09

0001 #!/usr/bin/bash
0002 
0003 export TargetDir="$PWD"/combine_out
0004 
0005 if [ ! -d ${TargetDir} ]; then
0006   mkdir ${TargetDir}
0007 fi
0008 
0009 while read dir; do # read each line of dirs.txt as dir
0010   rm $TargetDir/out_"$dir".root
0011   hadd -k $TargetDir/out_"$dir".root condorout/OutDir*/CALOHIST_*"$dir"*.root
0012 done < runList.txt