Hello Philippe,
I just realized what the problem was. I am sorry about the noise. We close this here, there is no such funny behaviour I was reporting.
cheers,
John Idarraga
On Sat, 2009-08-29 at 15:02 -0500, Philippe Canal wrote:
> Hi John,
>
> I can not reproduce this problem (i.e it is likely to be cause by some
> of the code your are
> not describing here). Could you send a complete running example
> showing the problem?
>
> Cheers,
> Philippe.
>
> John Idarraga wrote:
> > Hello ROOT,
> >
> > I experienced the following strange behaviour. I am putting in a Branch
> > the variable 'dE_p2' which holds an structure as specified in the
> > following call to TTree::Branch(....)
> >
> > tree->Branch("p2", &dE_p2.px, "px:py:pz:E:M:PT:Eta:Phi");
> >
> > Now, all those variables are Float_t. This works alright, no problem.
> > But, if I do the following
> >
> > tree->Branch("p2", &dE_p2.px, "px/F:py:pz:E:M:PT:Eta:Phi");
> >
> > The value of py and pz gets overridden by the value of px on an
> > entry-per-entry basis. As far as I understand from the documentation,
> > when the type is not specified, the default is 'F'. But if I do specify
> > it, it should still work, right ? Something I didn't understand ? Bug
> > already fixed or understood may be ?
> >
> > I am using ROOT 5.22/00 on linuxx8664gcc
> >
> > thanks a lot,
> >
> > John Idarraga
> >
> >
> >
>
Received on Thu Sep 03 2009 - 23:44:19 CEST
This archive was generated by hypermail 2.2.0 : Thu Sep 03 2009 - 23:50:01 CEST