Re: [ROOT] How to project 2D histogram to a curve

From: Exaos Lee (schlie@iris.ciae.ac.cn)
Date: Tue Aug 19 2003 - 16:31:21 MEST


P.S. This curve is a TGraph object. Maybe this question can be explained 
as: If I have a 2D histogram and a TGraph object (the curve), how to 
project this histogram to thie TGraph object?

Exaos Lee ??:
> Dear rooter,
> As the title, how to project a 2D histogram to a curve?
> E.g., I have the attached curve and a 2D histogram. I want to project 
> the data to this curve to get a TH1F histogram. Of course, the data 
> scattering on the 2D histogram are close to this curve.
> I didn't find any examples from the $ROOTSYS/test and 
> $ROOTSYS/tutorials. I hope someone can help me.
> 
> Best regards.
> 
> Exaos



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