RE: [ROOT] TDirectory::Get()

From: Sara VECCHIO (sara.vecchio@pi.infn.it)
Date: Thu Aug 14 2003 - 08:37:12 MEST


On Wed, 13 Aug 2003, Philippe Canal wrote:

> Hi,
> 
> Maybe this is just a typo in your email but instead of:
>     ptr=(*THF1)gDirectory->Get(histo);
> you should have
>     ptr=(TH1F*)gDirectory->Get(histo);
> i.e. the class name was not spelled corrected and the star '*' should come
> in second position.
> 
> Cheers,
> Philippe.

well, the spelling was only an error in the email, but the star was the 
real problem! thanks...
> 

Sara



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET