Re: retrieve points from a graphical cut

From: Rene Brun <brun_at_pcroot.cern.ch>
Date: Sat, 20 Aug 2005 08:32:35 +0200 (MEST)


Hi Ricardo,

A TCutG is a TGraph. Use the TGraph Get functions to access the points in it.

Rene Brun

On Fri, 19 Aug
2005, Ricardo Yanez wrote:

> Hi,
> I need to locate two points to set the fitting limits to a gamma peak.
> How can I locate two points graphically?
>
> My solution thus far has been to make a graphical cut,
>
> TCutG *gcut = (TCutG*)gPad->WaitPrimitive("CUTG","CutG");
>
> But, how do I retrieve the points I click?
>
> Thanks,
> Ricardo
>
>
Received on Sat Aug 20 2005 - 08:33:12 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:11 MET