Re: Fw: projecting a histogram

From: Michael A. Lisa (lisa@pacific.mps.ohio-state.edu)
Date: Fri Jul 30 1999 - 17:37:16 MEST


Hello Rene,
	Great!  That's exactly what we were looking for.  We look
forward to using it in a future release of root.
Thanks a lot,
Mike

+-------------------------------------------------------------------+
| Mike Lisa              |  email: lisa@mps.ohio-state.edu          |
| Department of Physics  |                                          |
| 2156 Smith Laboratory  |  Van de Graaff <--- usually here         |
| Ohio State University  |  ph: (614) 292-4775 / fax: 292-4833      |
| 174 West 18th Avenue   |                                          |
| Columbus, OH 43210     |  http://vdgus1.mps.ohio-state.edu/~lisa/ |
+-------------------------------------------------------------------+

On Fri, 30 Jul 1999, Rene Brun wrote:

> Hi Michael, Valeri, Selemon,
> 
> As I quickly realized that it might take more time to process the mails
> than to implement the code, I have implemented this function
> in my development version. Comments are welcome.
> 
> Rene Brun
> 
> TH1 *TH1::Project3D(Option_t *option)
> {
>    // Project a 3-d histogram into 1 or 2-d histograms depending on the
>    // option parameter
>    // option may contain a combination of the characters x,y,z,e
>    // option = "x" return the x projection into a TH1D histogram
>    // option = "y" return the y projection into a TH1D histogram
>    // option = "z" return the z projection into a TH1D histogram
>    // option = "xy" return the x versus y projection into a TH2D
> histogram
>    // option = "yx" return the y versus x projection into a TH2D
> histogram
>    // option = "xz" return the x versus z projection into a TH2D
> histogram
>    // option = "zx" return the z versus x projection into a TH2D
> histogram
>    // option = "yz" return the y versus z projection into a TH2D
> histogram
>    // option = "zy" return the z versus y projection into a TH2D
> histogram
>    //
>    // if option contains the string "e", errors are computed
>    //
>    // The projection is made for the selected bins only
> 



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