This is the driver of the hsimpleProxy example It provides the infrastructure to run that code on an ntuple To be run from the tutorials directory
void hsimpleProxyDriver()
{
std::cerr << "Input file not found.\n";
return ;
}
file->GetObject(
"ntuple",ntuple);
std::string
s1(__FILE__);
ntuple->
Draw(dir+
"/hsimpleProxy.C+");
}
R__EXTERN TSystem * gSystem
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
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.
virtual const char * UnixPathName(const char *unixpathname)
Convert from a Unix pathname to a local pathname.
virtual const char * WorkingDirectory()
Return working directory.
A TTree represents a columnar dataset.
virtual void Draw(Option_t *opt)
Default Draw method for all objects.
- Author
- Rene Brun
Definition in file hsimpleProxyDriver.C.