Re: [ROOT] TH3 and Projections

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Mar 18 2004 - 14:15:14 MET


Hi Thomas,

Thanks for submitting this simple suggestion.
Now in CVS

Rene Brun

Thomas Bretz wrote:
> 
> Hi,
> 
> you have a really nice feature implemented in TH3::ProjectionZ:
>    TH1D *h1=0;
>    //check if histogram with identical name exist
>    TObject *h1obj = gROOT->FindObject(pname);
>    if (h1obj && h1obj->InheritsFrom("TH1D")) {
>       h1 = (TH1D*)h1obj;
>       h1->Reset();
>    }
> 
> Can you do the same in TH3::Project3D please?
> 
> Thanks,
> Thomas.



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET