Re: Fw: projecting a histogram

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jul 29 1999 - 17:35:35 MEST


Hi Valeri,
Your request could be implemented. To be complete, one has to consider
all possible combinations, including 1-d projections.

I did not put much effort in this area, as I believe that is is more
general
and powerful to define a small TNtuple object with x,y,z from which you
can
already make all kinds of projections 1-d, 2-d and 3-d including
selections.

Rene Brun


Valeri Fine (Faine) wrote:
> 
> ----- Original Message -----
> From: Selemon Bekele <bekele@pacific.mps.ohio-state.edu>
> To: STAR software <starsofi-l@bnl.gov>
> Sent: 29 èþëÿ 1999 ã. 10:38
> Subject: projecting a histogram
> 
> >
> >
> > I have a three dimensional histogram which I want to project to a certain
> > axis. Is there a way how to do it in root4star? I cheked the root class
> > library and found in a class which relates to one dimensional histograms a
> > method which projects only to the third axis which it calls Z. It would be
> > nice if two more methods could be added  so that one can project also onto
> > the other two axes separately. For the time being, a way around this problem
> > is to fill three histograms where each component is passed as a third
> > argument:
> >
> >                       Fill(x,y,z),Fill(z,x,y),Fill(y,z,x)
> >
> > and do the projection.
> > *******************************************
> >
> >  Selemon Bekele
> >  e-mail bekele@pacific.mps.ohio-state.edu
> >  Tel. (614)294-4863 (home)
> >
> > *******************************************
> >
> >
> >
> >



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