zaldy wrote: >Somehow I also noticed that in filling the Branch: > > const int kMax = 384; > float arr[kMax]; > > tree->Branch("arr", arr, "arr[kMax]/F"); > >kMax should be declared as "const type" to avoid segmention problem. > > > Zaldy, this is still an illegal branch declaration. See previous message of Philippe Canal http://root.cern.ch/root/roottalk/roottalk03/2870.html and read the users' guide pages 213-214 (version 3.05). By the way, when Philippe suggested using a class in your tree, what you proposed in http://root.cern.ch/root/roottalk/roottalk03/2872.html is not what he meant. See users' guide pages 202 onwards. Keep trying John -- ganil logo <http://www.ganil.fr> John D. Frankland <mailto:frankland@ganil.fr> Beam Coordinator GANIL B.P. 55027 14076 CAEN Cedex 05 *tel:* +33 (0)231454628 *fax:* +33 (0)231454665
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET