12void hsimpleProxyDriver()
14 std::cout <<
gSystem->WorkingDirectory() << std::endl;
17 std::cerr <<
"Input file not found.\n";
20 TTree *ntuple =
nullptr;
22 std::string
s1(__FILE__);
24 ntuple->Draw(dir+
"/hsimpleProxy.C+");
void GetObject(const char *namecycle, T *&ptr)
Get an object with proper type checking.
A file, usually with extension .root, that stores data and code in the form of serialized objects in ...
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
A TTree represents a columnar dataset.