| 77 |
fMinimum = -1111; |
fMinimum = -1111; |
| 78 |
} |
} |
| 79 |
|
|
| 80 |
|
|
| 81 |
//______________________________________________________________________________ |
//______________________________________________________________________________ |
| 82 |
TMultiGraph::TMultiGraph(const TMultiGraph& mg) : |
TMultiGraph::TMultiGraph(const TMultiGraph& mg) : |
| 83 |
TNamed (mg), |
TNamed (mg), |
| 90 |
//copy constructor |
//copy constructor |
| 91 |
} |
} |
| 92 |
|
|
| 93 |
|
|
| 94 |
//______________________________________________________________________________ |
//______________________________________________________________________________ |
| 95 |
TMultiGraph& TMultiGraph::operator=(const TMultiGraph& mg) |
TMultiGraph& TMultiGraph::operator=(const TMultiGraph& mg) |
| 96 |
{ |
{ |
| 106 |
return *this; |
return *this; |
| 107 |
} |
} |
| 108 |
|
|
| 109 |
|
|
| 110 |
//______________________________________________________________________________ |
//______________________________________________________________________________ |
| 111 |
TMultiGraph::~TMultiGraph() |
TMultiGraph::~TMultiGraph() |
| 112 |
{ |
{ |
| 1050 |
uxmax = gPad->PadtoX(rwxmax); |
uxmax = gPad->PadtoX(rwxmax); |
| 1051 |
} else { |
} else { |
| 1052 |
while ((g = (TGraph*) next())) { |
while ((g = (TGraph*) next())) { |
| 1053 |
g->ComputeRange(rwxmin, rwymin, rwxmax, rwymax); |
Double_t rx1,ry1,rx2,ry2; |
| 1054 |
|
g->ComputeRange(rx1, ry1, rx2, ry2); |
| 1055 |
|
if (rx1 < rwxmin) rwxmin = rx1; |
| 1056 |
|
if (ry1 < rwymin) rwymin = ry1; |
| 1057 |
|
if (rx2 > rwxmax) rwxmax = rx2; |
| 1058 |
|
if (ry2 > rwymax) rwymax = ry2; |
| 1059 |
if (g->GetN() > npt) npt = g->GetN(); |
if (g->GetN() > npt) npt = g->GetN(); |
| 1060 |
} |
} |
| 1061 |
if (rwxmin == rwxmax) rwxmax += 1.; |
if (rwxmin == rwxmax) rwxmax += 1.; |