Do variable expansion in TFile::Open so that you can include the protocol in the variable (export H1="http://root.cern.ch/files/h1" ; TFile::Open("$H1/dstarmb.root");
Changed paths: