[root] / trunk / hist / hist / src / TMultiGraph.cxx Repository:
ViewVC logotype

Diff of /trunk/hist/hist/src/TMultiGraph.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 35498, Mon Sep 20 22:17:32 2010 UTC revision 36493, Wed Nov 3 13:01:36 2010 UTC
# Line 683  Line 683 
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

Legend:
Removed from v.35498  
changed lines
  Added in v.36493

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9