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+");
}
return
Invalidate stored TCling state for declarations included in transaction âTâ.
R__EXTERN TSystem * gSystem
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.
void Draw(Option_t *opt) override
Default Draw method for all objects.
- Author
- Rene Brun
Definition in file hsimpleProxyDriver.C.