Dear ROOT users
I try to run sample macro and receive for me very strange error
message from CINT.It points to the line where there is nothing.
root [3] .x buckleak1.C
Error: Unexpected EOF G__fgetstream_new():2 FILE:buckleak1.C LINE:45
Advice: You may need to use +P or -p option
Error: Unexpected EOF G__fgetspace():2 FILE:buckleak1.C LINE:45
Advice: You may need to use +P or -p option
Warning:
tree->SetBranchAddress("Enep0",enep0;tree->SetBranchAddress("Enep1",enep1);tree->SetBranchAddress("Enep2",enep2);tree->SetBranchAddress("Trig",&trig);tree->SetBranchAddress("Sizen0",&sizen0);tree->SetBranchAddress("Sizen1",&sizen1);tree->SetBranchAddress("Sizen2",&sizen2);tree->SetBranchAddress("Sizep0",&sizep0);tree->SetBranchAddress("Sizep1",&sizep1);tree->SetBranchAddress("Sizep2",&sizep2);numberOfEvents=(Int_t)tree->GetEntries();numberOfEvents=1000;for(Int_ti=0;i<numberOfEvents;i++){totalEnergy=0.0;tree->GetEntry(i);for(Int_tj=0;j<arrayLenght;j++)totalEnergy+=enen0[j];histo.Fill(totalEnergy);}histo.Draw();}ÿ
Missing ';' FILE:buckleak1.C LINE:45
*** Interpreter error recovered ***
Thanks
Margar
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET