9 commandstring=
"mkdir " + destdir
10 os.system(commandstring)
14 lf =
open(
"tmplist.dat",
"r") 16 lines = lf.readlines() 22 oldtotal = destdir +
"/old_hadd_running_total.root" 23 currenttotal = destdir +
"/hadd_running_total.root" 24 mystring =
"hadd " + currenttotal
29 mystring = mystring +
" " + line.split(
"\n")[0]
33 if counter == 100
or totcounter == len(lines) :
34 print counter, totcounter
41 mystring = mystring +
" " + oldtotal
45 mystring =
"hadd " + currenttotal
46 commandstring =
"mv " + currenttotal +
" " + oldtotal
47 os.system( commandstring)
52 totcounter = totcounter+1
procfile open("FD_BRL_v0.txt")