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::cout <<
gSystem->WorkingDirectory() << std::endl;
if (!file){
std::cerr << "Input file not found.\n";
}
std::string
s1(__FILE__);
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.
- Author
- Rene Brun
Definition in file hsimpleProxyDriver.C.