I don’t know what I am doing wrong, but I can’t seem to get any sense out of the code generated from MakeClass.
I’m running on Windows Vista, with ROOT 5.18/00. Here is what happens:
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 5.18/00 16 January 2008 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************
ROOT 5.18/00 (trunk@21744, Jan 17 2008, 15:00:00 on win32)
CINT/ROOT C/C++ Interpreter version 5.16.29, Jan 08, 2008
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] TChain *c = new TChain("EGAMMA");
root [1] c->Add("R:/root/eg05_Hgg_IVBfusion_m140_1.root");
root [2] c->MakeClass("EGAMMA");
Warning in <TClass::TClass>: no dictionary for class IntVec is available
Info in <TTreePlayer::MakeClass>: Files: EGAMMA.h and EGAMMA.C generated from TTree: EGAMMA
root [3] .L EGAMMA.C
root [4] EGAMMA t
root [5] t.Loop()
Error: C++ exception caught F:\EGAMMA.C(40)
(Int_t)0
*** Interpreter error recovered ***
root [6]
Line 40 in the generated EGAMMA.C: “nb = fChain->GetEntry(jentry); nbytes += nb;”
Any suggestions most welcome.