Read samples from SAMADhi, and improve getAFile
First part of #15 (reading file lists from SAMADhi) and #32 (closed) (more efficient and robust getAFile
, which is used to get a proto-TTree, e.g. in postProcess - actually the largest part of this PR).
Tested:
- resolve files for a SAMADhi sample by ID and name
- also verified that writing/loading file list cache files (still) works
- check that
getAFile
works as expected (if specified or cache file, use that, otherwise try SAMADhi or DAS)