5 echo "Assembling library for files from $where into $2"
7 list=temp${BatchID}_FileList.txt
9 #Produce the list of files to combine
10 ls -1 $where/root/*.root > $list
12 root -b -q "AssembleSingleFile.C+g(\"$list\", \"\",\"lib_$BatchID.root\")"
14 cp lib_$BatchID.root $where
16 #clean up temporaryfiles