Hello,
I was wondering if it was possible to make TFile search the dynamic path when opening a file. In other words, if I do
TFile t(“file.root”)
root would look for file.root anywhere in the dynamic path.
Thanks
Hello,
I was wondering if it was possible to make TFile search the dynamic path when opening a file. In other words, if I do
TFile t(“file.root”)
root would look for file.root anywhere in the dynamic path.
Thanks
Hi,
Not directly but simple enough:TFile::Open(gSystem->Which(gSystem->GetDynamicPath(),"file.root"));
Cheers,
Philippe.
Thank you very much!