Hi rooters, I have a class Event containing a float Matrix[20][50]; in the main program I fill a root tree h1 with an object Event* event. When I type ina Root session h1->Draw("Matrix[i][j]") the plots are the ones I expect, but if I try to read h1 with the following macro Event* event=0; h1->SetBranchAddress("event",&event); for(int i=0;i.....) { h1->GetEntry(i); ..... ..... event->Clear(); } a segmentation violation occurs. That does not happen with a small size matrix (it seems to work well up to Matrix[20][20]). Is there something wrong in what I did ? Is there some size limit for arrays one can store in a Tree? Cheers Paolo
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET