Dear Rene
I am facing a problem of illegal pointer.
In the code there are some lines
int numbers;
TFile *f = new TFile("Example.root");
TTree *outputTree = (TTree*) f->Get("outputTree");
numbers = outputTree->GetEntries();
cout << numbers << " numbers in file " << endl;
Error: illegal pointer to class object outputTree 0x0 54 FILE:Example.C LINE:107
I have understood the problem. But does not know how to correct this. Any suggestion please
regards
Irfan
Received on Thu Apr 20 2006 - 20:51:22 MEST
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET