Re: Projection

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sun Mar 28 1999 - 00:28:54 MET


Yes, this is possible. Root has more functionality than PAW in this area.
Look at functions:
        TProfile    *ProfileX(const char *name="_pfx", Int_t firstybin=0,
Int_t lastybin=9999, Option_t *option="");
        TProfile    *ProfileY(const char *name="_pfy", Int_t firstxbin=0,
Int_t lastxbin=9999, Option_t *option="");
            TH1D    *ProjectionX(const char *name="_px", Int_t
firstybin=0, Int_t lastybin=9999, Option_t *option="");
            TH1D    *ProjectionY(const char *name="_py", Int_t
firstxbin=0, Int_t lastxbin=9999, Option_t *option="");
            TH1D    *ProjectionZ(const char *name="_pz", Int_t
firstxbin=0, Int_t lastxbin=9999, Int_t firstybin=0, Int_t lastybin=9999,
Option_t *option="");


Rene Brun


On Sat, 27 Mar 1999, Alexey Pavlinov wrote:

>     Hi Rooters,
> 
>   I found in the roottalk the some discussion about projection
> of a 2-D histogram into a Profile histograms or a 1-D histogram.
> (20 may 1997) as in PAW or HBOOK.
> 
>   Is it possible in ROOT now or no?
>   
>   Regards,
>   Aleksei.
> 



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:30 MET