If the filenames (or pathnames in this case) are sequential, this method in the ROOT forums would work.
while (i1<50) {
sprintf(filename1,"pathnameTemplete_%d.txt",i1);
f1 = new TFile(filename1,"READONLY");
while (i1<50) {
sprintf(filename1,"pathnameTemplete_%d.txt",i1);
f1 = new TFile(filename1,"READONLY");
and so on.
No comments:
Post a Comment