| 683 |
|
|
| 684 |
|
|
| 685 |
//______________________________________________________________________________ |
//______________________________________________________________________________ |
| 686 |
|
Int_t TMultiGraph::IsInside(Double_t x, Double_t y) const |
| 687 |
|
{ |
| 688 |
|
// Return 1 if the point (x,y) is inside one of the graphs 0 otherwise. |
| 689 |
|
|
| 690 |
|
Int_t in = 0; |
| 691 |
|
if (!fGraphs) return in; |
| 692 |
|
TGraph *g; |
| 693 |
|
TIter next(fGraphs); |
| 694 |
|
while ((g = (TGraph*) next())) { |
| 695 |
|
in = g->IsInside(x, y); |
| 696 |
|
if (in) return in; |
| 697 |
|
} |
| 698 |
|
return in; |
| 699 |
|
} |
| 700 |
|
|
| 701 |
|
|
| 702 |
|
//______________________________________________________________________________ |
| 703 |
TH1F *TMultiGraph::GetHistogram() const |
TH1F *TMultiGraph::GetHistogram() const |
| 704 |
{ |
{ |
| 705 |
// Returns a pointer to the histogram used to draw the axis |
// Returns a pointer to the histogram used to draw the axis |