Hsimple Proxy Driver


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

Author: Rene Brun
This notebook tutorial was automatically generated with ROOTBOOK-izer (Beta) from the macro found in the ROOT repository on Tuesday, January 17, 2017 at 02:43 PM.


In [1]:
std::cout << gSystem->WorkingDirectory() << std::endl;
TFile *file = TFile::Open("hsimple.root");
if (!file){
   std::cerr << "Input file not found.\n";
   return ;
}
TTree *ntuple = nullptr;
file->GetObject("ntuple",ntuple);
TString dir = gSystem->DirName(__FILE__);
ntuple->Draw(dir+"/hsimpleProxy.C+");


/eos/user/e/ebocchi/Tests_on_SWAN/batch_testing/converted_notebooks/tree
Info in <TTreePlayer::DrawScript>: Will process tree/chain using generatedSel.h+
Info in <TUnixSystem::ACLiC>: creating shared library /eos/user/e/ebocchi/Tests_on_SWAN/batch_testing/converted_notebooks/tree/./generatedSel_h.so
Info in <TCanvas::MakeDefCanvas>:  created default TCanvas with name c1