12 void hsimpleProxyDriver()
14 std::cout << gSystem->WorkingDirectory() << std::endl;
15 TFile *file = TFile::Open(
"hsimple.root");
17 std::cerr <<
"Input file not found.\n";
20 TTree *ntuple =
nullptr;
21 file->GetObject(
"ntuple",ntuple);
22 std::string s1(__FILE__);
23 TString dir = gSystem->UnixPathName(s1.substr(0, s1.find_last_of(
"\\/")).c_str());
24 ntuple->Draw(dir+
"/hsimpleProxy.C+");