Dear John,
Thank you for your comments, I now have a running program. It is very
explicit in the Manual.
However, I would still pursue Philippe's suggestion.
Zaldy
> 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
>
>
--
--------------------------------------------------------
Zaldy A. Nawang
PS Users Room 2
Yon Gokan,
E362, Neutrino Group,
IPNS, KEK,
Japan
e-mail: zaldy@neutrino.kek.jp
Tel. No. : (81) 029864 - 5387
--------------------------------------------------------
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET